enum SmartSizeMode (v202505)

  • InventoryService has a dependency on AdUnit.

  • SmartSizeMode represents different modes for ad sizes.

  • There are four SmartSizeMode enumeration values: UNKNOWN, NONE, SMART_BANNER, and DYNAMIC_SIZE.

  • The default SmartSizeMode is NONE, which represents a fixed size mode.

  • SMART_BANNER mode uses a fixed height and a range for width, while DYNAMIC_SIZE uses ranges for both height and width.

Represents smart size modes.


Namespace
https://www.google.com/apis/ads/publisher/v202505
Enumeration Description
UNKNOWN The value returned if the actual value is not exposed by the requested API version.
NONE Fixed size mode (default).
SMART_BANNER The height is fixed for the request, the width is a range.
DYNAMIC_SIZE Height and width are ranges.