Note: Version v201811 will be sunset soon. All users of those versions must migrate to a newer one.

type CreativeWrapper (v201902)

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/v201902

Field

id

xsd:long

The unique ID of the CreativeWrapper. This value is readonly and is assigned by Google.

labelId

xsd:long

The ID of the Label which will be used to label ad units. The labelId on a creative wrapper cannot be changed once it is created.

htmlHeader

xsd:string

The header HTML snippet that this creative wrapper delivers.

htmlFooter

xsd:string

The footer HTML snippet that this creative wrapper delivers.

ampHead

xsd:string

The header AMP snippet that this creative wrapper delivers.

ampBody

xsd:string

The footer AMP snippet that this creative wrapper delivers.

ordering

CreativeWrapperOrdering

If there are multiple wrappers for a creative, then ordering defines the order in which the HTML snippets are rendered.


Enumerations
NO_PREFERENCE
Wrapping occurs after INNER but before OUTER
INNER
Wrapping occurs as early as possible.
OUTER
Wrapping occurs after both NO_PREFERENCE and INNER

status

CreativeWrapperStatus

The status of the CreativeWrapper. This attribute is readonly.


Enumerations
ACTIVE
INACTIVE