type VideoPositionTarget (v202411)

  • VideoPositionTarget allows publishers to target specific positions within a video, such as pre-roll, mid-roll, post-roll, or bumper positions.

  • This targeting can be further refined by specifying positions within ad pods or targeting custom ad spots using their IDs.

  • VideoPositionTarget utilizes various fields like videoPosition, videoBumperType, videoPositionWithinPod, and adSpotId to achieve granular targeting.

  • It's used in conjunction with services like AdRuleService, ForecastService, and PublisherQueryLanguageService to manage and optimize ad delivery.

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.