type VideoPositionTargeting (v202408)
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/v202408
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-08-20 UTC.
[null,null,["Last updated 2024-08-20 UTC."],[[["VideoPositionTargeting allows publishers to target ads within and around video content, such as pre-roll, post-roll, and mid-roll positions."],["When VideoPositionTargeting is empty, it implies that ads can be displayed in all allowed video positions."],["For bumper line items with empty targeting, the system automatically targets all available bumper positions."],["`targetedPositions` field allows specification of the `VideoPositionTarget` objects that the video line item should target."]]],["The core content defines `VideoPositionTargeting`, which specifies ad positions within and around videos. These positions include pre-roll, post-roll, and mid-roll. It is used within various services like `AdRuleService`, `ForecastService`, and `LineItemService`. Empty `VideoPositionTargeting` implies all video positions are targeted. The field `targetedPositions`, a list of `VideoPositionTarget` objects, defines the specific video positions targeted by a `LineItem`. The associated namespace is also provided.\n"]]