type VideoPosition (v202405)
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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-05-15 UTC.
[null,null,["Last updated 2024-05-15 UTC."],[[["The `VideoPosition` object defines the position of an ad within a video content."],["It utilizes the `positionType` field to indicate whether the ad should be displayed as a pre-roll, mid-roll, post-roll, or in all positions, with `midrollIndex` further specifying the position for mid-roll ads."],["`VideoPosition` is utilized by services such as AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService."],["The `positionType` field is an enumeration with possible values: `UNKNOWN`, `ALL`, `PREROLL`, `MIDROLL`, `POSTROLL`."],["The `midrollIndex` field, an integer, provides further detail for mid-roll ad positions within the video content."]]],[]]