# type CreativeTemplateError (v202505)

**Service** [CreativeService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeService.CreativeTemplateError) [CreativeSetService](https://developers.google.com/ad-manager/api/reference/v202505/CreativeSetService.CreativeTemplateError) **CreativeTemplateService** [LineItemCreativeAssociationService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemCreativeAssociationService.CreativeTemplateError) [NativeStyleService](https://developers.google.com/ad-manager/api/reference/v202505/NativeStyleService.CreativeTemplateError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ApiVersionError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.AuthenticationError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.CommonError) **CreativeTemplateError** [CreativeTemplateOperationError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.CreativeTemplateOperationError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.FeatureError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.InternalApiError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.InvalidUrlError) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.NullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.PermissionError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.RangeError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.RequiredNumberError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.StringLengthError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.UniqueError)

A catch-all error that lists all generic errors associated with CreativeTemplate.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.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. |
| **`CreativeTemplateError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202505/CreativeTemplateService.CreativeTemplateError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `CANNOT_PARSE_CREATIVE_TEMPLATE` :   The XML of the creative template definition is malformed and cannot be parsed. `VARIABLE_DUPLICATE_UNIQUE_NAME` :   A creative template has multiple variables with the same uniqueName. `VARIABLE_INVALID_UNIQUE_NAME` :   The creative template contains a variable with invalid characters. Valid characters are letters, numbers, spaces, forward slashes, dashes, and underscores. `LIST_CHOICE_DUPLICATE_VALUE` :   Multiple choices for a CreativeTemplateListStringVariable have the same value. `LIST_CHOICE_NEEDS_DEFAULT` :   The choices for a CreativeTemplateListStringVariable do not contain the default value. `LIST_CHOICES_EMPTY` :   There are no choices specified for the list variable. `NO_TARGET_PLATFORMS` :   No target platform is assigned to a creative template. `MULTIPLE_TARGET_PLATFORMS` :   More than one target platform is assigned to a single creative template. `UNRECOGNIZED_PLACEHOLDER` :   The formatter contains a placeholder which is not defined as a variable. `PLACEHOLDERS_NOT_IN_FORMATTER` :   There are variables defined which are not being used in the formatter. `MISSING_INTERSTITIAL_MACRO` :   The creative template is interstitial, but the formatter doesn't contain an interstitial macro. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |