enum VideoPositionTargetingError.Reason (v202411)

  • Video position targeting errors can occur for several reasons, including mixing bumper and non-bumper targeting, invalid bumper targeting, or attempting to target non-custom ad spots.

  • The VideoPositionTargetingError.Reason enumeration details the specific reasons for these errors within various Ad Manager API services.

  • The available reasons for the error include issues with bumper targeting, limitations on targeting only custom ad spots, and an "UNKNOWN" value for unexposed reasons in the API version.

The reasons for the video position targeting error.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
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.