type TemplateInstantiatedCreativeError (v202411)

  • The TemplateInstantiatedCreativeError object lists all errors associated with template instantiated creatives within the Google Ad Manager API.

  • This error object inherits from ApiError and includes fields like fieldPath, trigger, and errorString for detailed error information.

  • The reason field provides an enum value specifying the cause of the error, such as using an inactive creative template or an unsupported file type.

  • This error is commonly encountered in the CreativeService, CreativeSetService, and LineItemCreativeAssociationService when working with template instantiated creatives.

Lists all errors associated with template instantiated creatives.


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.

TemplateInstantiatedCreativeError

reason

TemplateInstantiatedCreativ...

The error reason represented by an enum.


Enumerations
INACTIVE_CREATIVE_TEMPLATE
A new creative cannot be created from an inactive creative template.
FILE_TYPE_NOT_ALLOWED
An uploaded file type is not allowed
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.