type CreativeAssetMacroError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Lists all errors associated with creative asset macros.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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.
|
CreativeAssetMacroError
|
reason
|
CreativeAssetMacroError.Reason
The error reason represented by an enum.
Enumerations
-
INVALID_MACRO_NAME
- Invalid macro name specified. Macro names must start with an alpha
character and consist only of alpha-numeric characters and underscores
and be between 1 and 64 characters.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eCreativeAssetMacroError lists all errors associated with creative asset macros, providing details about the error reason and relevant information.\u003c/p\u003e\n"],["\u003cp\u003eThis error is part of the CreativeSetService and inherits properties from ApiError, such as fieldPath, fieldPathElements, trigger, and errorString, for detailed error identification.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field helps identify the specific error, with values like \u003ccode\u003eINVALID_MACRO_NAME\u003c/code\u003e or \u003ccode\u003eUNKNOWN\u003c/code\u003e explaining the cause of the problem.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for CreativeAssetMacroError is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e, indicating its location within the Google Ad Manager API.\u003c/p\u003e\n"]]],["The core content outlines error types associated with various services, focusing on `CreativeAssetMacroError`. It details errors within `CreativeService`, `CreativeSetService`, and `LineItemCreativeAssociationService`. `ApiError` inheritance is described, including fields like `fieldPath`, `fieldPathElements`, `trigger`, and `errorString`. Specifically, `CreativeAssetMacroError` lists error `reason`, including `INVALID_MACRO_NAME` and `UNKNOWN`. Furthermore it provides the namespace where this information is found.\n"],null,["# type CreativeAssetMacroError (v202408)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202408/CreativeService.CreativeAssetMacroError) **CreativeSetService** [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.CreativeAssetMacroError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/CreativeSetService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/CreativeSetService.ApiVersionError) [AssetError](/ad-manager/api/reference/v202408/CreativeSetService.AssetError) [AuthenticationError](/ad-manager/api/reference/v202408/CreativeSetService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/CreativeSetService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/CreativeSetService.CommonError) **CreativeAssetMacroError** [CreativeError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeError) [CreativeSetError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeSetError) [CreativeTemplateError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeTemplateError) [CreativeTemplateOperationError](/ad-manager/api/reference/v202408/CreativeSetService.CreativeTemplateOperationError) [CustomCreativeError](/ad-manager/api/reference/v202408/CreativeSetService.CustomCreativeError) [CustomFieldValueError](/ad-manager/api/reference/v202408/CreativeSetService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/CreativeSetService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/CreativeSetService.FeatureError) [FileError](/ad-manager/api/reference/v202408/CreativeSetService.FileError) [HtmlBundleProcessorError](/ad-manager/api/reference/v202408/CreativeSetService.HtmlBundleProcessorError) [ImageError](/ad-manager/api/reference/v202408/CreativeSetService.ImageError) [InternalApiError](/ad-manager/api/reference/v202408/CreativeSetService.InternalApiError) [InvalidPhoneNumberError](/ad-manager/api/reference/v202408/CreativeSetService.InvalidPhoneNumberError) [InvalidUrlError](/ad-manager/api/reference/v202408/CreativeSetService.InvalidUrlError) [LabelEntityAssociationError](/ad-manager/api/reference/v202408/CreativeSetService.LabelEntityAssociationError) [NotNullError](/ad-manager/api/reference/v202408/CreativeSetService.NotNullError) [NullError](/ad-manager/api/reference/v202408/CreativeSetService.NullError) [ParseError](/ad-manager/api/reference/v202408/CreativeSetService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/CreativeSetService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/CreativeSetService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/CreativeSetService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/CreativeSetService.QuotaError) [RangeError](/ad-manager/api/reference/v202408/CreativeSetService.RangeError) [RequiredCollectionError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202408/CreativeSetService.RequiredSizeError) [RichMediaStudioCreativeError](/ad-manager/api/reference/v202408/CreativeSetService.RichMediaStudioCreativeError) [ServerError](/ad-manager/api/reference/v202408/CreativeSetService.ServerError) [SetTopBoxCreativeError](/ad-manager/api/reference/v202408/CreativeSetService.SetTopBoxCreativeError) [StatementError](/ad-manager/api/reference/v202408/CreativeSetService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/CreativeSetService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/CreativeSetService.StringLengthError) [SwiffyConversionError](/ad-manager/api/reference/v202408/CreativeSetService.SwiffyConversionError) [TemplateInstantiatedCreativ...](/ad-manager/api/reference/v202408/CreativeSetService.TemplateInstantiatedCreativeError \"TemplateInstantiatedCreativeError\") [TranscodingError](/ad-manager/api/reference/v202408/CreativeSetService.TranscodingError) [TypeError](/ad-manager/api/reference/v202408/CreativeSetService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/CreativeSetService.UniqueError)\n\nLists all errors associated with creative asset macros.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/CreativeSetService.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)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`CreativeAssetMacroError`** ||\n| ### `reason` | ` `[CreativeAssetMacroError.Reason](/ad-manager/api/reference/v202408/CreativeSetService.CreativeAssetMacroError.Reason)` ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `INVALID_MACRO_NAME` : Invalid macro name specified. Macro names must start with an alpha character and consist only of alpha-numeric characters and underscores and be between 1 and 64 characters. `UNKNOWN` : The value returned if the actual value is not exposed by the requested API version. \u003cbr /\u003e |"]]