type VideoPosition (v202411)
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 type of video position, which can be UNKNOWN, ALL, PREROLL, MIDROLL, or POSTROLL.
The midrollIndex field allows targeting a specific mid-roll position and is only valid when positionType is MIDROLL.
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 core content describes the `VideoPosition` within a video ad context. It defines targetable positions like pre-roll, mid-roll, or post-roll, or a specific mid-roll index. The `positionType` field specifies the video position type, with enumerations: `UNKNOWN`, `ALL`, `PREROLL`, `MIDROLL`, and `POSTROLL`. `midrollIndex`, an integer, designates the specific mid-roll targeted, relevant only when `positionType` is `MIDROLL`. The content is related to multiple services, with a video position dependency, under the namespace `https://www.google.com/apis/ads/publisher/v202411`.\n"]]