type VideoPositionWithinPod (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Represents a targetable position within a pod within a video stream. A video ad can be targeted
to any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,
either first or last will target that position.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
|
index
|
xsd:int
The specific index of the pod. The index is defined as:
- 1 = first
- 2 = second
- 3 = third
- ....
- 100 = last
100 will always be the last position. For example, for a pod with 5
positions, 100 would target position 5. Multiple targets against
the index 100 can exist.
Positions over 100 are not supported.
|
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."],[[["\u003cp\u003e\u003ccode\u003eVideoPositionWithinPod\u003c/code\u003e allows targeting specific ad positions within a video pod, such as first, second, or last.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eindex\u003c/code\u003e field uses numerical values (1, 2, 3...100) to represent the ad position within the pod, with 100 always signifying the last position, regardless of the actual pod length.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is part of the Google Ad Manager API and uses the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAdvertisers can utilize \u003ccode\u003eVideoPositionWithinPod\u003c/code\u003e to strategically place video ads within pods for optimal viewer engagement.\u003c/p\u003e\n"]]],["The `VideoPositionWithinPod` targets specific ad positions within a video pod. It's used by services like `AdRuleService`, `ProposalLineItemService`, and others, to target video ads. The `index` field determines the position, with 1 being the first, 2 the second, and so on. An `index` of 100 always signifies the last position, even in pods with varying lengths. Multiple targets can have an index of 100. Position over 100 are not supported.\n"],null,["# type VideoPositionWithinPod (v202411)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202411/AdRuleService.VideoPositionWithinPod) [AdjustmentService](/ad-manager/api/reference/v202411/AdjustmentService.VideoPositionWithinPod) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.VideoPositionWithinPod) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.VideoPositionWithinPod) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.VideoPositionWithinPod) **ProposalLineItemService** [ProposalService](/ad-manager/api/reference/v202411/ProposalService.VideoPositionWithinPod) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.VideoPositionWithinPod) [TargetingPresetService](/ad-manager/api/reference/v202411/TargetingPresetService.VideoPositionWithinPod) [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.VideoPositionWithinPod) **Dependencies** \n[VideoPositionTarget](/ad-manager/api/reference/v202411/ProposalLineItemService.VideoPositionTarget) \n▼\n**VideoPositionWithinPod**\n\nRepresents a targetable position within a pod within a video stream. A video ad can be targeted\nto any position in the pod (first, second, third ... last). If there is only 1 ad in a pod,\neither first or last will target that position.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `index` | ` `xsd:`int` The specific index of the pod. The index is defined as: - 1 = first - 2 = second - 3 = third - .... - 100 = last 100 will always be the last position. For example, for a pod with 5 positions, 100 would target position 5. Multiple targets against the index 100 can exist. Positions over 100 are not supported. \u003cbr /\u003e |"]]