# type CreativeWrapperError (v202602)

**Service** [CreativeWrapperService](https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.CreativeWrapperError.md.txt) **InventoryService** [LabelService](https://developers.google.com/ad-manager/api/reference/v202602/LabelService.CreativeWrapperError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ApiError.md.txt) ▼ [AdSenseAccountError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdSenseAccountError.md.txt) [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdUnitCodeError.md.txt) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdUnitHierarchyError.md.txt) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ApiVersionError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AuthenticationError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CommonError.md.txt) [CompanyError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CompanyError.md.txt) **CreativeWrapperError** [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.CrossSellError.md.txt) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.EntityChildrenLimitReachedError.md.txt "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.EntityLimitReachedError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.FeatureError.md.txt) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.FrequencyCapError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InternalApiError.md.txt) [InvalidColorError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InvalidColorError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InvalidUrlError.md.txt) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InventoryUnitError.md.txt) [InventoryUnitRefreshRateError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InventoryUnitRefreshRateError.md.txt) [InventoryUnitSizesError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.InventoryUnitSizesError.md.txt) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.LabelEntityAssociationError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.PermissionError.md.txt) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RangeError.md.txt) [RegExError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RegExError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.RequiredNumberError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.StringLengthError.md.txt) [TeamError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.TeamError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.UniqueError.md.txt)

Errors specific to creative wrappers.

*** ** * ** ***

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

| ## 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/v202602/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/v202602/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/v202602/LabelService.LabelType.md.txt#CREATIVE_WRAPPER). `CANNOT_UPDATE_LABEL_ID` :   Cannot update [CreativeWrapper.labelId](https://developers.google.com/ad-manager/api/reference/v202602/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/v202602/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/v202602/InventoryService.AdUnit.md.txt#adUnitSizes) of `AdUnitSize#environmentType` as [EnvironmentType.BROWSER](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.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/v202602/LabelService.LabelType.md.txt#CREATIVE_WRAPPER) labels with a [CreativeWrapper.VIDEO_TRACKING_URL](https://developers.google.com/ad-manager/api/reference/v202602/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/v202602/InventoryService.AdUnit.md.txt#adUnitSizes) of `AdUnitSize#environmentType` as [EnvironmentType.VIDEO_PLAYER](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.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/v202602/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/v202602/LabelService.LabelType.md.txt#CREATIVE_WRAPPER) labels to an ad unit if [AdUnit.targetPlatform](https://developers.google.com/ad-manager/api/reference/v202602/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 /> |