type VideoPositionTargetingError (v202508)

  • The VideoPositionTargetingError lists errors related to VideoPositionTargeting and is part of the TargetingPresetService namespace.

  • This error inherits from ApiError, which provides general error information such as field path, trigger, and error string.

  • Specific reasons for the VideoPositionTargetingError include targeting both bumper and non-bumper video positions, invalid bumper targeting, and attempting to target non-custom ad spots.

Lists all errors related to VideoPositionTargeting.


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

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.

VideoPositionTargetingError

reason

VideoPositionTargetingError...


Enumerations
CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING
Video position targeting cannot contain both bumper and non-bumper targeting values.
INVALID_BUMPER_TARGETING
The bumper video position targeting is invalid.
CAN_ONLY_TARGET_CUSTOM_AD_SPOTS
Only custom spot AdSpot objects can be targeted.
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.