type VideoPositionTargeting (v202405)
Represents positions within and around a video where ads can be
targeted to.
Example positions could be pre-roll
(before the video plays),
post-roll
(after a video has
completed playback) and mid-roll
(during video playback).
Empty video position targeting means that all video positions
are allowed. If a bumper line item has empty video position
targeting it will be updated to target all bumper positions.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202405
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."],[[["VideoPositionTargeting allows you to target ads within and around videos, such as pre-roll, post-roll, and mid-roll."],["Empty video position targeting implies that all video positions are allowed, and for bumper line items, it defaults to targeting all bumper positions."],["It utilizes VideoPositionTarget objects to specify the positions targeted by a video line item."],["VideoPositionTargeting is part of the Google Ad Manager API and uses the namespace `https://www.google.com/apis/ads/publisher/v202405`."]]],["The core content describes `VideoPositionTargeting`, which defines where ads can appear within a video (e.g., pre-roll, mid-roll, post-roll). Empty targeting allows ads in all positions; bumper items are set to target all bumper positions. The `targetedPositions` field holds an array of `VideoPositionTarget` objects. This targeting is used by services like `AdRuleService`, `ForecastService`, `LineItemService` and others for managing ads in videos. The Namespace for this information is also provided.\n"]]