AI-generated Key Takeaways
- 
          CreativeWrapperError.Reason lists the possible reasons for errors related to creative wrappers. 
- 
          Errors can occur if a label is already associated with a creative wrapper, or if the label type is incorrect. 
- 
          Creative wrappers require either a header, footer, or video tracking URLs to be specified. 
- 
          Certain creative wrapper labels cannot be applied to ad units based on their size, environment type, or platform. 
The reasons for the creative wrapper error.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202411
| Enumeration | Description | 
|---|---|
| LABEL_ALREADY_ASSOCIATED_WITH_CREATIVE_WRAPPER | The label is already associated with a CreativeWrapper. | 
| INVALID_LABEL_TYPE | The label type of a creative wrapper must be 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. | 
| CANNOT_UPDATE_LABEL_ID | Cannot update CreativeWrapper.labelId. | 
| CANNOT_APPLY_TO_AD_UNIT_WITH_VIDEO_SIZES | Cannot apply LabelType.CREATIVE_WRAPPER labels to an ad unit
                if it has no descendants with AdUnit.adUnitSizes of AdUnitSize#environmentTypeas
                EnvironmentType.BROWSER. | 
| CANNOT_APPLY_TO_AD_UNIT_WITHOUT_VIDEO_SIZES | Cannot apply LabelType.CREATIVE_WRAPPER labels with a CreativeWrapper.VIDEO_TRACKING_URL type to an ad unit if it has no descendants with AdUnit.adUnitSizes of AdUnitSize#environmentTypeas EnvironmentType.VIDEO_PLAYER. | 
| CANNOT_APPLY_TO_AD_UNIT_WITHOUT_LABEL_ASSOCIATION | Cannot apply 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 labels to an ad unit
                if AdUnit.targetPlatform is of type TargetPlatform#MOBILE | 
| UNKNOWN | The value returned if the actual value is not exposed by the requested API version. |