type CreativeSetError (v202411)

  • CreativeSetError is an error type that occurs within the CreativeService and can also be encountered in CreativeSetService and LineItemCreativeAssociationService.

  • This error relates to issues encountered when working with creative sets in Google Ad Manager.

  • Reasons for this error include missing features like 'video' or 'roadblock', incorrect creative configurations, or issues with the advertiser associated with the creatives.

  • The CreativeSetError object provides details about the error, including a reason code, field path, and error string.

  • Developers should consult the CreativeSetError.Reason enumeration for specific error codes and their meanings to troubleshoot creative set issues.

Errors relating to creative sets & subclasses.


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.

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.