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 (pre-roll, mid-roll, or post-roll) with possible enumerations including UNKNOWN, ALL, PREROLL, MIDROLL, and POSTROLL.
The midrollIndex field specifies the index of the mid-roll to target 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 targeting system. It defines targetable positions like pre-roll, mid-roll, and post-roll. Key fields include `positionType`, specifying the type (PREROLL, MIDROLL, POSTROLL, ALL, UNKNOWN), and `midrollIndex`, which designates a specific mid-roll's index. This information is relevant to these services: AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService.\n"]]