AI-generated Key Takeaways
-
VastRedirectCreativeis a type ofCreativeused in theCreativeServicethat delivers externally hosted VAST ads as a VAST Wrapper via VAST XML. -
Key attributes for a
VastRedirectCreativeinclude the URL of the VAST XML (vastXmlUrl), the type of VAST ad (vastRedirectType), the duration of the ad in milliseconds (duration), and optionally companion creative IDs (companionCreativeIds) and tracking URLs (trackingUrls). -
Inherited attributes from the base
Creativeclass include the advertiser ID (advertiserId), a unique creative ID (id), the name of the creative (name), its size (size), a preview URL (previewUrl), detected policy labels (policyLabels), applied labels (appliedLabels), the last modified date/time (lastModifiedDateTime), custom field values (customFieldValues), third-party data declarations (thirdPartyDataDeclaration), and whether ad badging is enabled (adBadgingEnabled). -
Read-only attributes include the creative's unique ID, preview URL, policy labels, last modified date/time, a VAST preview URL, and SSL scan results.
-
Required attributes for creating or updating a
VastRedirectCreativeinclude advertiser ID, name, size, VAST XML URL, VAST redirect type, and duration.
A Creative that points to an externally hosted VAST ad and is served via VAST XML as a
VAST Wrapper.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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. |
VastRedirectCreative
|
|
|
The URL where the 3rd party VAST XML is hosted. This attribute is required. |
|
The type of VAST ad that this redirects to. This attribute is required. Enumerations
|
|
The duration of the VAST ad in milliseconds. This attribute is required. |
|
The IDs of the companion creatives that are associated with this creative. This attribute is optional. |
|
A map from |
|
An ad tag URL that will return a preview of the VAST XML response specific to this creative. This attribute is read-only. |
|
The SSL compatibility scan result for this creative. This attribute is read-only and determined by Google. Enumerations
|
|
The manual override for the SSL compatibility of this creative. This attribute is optional and defaults to SslManualOverride.NO_OVERRIDE. Enumerations
|
|
Whether the 3rd party VAST XML points to an audio ad. When true, VastRedirectCreative.size will always be 1x1. |