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 document outlines services related to video ad placement, including AdRuleService, AdjustmentService, ForecastService, LineItemService, NativeStyleService, ProposalLineItemService, ProposalService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService. These services utilize `VideoPosition`, which defines targetable positions within a video. The available `VideoPosition.Type` options are `UNKNOWN`, `ALL`, `PREROLL` (before video), `MIDROLL` (middle of video), and `POSTROLL` (after video). These positions dictate when an ad will be shown in relation to the video content.\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](/ad-manager/api/reference/v202502/ForecastService.VideoPosition.Type) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.VideoPosition.Type) **NativeStyleService** [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/NativeStyleService.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. |"]]