enum CreativeSizeType (v202502)

  • CreativeSizeType provides descriptions for different ways a creative's size can be defined, beyond just height and width.

  • The available types include PIXEL for dimension-based size, ASPECT_RATIO for mobile sizes expressed as a ratio, and INTERSTITIAL for out-of-page sizes.

  • Other types like IGNORED, NATIVE, and AUDIO are also available to handle cases where size has no meaning, is client-rendered, or is for audio ads.

  • CreativeSizeType is used by various services including ForecastService, LineItemService, ProposalLineItemService, and ProposalService.

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/v202502
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.