**Service** **CreativeWrapperService** **Dependencies** [CreativeWrapperPage](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperPage) [createCreativeWrappers()](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService#createCreativeWrappers) [updateCreativeWrappers()](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService#updateCreativeWrappers) ▼ **CreativeWrapper**


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](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType#CREATIVE_WRAPPER) label
and applied to ad units by [AdUnit.appliedLabels](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit#appliedLabels).

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## 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](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.Label) which will be used to label ad units. The `labelId` on a creative wrapper cannot be changed once it is created. |
| ### `creativeWrapperType` | ` https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperType ` The creative wrapper type. If the creative wrapper type is [CreativeWrapperType.VIDEO_TRACKING_URL](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperType#VIDEO_TRACKING_URL), the `videoTrackingUrls` field must be set. If the creative wrapper type is [CreativeWrapperType.HTML](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperType#HTML), either the `header` or `footer` field must be set. This field is required. *** ** * ** *** **Enumerations** `HTML` :   HTML creative wrappers that include header/footer HTML snippets. `VIDEO_TRACKING_URL` :   Video Tracking URL creative wrappers that include tracking URIs. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |
| ### `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. |
| ### `videoTrackingUrls` | ` https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.ConversionEvent_TrackingUrlsMapEntry[]` The video tracking URLs that this creative wrapper delivers. This field is required if the `creativeWrapperType` is [CreativeWrapperType.VIDEO_TRACKING_URL](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperType#VIDEO_TRACKING_URL) and ignored otherwise. |
| ### `thirdPartyDataDeclaration` | ` https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.ThirdPartyDataDeclaration ` The `ThirdPartyDataDeclaration` for this creative wrapper. 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. <br /> |
| ### `ordering` | ` https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.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](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper#INNER) but before [OUTER](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper#OUTER) `INNER` :   Wrapping occurs as early as possible. `OUTER` :   Wrapping occurs after both [NO_PREFERENCE](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper#NO_PREFERENCE) and [INNER](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper#INNER) <br /> |
| ### `status` | ` https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperStatus ` The status of the `CreativeWrapper`. This attribute is readonly. *** ** * ** *** **Enumerations** `ACTIVE` : `INACTIVE` : <br /> |