AI-generated Key Takeaways
-
Creative wrappers allow HTML snippets to be served with creatives, applied to ad units via labels.
-
They can be used for header/footer HTML snippets or video tracking URLs, determined by the
creativeWrapperType
. -
Multiple wrappers can be applied to a creative, with their rendering order controlled by the
ordering
field. -
A
CreativeWrapper
has a status (active/inactive) and is associated with a specific label ID for ad unit targeting. -
Creative wrappers can include a
ThirdPartyDataDeclaration
that is copied to the underlying creatives.
A CreativeWrapper
allows the
wrapping of HTML snippets to be served along with Creative
objects.
Creative wrappers must be associated with a LabelType.CREATIVE_WRAPPER label and applied to ad units by AdUnit.appliedLabels.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field |
|
---|---|
|
The unique ID of the |
|
The ID of the Label which will be used to label ad units. The |
|
The creative wrapper type. If the creative wrapper type is CreativeWrapperType.VIDEO_TRACKING_URL, the Enumerations
|
|
The header HTML snippet that this creative wrapper delivers. |
|
The footer HTML snippet that this creative wrapper delivers. |
|
The header AMP snippet that this creative wrapper delivers. |
|
The footer AMP snippet that this creative wrapper delivers. |
|
The video tracking URLs that this creative wrapper delivers. This field is required if the
|
|
The It is copied to one of the underlying creatives. If the header creative is active then it is persisted there. Otherwise it is stored on the footer creative. |
|
If there are multiple wrappers for a creative, then Enumerations
|
|
The status of the Enumerations
|