type VideoPositionTarget (v202411)

  • VideoPositionTarget allows for targeting specific positions within a video, such as pre-roll, mid-roll, post-roll, or bumper positions.

  • This targeting can be further refined to specific positions within ad pods or even custom ad spots using the provided fields.

  • Three main targeting options are available: videoPosition, videoBumperType, and videoPositionWithinPod, with each requiring specific values to function correctly.

  • For custom ad spot targeting, the adSpotId field must be used while other targeting options are set to null.

  • VideoPositionTarget is utilized within various Google Ad Manager services for granular ad placement control.

Represents the options for targetable positions within a video.


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

Field

videoPosition

VideoPosition

The video position to target. This attribute is required.

videoBumperType

VideoBumperType

The video bumper type to target. To target a video position or a pod position, this value must be null. To target a bumper position this value must be populated and the line item must have a bumper type. To target a custom ad spot, this value must be null.


Enumerations
BEFORE
Represents the bumper position before the ad pod.
AFTER
Represents the bumper position after the ad pod.

videoPositionWithinPod

VideoPositionWithinPod

The video position within a pod to target. To target a video position or a bumper position, this value must be null. To target a position within a pod this value must be populated. To target a custom ad spot, this value must be null.

adSpotId

xsd:long

A custom spot AdSpot to target. To target a video position, a bumper type or a video position within a pod this value must be null.