type CreativeTemplateOperationError (v202508)

  • CreativeTemplateOperationError is an error that can occur when performing an operation on a creative template.

  • This error inherits from ApiError and includes fields such as fieldPath, fieldPathElements, trigger, and errorString.

  • CreativeTemplateOperationError has a specific reason field with possible enum values including NOT_ALLOWED, NOT_APPLICABLE, and UNKNOWN.

An error that can occur while performing an operation on a creative template.


Namespace
https://www.google.com/apis/ads/publisher/v202508

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.

CreativeTemplateOperationError

reason

CreativeTemplateOperationEr...

The error reason represented by an enum.


Enumerations
NOT_ALLOWED
The current user is not allowed to modify this creative template.
NOT_APPLICABLE
The operation is not applicable to the current state. (e.g. Trying to activate an active creative template)
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.