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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eVideoPositionTargeting allows you to target ads to specific positions within and around a video, such as pre-roll, post-roll, and mid-roll.\u003c/p\u003e\n"],["\u003cp\u003eEmpty video position targeting implies that all positions are allowed, but bumper line items with empty targeting will be updated to target all bumper positions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etargetedPositions\u003c/code\u003e field within VideoPositionTargeting specifies the \u003ccode\u003eVideoPositionTarget\u003c/code\u003e objects that the video line item is targeting.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is used by several Google Ad Manager services like AdRuleService, AdjustmentService, ForecastService, LineItemService, and others, for managing video ad placements.\u003c/p\u003e\n"]]],["The core content describes `VideoPositionTargeting`, which defines where ads can appear within or around a video. Key positions include pre-roll, post-roll, and mid-roll. The `targetedPositions` field specifies which `VideoPositionTarget` objects are targeted by a video `LineItem`. Empty targeting allows all positions, while bumper line items with empty targeting default to all bumper positions. It's found under services like `AdRuleService`, `AdjustmentService`, and others, within the specified namespace.\n"],null,["# type VideoPositionTargeting (v202408)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202408/AdRuleService.VideoPositionTargeting) [AdjustmentService](/ad-manager/api/reference/v202408/AdjustmentService.VideoPositionTargeting) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.VideoPositionTargeting) [LineItemService](/ad-manager/api/reference/v202408/LineItemService.VideoPositionTargeting) **NativeStyleService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.VideoPositionTargeting) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.VideoPositionTargeting) [PublisherQueryLanguageService](/ad-manager/api/reference/v202408/PublisherQueryLanguageService.VideoPositionTargeting) [TargetingPresetService](/ad-manager/api/reference/v202408/TargetingPresetService.VideoPositionTargeting) [YieldGroupService](/ad-manager/api/reference/v202408/YieldGroupService.VideoPositionTargeting) **Dependencies** \n[Targeting](/ad-manager/api/reference/v202408/NativeStyleService.Targeting) \n▼\n**VideoPositionTargeting**\n\n\nRepresents positions within and around a video where ads can be\ntargeted to.\n\nExample positions could be `pre-roll` (before the video plays),\n`post-roll` (after a video has\ncompleted playback) and `mid-roll`\n(during video playback).\n\nEmpty video position targeting means that all video positions\nare allowed. If a bumper line item has empty video position\ntargeting it will be updated to target all bumper positions.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `targetedPositions` | ` `[VideoPositionTarget](/ad-manager/api/reference/v202408/NativeStyleService.VideoPositionTarget)`[]` The `VideoTargetingPosition` objects being targeted by the video [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem). |"]]