type Size (v202411)

  • Size objects represent the dimensions of ad units, line items, or creatives within Google Ad Manager.

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

  • A Size object includes properties for width, height, and whether it represents an aspect ratio.

  • The width and height properties specify the dimensions of the ad unit, line item, or creative.

  • The isAspectRatio property indicates if the size is defined as a ratio rather than fixed pixel 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.