type VideoPosition (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
VideoPosition represents a targetable position within a video, such as pre-roll, all mid-rolls, or post-roll, and can also target a specific mid-roll index.
The positionType field indicates the general type of video position, including UNKNOWN, ALL, PREROLL, MIDROLL, and POSTROLL.
The midrollIndex field is used to specify a particular mid-roll position and is only valid when positionType is MIDROLL.
VideoPosition is used by several services including AdRuleService, ForecastService, and LineItemService.
Represents a targetable position within a video. A video ad can be targeted
to a position (pre-roll, all mid-rolls, or post-roll), or to a specific mid-roll index.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The content details `VideoPosition`, a targetable point in a video for ads. It defines ad placement possibilities: `PREROLL` (before video), `MIDROLL` (during video), and `POSTROLL` (after video). `positionType` specifies the placement, and `midrollIndex` targets a specific mid-roll. Various services such as `AdRuleService`, `LineItemService`, and `ProposalService` are associated, using `VideoPosition` to target ads. The namespace is `https://www.google.com/apis/ads/publisher/v202502`.\n"]]