enum CustomCreativeError.Reason (v202502)

  • CustomCreativeError.Reason describes the potential causes for errors related to custom creatives.

  • Errors can occur due to issues with macro names, referencing non-existent or invalid macros, or the use of custom creatives in inappropriate contexts.

  • Specific reasons are provided for duplicate macro names, missing or unrecognized macros, custom creatives not being allowed, missing interstitial macros, and duplicate assets in macros.

  • An UNKNOWN reason indicates that the specific error value is not exposed by the requested API version.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202502
Enumeration Description
DUPLICATE_MACRO_NAME_FOR_CREATIVE Macros associated with a single custom creative must have unique names.
SNIPPET_REFERENCES_MISSING_MACRO The file macro referenced in the snippet does not exist.
UNRECOGNIZED_MACRO The macro referenced in the snippet is not valid.
CUSTOM_CREATIVE_NOT_ALLOWED Custom creatives are not allowed in this context.
MISSING_INTERSTITIAL_MACRO The custom creative is an interstitial, but the snippet is missing an interstitial macro.
DUPLICATE_ASSET_IN_MACROS Macros associated with the same custom creative cannot share the same asset.
UNKNOWN The value returned if the actual value is not exposed by the requested API version.