type VideoPositionTarget (v202411)

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

  • It supports targeting by video position, bumper type (before or after ad pods), and position within ad pods.

  • Custom ad spots can be targeted using the adSpotId field.

  • This targeting is applied within the context of services like AdRuleService, ForecastService, and LineItemService.

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.