type CreativeTemplateOperationError (v202411)

  • CreativeTemplateOperationError signifies errors during operations on creative templates.

  • It inherits from ApiError, providing context about the error source.

  • Reasons for this error include insufficient user permissions, inapplicable operations, or unknown issues.

  • The error object contains details like field path, trigger data, and a descriptive error string.

  • The reason field categorizes the error with values like NOT_ALLOWED, NOT_APPLICABLE, or UNKNOWN.

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


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

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.