AI-generated Key Takeaways
-
CreativeSetError relates to errors concerning creative sets and their subclasses.
-
It inherits from ApiError and includes specific fields like fieldPath, fieldPathElements, trigger, and errorString.
-
CreativeSetError has a specific 'reason' field, which is an enum describing various error scenarios, such as required features not being enabled, restrictions on video creatives, or invalid advertiser associations.
Errors relating to creative sets & subclasses.
- 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
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
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.

