enum CreativeSizeType (v202411)

  • CreativeSizeType describes the different ways to define the size of a creative, including dimensions, aspect ratios, and special cases like interstitials and native ads.

  • It addresses situations where creatives cannot be defined solely by height and width, providing options like aspect ratios for mobile or designations for out-of-page or native formats.

  • The types include pixel (standard height-width), aspect ratio (for mobile), interstitial (out-of-page), ignored (when size is irrelevant), native, and audio.

  • Each CreativeSizeType has a specific purpose and usage, such as using 1x1 dimensions for interstitial, native, and audio types to indicate their special handling.

  • This classification helps in properly handling different creative formats and ensuring they are displayed or used as intended within the Google Ad Manager system.

Descriptions of the types of sizes a creative can be. Not all creatives can be described by a height-width pair, this provides additional context.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
PIXEL Dimension based size, an actual height and width.
ASPECT_RATIO Mobile size, that is expressed as a ratio of say 4 by 1, that could be met by a 100 x 25 sized image.
INTERSTITIAL Out-of-page size, that is not related to the slot it is served. But rather is a function of the snippet, and the values set. This must be used with 1x1 size.
IGNORED Size has no meaning

1. For Click Tracking entities, where size doesn't matter 2. For entities that allow all requested sizes, where the size represents all sizes.

NATIVE Native size, which is a function of the how the client renders the creative. This must be used with 1x1 size.
AUDIO Audio size. Used with audio ads. This must be used with 1x1 size.