# type CreativeWrapperError (v202605)

**Service** [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapperError.md.txt) [InventoryService](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.CreativeWrapperError.md.txt) **LabelService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.ApiError.md.txt) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.ApiVersionError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.AuthenticationError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.CommonError.md.txt) **CreativeWrapperError** [FeatureError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.FeatureError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.InternalApiError.md.txt) [LabelError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.PermissionError.md.txt) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.QuotaError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.RequiredError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.StringLengthError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.UniqueError.md.txt)

Errors specific to creative wrappers.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` FieldPathElement[]` A parsed copy of the field path. For example, the field path "operations\[1\].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`CreativeWrapperError`** ||
| ### `reason` | ` CreativeWrapperError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `LABEL_ALREADY_ASSOCIATED_WITH_CREATIVE_WRAPPER` :   The label is already associated with a [CreativeWrapper](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper.md.txt). `INVALID_LABEL_TYPE` :   The label type of a creative wrapper must be [LabelType.CREATIVE_WRAPPER](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType.md.txt#CREATIVE_WRAPPER). `UNRECOGNIZED_MACRO` :   A macro used inside the snippet is not recognized. `NEITHER_HEADER_NOR_FOOTER_SPECIFIED` :   When creating a new creative wrapper, either header or footer should exist. `NEITHER_HEADER_NOR_FOOTER_NOR_VIDEO_TRACKING_URLS_SPECIFIED` :   Creative wrapper must have either header and/or footer, or video tracking URLs. `CANNOT_USE_CREATIVE_WRAPPER_TYPE` :   The network has not been enabled for creating labels of type [LabelType.CREATIVE_WRAPPER](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType.md.txt#CREATIVE_WRAPPER). `CANNOT_UPDATE_LABEL_ID` :   Cannot update [CreativeWrapper.labelId](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper.md.txt#labelId). `CANNOT_APPLY_TO_AD_UNIT_WITH_VIDEO_SIZES` :   Cannot apply [LabelType.CREATIVE_WRAPPER](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType.md.txt#CREATIVE_WRAPPER) labels to an ad unit if it has no descendants with [AdUnit.adUnitSizes](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit.md.txt#adUnitSizes) of `AdUnitSize#environmentType` as [EnvironmentType.BROWSER](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.EnvironmentType.md.txt#BROWSER). `CANNOT_APPLY_TO_AD_UNIT_WITHOUT_VIDEO_SIZES` :   Cannot apply [LabelType.CREATIVE_WRAPPER](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType.md.txt#CREATIVE_WRAPPER) labels with a [CreativeWrapper.VIDEO_TRACKING_URL](https://developers.google.com/ad-manager/api/reference/v202605/CreativeWrapperService.CreativeWrapper.md.txt#VIDEO_TRACKING_URL) type to an ad unit if it has no descendants with [AdUnit.adUnitSizes](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit.md.txt#adUnitSizes) of `AdUnitSize#environmentType` as [EnvironmentType.VIDEO_PLAYER](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.EnvironmentType.md.txt#VIDEO_PLAYER). `CANNOT_APPLY_TO_AD_UNIT_WITHOUT_LABEL_ASSOCIATION` :   Cannot apply [LabelType.CREATIVE_WRAPPER](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType.md.txt#CREATIVE_WRAPPER) labels to an ad unit if the label is not associated with a creative wrapper. `CANNOT_APPLY_TO_MOBILE_AD_UNIT` :   Cannot apply [LabelType.CREATIVE_WRAPPER](https://developers.google.com/ad-manager/api/reference/v202605/LabelService.LabelType.md.txt#CREATIVE_WRAPPER) labels to an ad unit if [AdUnit.targetPlatform](https://developers.google.com/ad-manager/api/reference/v202605/InventoryService.AdUnit.md.txt#targetPlatform) is of type `TargetPlatform#MOBILE` `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |