type InventoryTargetingError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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 crucial aspect of YieldGroupService, indicating potential issues with inventory targeting settings.\u003c/p\u003e\n"],["\u003cp\u003eThis service inherits from ApiError, providing a structured approach to error handling.\u003c/p\u003e\n"],["\u003cp\u003eInventoryTargetingError.Reason enumeration outlines specific reasons for inventory targeting failures.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for YieldGroupService is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e, indicating its location within the Ad Manager API.\u003c/p\u003e\n"]]],["The content details services and errors within an ad management API, version v202411. Services include `AdRuleService`, `AdjustmentService`, `ForecastService`, etc. The `YieldGroupService` section highlights inherited `ApiError` types like `ApiVersionError`, `AuthenticationError`, and `InventoryTargetingError`, which outlines specific inventory targeting issues. `InventoryTargetingError` lists reasons like `AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED` and `INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED`, among others. Additionally, it lists fields within the `ApiError` and `InventoryTargetingError` objects.\n"],null,[]]