type CreativeSetError (v202502)

  • CreativeSetError relates to errors concerning creative sets and their subclasses.

  • CreativeSetError inherits from ApiError and includes fields like fieldPath, fieldPathElements, trigger, and errorString.

  • CreativeSetError has a specific reason field, an enum indicating the cause of the error, such as feature requirements, creative types, and advertiser inconsistencies.

  • Enumerations for the reason field detail specific errors like 'video' or 'roadblock' features being required, limitations on video creative updates, and restrictions on master and companion creatives.

Errors relating to creative sets & subclasses.


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

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.

CreativeSetError

reason

CreativeSetError.Reason

The error reason represented by an enum.


Enumerations
VIDEO_FEATURE_REQUIRED
The 'video' feature is required but not enabled.
CANNOT_CREATE_OR_UPDATE_VIDEO_CREATIVES
Video creatives (including overlays, VAST redirects, etc..) cannot be created or updated through the API.
ROADBLOCK_FEATURE_REQUIRED
The 'roadblock' feature is required but not enabled.
MASTER_CREATIVE_CANNOT_BE_COMPANION
A master creative cannot be a companion creative in the same creative set.
INVALID_ADVERTISER
Creatives in a creative set must be for the same advertiser.
UPDATE_MASTER_CREATIVE_NOT_ALLOWED
Updating a master creative in a creative set is not allowed.
MASTER_CREATIVE_CANNOT_BELONG_TO_MULTIPLE_VIDEO_CREATIVE_SETS
A master creative must belong to only one video creative set.
SKIPPABLE_AD_TYPE_NOT_ALLOWED
The is not allowed.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.