enum SmartSizeMode (v202411)

  • SmartSizeMode within InventoryService defines how ad sizes are handled, primarily for responsive ads.

  • It offers four options: UNKNOWN, NONE (fixed size), SMART_BANNER (flexible width), and DYNAMIC_SIZE (flexible width and height).

  • Each mode dictates whether the width and height of an ad unit are fixed or can adjust to available space.

  • This setting is crucial for optimizing ad delivery in various display environments, especially on mobile devices.

Represents smart size modes.


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