type VideoPositionTargeting (v202502)
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/v202502
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-02-20 UTC.
[null,null,["Last updated 2025-02-20 UTC."],[],["The content describes `VideoPositionTargeting`, which defines where ads can appear within or around a video. It supports positions like pre-roll, post-roll, and mid-roll. Empty targeting allows all positions; specifically for bumper line items, this defaults to all bumper positions. `VideoPositionTarget` objects, managed within `TargetingPresetService`, are specified in the `targetedPositions` field to determine where an ad line item is delivered. The relevant services that support it include AdRuleService, AdjustmentService, and others.\n"]]