enum VideoPosition.Type (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Represents a targetable position within a video.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
ALL
|
This position targets all of the above video positions.
|
PREROLL
|
The position defined as showing before the video starts playing.
|
MIDROLL
|
The position defined as showing within the middle of the playing video.
|
POSTROLL
|
The position defined as showing after the video is completed.
|
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 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The content defines `VideoPosition.Type`, an enumeration representing targetable positions within a video, and lists relevant services and dependencies. Key actions include defining video ad positions: `PREROLL` (before), `MIDROLL` (during), and `POSTROLL` (after). The `ALL` type targets all positions, while `UNKNOWN` signifies an unexposed value. Services like `AdRuleService` and `ForecastService` are identified, alongside a `VideoPosition` dependency, all within the namespace `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum VideoPosition.Type (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.VideoPosition.Type) [AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.VideoPosition.Type) **ForecastService** [LineItemService](/ad-manager/api/reference/v202502/LineItemService.VideoPosition.Type) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.VideoPosition.Type) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.VideoPosition.Type) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.VideoPosition.Type) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.VideoPosition.Type) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.VideoPosition.Type) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.VideoPosition.Type) **Dependencies** \n[VideoPosition](/ad-manager/api/reference/v202502/ForecastService.VideoPosition) \n▼\n**VideoPosition.Type**\n\nRepresents a targetable position within a video.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|-------------|-------------------------------------------------------------------------------------|\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |\n| `ALL` | This position targets all of the above video positions. |\n| `PREROLL` | The position defined as showing before the video starts playing. |\n| `MIDROLL` | The position defined as showing within the middle of the playing video. |\n| `POSTROLL` | The position defined as showing after the video is completed. |"]]