AI-generated Key Takeaways
-
AspectRatioImageCreative
is a type of creative designed for mobile platforms that displays an image based on an aspect ratio size. -
This creative type can include multiple images that share the same defined aspect ratio.
-
It inherits fields from
Creative
andHasDestinationUrlCreative
, including required fields like advertiser ID, unique ID, name, and size, as well as optional fields like a destination URL. -
Key fields specific to
AspectRatioImageCreative
includeimageAssets
for the associated images,altText
for accessibility, andthirdPartyImpressionTrackingUrls
. -
The
overrideSize
attribute is optional and allows for image asset sizes to differ from the defined creative size.
A Creative
intended for mobile platforms that displays an image, whose size is defined as an aspect
ratio, i.e. Size.isAspectRatio. It can have multiple images whose dimensions conform to
that aspect ratio.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field |
|
---|---|
Creative (inherited)
|
|
|
The ID of the advertiser that owns the creative. This attribute is required. |
|
Uniquely identifies the |
|
The name of the creative. This attribute is required and has a maximum length of 255 characters. |
|
The Size of the creative. This attribute is required for creation and then is read-only. |
|
The URL of the creative for previewing the media. This attribute is read-only and is assigned by Google when a creative is created. |
|
Set of policy labels detected for this creative. This attribute is read-only. Enumerations
|
|
The set of labels applied to this creative. |
|
The date and time this creative was last modified. |
|
The values of the custom fields associated with this creative. |
|
The third party companies associated with this creative. This is distinct from any associated companies that Google may detect programmatically. |
|
Whether the creative has ad badging enabled. Defaults to false for . Defaults to true for all other creative types. |
HasDestinationUrlCreative (inherited)
|
|
|
The URL that the user is directed to if they click on the creative. This attribute is required
unless the |
|
The action that should be performed if the user clicks on the creative. This attribute is optional and defaults to DestinationUrlType.CLICK_TO_WEB. Enumerations
|
AspectRatioImageCreative
|
|
|
The images associated with this creative. The ad server will choose one based on the capabilities of the device. Each asset should have a size which is of the same aspect ratio as the Creative.size. This attribute is required and must have at least one asset. |
|
The text that is served along with the image creative, primarily for accessibility. If no suitable image size is available for the device, this text replaces the image completely. This field is optional and has a maximum length of 500 characters. |
|
A list of impression tracking URL to ping when this creative is displayed. This field is optional and each string has a maximum length of 1024 characters. |
|
Allows the actual image asset sizes to differ from the creative size. This attribute is optional. |