enum VideoPosition.Type (v202411)

  • VideoPosition.Type identifies where an ad can be placed within a video stream (pre-roll, mid-roll, post-roll, or all positions).

  • It's an enumeration within the Google Ad Manager API, used for targeting specific video ad positions.

  • The namespace for this enumeration is https://www.google.com/apis/ads/publisher/v202411.

  • Ad Manager services like LineItemService, AdRuleService, and others utilize VideoPosition.Type for ad placement control.

Represents a targetable position within a video.


Namespace
https://www.google.com/apis/ads/publisher/v202411
Enumeration Description
UNKNOWN The value returned if the actual value is not exposed by the requested API version.
ALL This position targets all of the above video positions.
PREROLL The position defined as showing before the video starts playing.
MIDROLL The position defined as showing within the middle of the playing video.
POSTROLL The position defined as showing after the video is completed.