type InventoryTargetingError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
|
fieldPathElements
|
FieldPathElement[]
|
trigger
|
xsd:string
|
errorString
|
xsd:string
|
InventoryTargetingError
|
reason
|
InventoryTargetingError.Reason
Enumerations
-
AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED
-
INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED
-
INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED
-
INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED
-
INVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED
-
EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED
-
EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED
-
SELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED
-
SELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS
-
YOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY
-
UNKNOWN
|
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."],[[["\u003cp\u003eThe YieldGroupService allows management of yield groups within Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eInventoryTargetingError is a specific type of error related to targeting inventory within yield groups.\u003c/p\u003e\n"],["\u003cp\u003eThis error may arise due to various reasons, including conflicting targeting settings or limitations on targeting specific inventory types.\u003c/p\u003e\n"],["\u003cp\u003eInventoryTargetingError provides a reason field to help understand the specific cause of the error.\u003c/p\u003e\n"],["\u003cp\u003eYieldGroupService inherits from ApiError, providing a common structure for handling errors.\u003c/p\u003e\n"]]],["The content details services related to ad management, including `AdRuleService`, `AdjustmentService`, `ForecastService`, and others. It outlines the inheritance of `ApiError` and the specific `InventoryTargetingError` within the `YieldGroupService`. Key information includes error types like `ApiVersionError`, `AuthenticationError`, and `CustomTargetingError`. `InventoryTargetingError` specifies reasons for errors, such as requiring at least one placement or not being able to target/exclude inventory concurrently, with an `unknown` option. The Namespace for this information is provided as `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,[]]