type CreativeTemplateOperationError (v202505)

  • The content discusses errors that can occur when performing operations on creative templates within the Ad Manager API.

  • CreativeTemplateOperationError is a type of ApiError that specifically indicates issues during creative template manipulations.

  • This error includes a 'reason' field with specific enum values like NOT_ALLOWED, NOT_APPLICABLE, and UNKNOWN to provide more context about the error.

  • It inherits standard ApiError fields such as fieldPath, fieldPathElements, trigger, and errorString for identifying the cause and context of the error.

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


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

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.