This is the legacy documentation for Google Ads scripts. Go to the current docs.

AdsApp.​Dimensions

Pixel dimensions of a media object.

Methods:

MemberTypeDescription
getHeight int Returns the height.
getWidth int Returns the width.

getHeight()

Returns the height.

Return values:

TypeDescription
int The height.

getWidth()

Returns the width.

Return values:

TypeDescription
int The width.