# type CreativeWrapperError (v202602)

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

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` | ` https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.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` | ` https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.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). `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#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#CREATIVE_WRAPPER). `CANNOT_UPDATE_LABEL_ID` :   Cannot update [CreativeWrapper.labelId](https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.CreativeWrapper#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#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#adUnitSizes) of `AdUnitSize#environmentType` as [EnvironmentType.BROWSER](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.EnvironmentType#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#CREATIVE_WRAPPER) labels with a [CreativeWrapper.VIDEO_TRACKING_URL](https://developers.google.com/ad-manager/api/reference/v202602/CreativeWrapperService.CreativeWrapper#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#adUnitSizes) of `AdUnitSize#environmentType` as [EnvironmentType.VIDEO_PLAYER](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.EnvironmentType#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#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#CREATIVE_WRAPPER) labels to an ad unit if [AdUnit.targetPlatform](https://developers.google.com/ad-manager/api/reference/v202602/InventoryService.AdUnit#targetPlatform) is of type `TargetPlatform#MOBILE` `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |