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\u003eVideoPositionWithinPod allows targeting video ads to specific positions within a pod during a video stream.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eindex\u003c/code\u003e field specifies the position within the pod (1 for first, 2 for second, etc.), with 100 always representing the last position.\u003c/p\u003e\n"],["\u003cp\u003eMultiple targets can be set for the last position using the index value of 100.\u003c/p\u003e\n"],["\u003cp\u003ePositions beyond 100 are not supported by VideoPositionWithinPod targeting.\u003c/p\u003e\n"]]],["The content describes `VideoPositionWithinPod`, a targetable position within a video ad pod. It can be used with services like `AdRuleService`, `ForecastService`, and `LineItemService`. The `index` field specifies the pod's position, with 1 being the first and 100 the last position, supporting up to 100 positions, it can also target multiple position at the last index. `VideoPositionTarget` is one of its dependencies. The namespace is `https://www.google.com/apis/ads/publisher/v202411`.\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](/ad-manager/api/reference/v202411/ProposalLineItemService.VideoPositionWithinPod) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.VideoPositionWithinPod) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.VideoPositionWithinPod) **TargetingPresetService** [YieldGroupService](/ad-manager/api/reference/v202411/YieldGroupService.VideoPositionWithinPod) **Dependencies** \n[VideoPositionTarget](/ad-manager/api/reference/v202411/TargetingPresetService.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 |"]]