type VideoPosition (v202402)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202402
Field
|
positionType
|
VideoPosition.Type
Enumerations
-
UNKNOWN
-
ALL
-
PREROLL
-
MIDROLL
-
POSTROLL
|
midrollIndex
|
xsd:int
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-13 UTC.
[null,null,["Last updated 2024-02-13 UTC."],[[["The `VideoPosition` object defines the position of a video ad within the content, encompassing preroll, midroll, and postroll."],["`VideoPosition` is utilized by various services like `AdRuleService`, `ProposalService`, and `YieldGroupService` to specify ad placement."],["`positionType` field defines the type of video ad position using the `VideoPosition.Type` enum, with options like preroll, midroll, and postroll."],["For midroll positions, `midrollIndex` indicates the specific position of the ad within the content stream."]]],[]]