Resource: CreativeWrapper
A CreativeWrapper allows the wrapping of HTML snippets to be served along with Creative objects.
CreativeWrapper must be associated with a LabelType.CREATIVE_WRAPPER label and applied to ad units by AdUnit.appliedLabels.
| JSON representation |
|---|
{ "name": string, "label": string, "videoTrackingUrls": [ { object ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the |
label |
Required. Immutable. The resource name of the |
videoTrackingUrls[] |
Optional. The video tracking URLs that this |
creativeWrapperType |
Required. The |
headerCreative |
Output only. The resource name of the |
footerCreative |
Output only. The resource name of the |
htmlHeader |
Optional. The header HTML snippet that this |
htmlFooter |
Optional. The footer HTML snippet that this |
ampHeader |
Optional. The header AMP snippet that this |
ampFooter |
Optional. The footer AMP snippet that this |
thirdPartyDataDeclaration |
Optional. The The third party companies that are associated with this |
ordering |
Optional. If there are multiple wrappers for a |
status |
Output only. The status of the |
CreativeWrapperType
The type of a CreativeWrapper which is specified on the CreativeWrapper.
| Enums | |
|---|---|
CREATIVE_WRAPPER_TYPE_UNSPECIFIED |
Default value. This value is unused. |
HTML |
HTML CreativeWrappers that include header/footer HTML snippets. |
VIDEO_TRACKING_URL |
Video Tracking URL CreativeWrappers that include tracking URIs. |
CreativeWrapperOrdering
Defines the order in which the header and footer HTML snippets will be wrapped around the served creative. INNER snippets will be wrapped first, followed by NO_PREFERENCE and finally OUTER. If the creative needs to be wrapped with more than one snippet with the same CreativeWrapperOrdering, then the order is unspecified.
| Enums | |
|---|---|
CREATIVE_WRAPPER_ORDERING_UNSPECIFIED |
Default value. This value is unused. |
INNER |
Wrapping occurs as early as possible. |
NO_PREFERENCE |
Wrapping occurs after INNER but before OUTER |
OUTER |
Wrapping occurs after both NO_PREFERENCE and INNER |
CreativeWrapperStatus
Indicates whether the CreativeWrapper is active. HTML snippets are served to Creatives only when the CreativeWrapper is active.
| Enums | |
|---|---|
CREATIVE_WRAPPER_STATUS_UNSPECIFIED |
Default value. This value is unused. |
ACTIVE |
The CreativeWrapper will be applied to served creatives. |
INACTIVE |
The CreativeWrapper will not be applied to served creatives. |
Methods |
|
|---|---|
|
Batch activates CreativeWrapper objects. |
|
Creates CreativeWrapper objects. |
|
Deactivates a list of CreativeWrapper objects. |
|
Batch updates CreativeWrapper objects. |
|
Creates a CreativeWrapper object. |
|
Retrieves a CreativeWrapper object. |
|
Lists CreativeWrapper objects. |
|
Updates a CreativeWrapper object. |