enum SmartSizeMode (v202508)

  • InventoryService has a dependency on AdUnit.

  • SmartSizeMode represents different modes for ad sizes.

  • There are four types of SmartSizeMode: UNKNOWN, NONE (Fixed size), SMART_BANNER (Fixed height, range width), and DYNAMIC_SIZE (Range height and width).

Represents smart size modes.


Namespace
https://www.google.com/apis/ads/publisher/v202508
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.