enum VideoPositionTargetingError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the video position targeting error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING
|
Video position targeting cannot contain both bumper and non-bumper targeting values.
|
INVALID_BUMPER_TARGETING
|
The bumper video position targeting is invalid.
|
CAN_ONLY_TARGET_CUSTOM_AD_SPOTS
|
Only custom spot AdSpot objects can be targeted.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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."],[],["The provided content outlines the `VideoPositionTargetingError` within the Ad Manager API (v202502). This error is associated with multiple services: `ForecastService`, `LineItemService`, `LineItemTemplateService`, `OrderService`, `ProposalLineItemService`, `TargetingPresetService`, and `YieldGroupService`. It lists four error reasons: `CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING`, `INVALID_BUMPER_TARGETING`, `CAN_ONLY_TARGET_CUSTOM_AD_SPOTS`, and `UNKNOWN`. These errors specify constraints and limitations when targeting video ad positions. The namespace is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum VideoPositionTargetingError.Reason (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.VideoPositionTargetingError.Reason) **LineItemService** [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.VideoPositionTargetingError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.VideoPositionTargetingError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.VideoPositionTargetingError.Reason) [TargetingPresetService](/ad-manager/api/reference/v202502/TargetingPresetService.VideoPositionTargetingError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.VideoPositionTargetingError.Reason) **Dependencies** \n[VideoPositionTargetingError](/ad-manager/api/reference/v202502/LineItemService.VideoPositionTargetingError) \n▼\n**VideoPositionTargetingError...**\n\nThe reasons for the video position targeting error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|----------------------------------------------|------------------------------------------------------------------------------------------------------------|\n| `CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING` | Video position targeting cannot contain both bumper and non-bumper targeting values. |\n| `INVALID_BUMPER_TARGETING` | The bumper video position targeting is invalid. |\n| `CAN_ONLY_TARGET_CUSTOM_AD_SPOTS` | Only custom spot [AdSpot](/ad-manager/api/reference/v202502/AdRuleService.AdSpot) objects can be targeted. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]