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 details the `VideoPositionTargetingError` and its reasons within the Google Ad Manager API v202502. It is a dependency of multiple services: `ForecastService`, `LineItemService`, `LineItemTemplateService`, `OrderService`, `ProposalLineItemService`, `TargetingPresetService`, and `YieldGroupService`. The error enumeration includes `CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING`, `INVALID_BUMPER_TARGETING`, `CAN_ONLY_TARGET_CUSTOM_AD_SPOTS`, and `UNKNOWN`, each describing specific invalid targeting conditions.\n"],null,["# enum VideoPositionTargetingError.Reason (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.VideoPositionTargetingError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.VideoPositionTargetingError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.VideoPositionTargetingError.Reason) **OrderService** [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/OrderService.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. |"]]