type Size (v202505)

  • The Size object represents the dimensions for AdUnits, LineItems, or Creatives within the Ad Manager API.

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

  • The Size object includes fields for width, height, and isAspectRatio to define dimensions and indicate if the size represents an aspect ratio.

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/v202505

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.