type Size (v202411)

  • The Size object represents the dimensions of an ad unit, line item, or creative within Google Ad Manager.

  • Size objects utilize width and height properties to define dimensions, measured in pixels.

  • For interstitial, native, ignored, and fluid sizes, the Size should be set to 1x1.

  • The isAspectRatio property indicates if the size is defined as an aspect ratio instead of fixed dimensions.

Represents the dimensions of an AdUnit, LineItem or Creative.

For interstitial size (out-of-page), native, ignored and fluid size, Size must be 1x1.


Namespace
https://www.google.com/apis/ads/publisher/v202411

Field

width

xsd:int

The width of the AdUnit, LineItem or Creative.

height

xsd:int

The height of the AdUnit, LineItem or Creative.

isAspectRatio

xsd:boolean

Whether this size represents an aspect ratio.