AI-generated Key Takeaways
-
InventoryTargetingError.Reason is an enumeration within the Google Ad Manager API.
-
This enumeration outlines reasons for errors related to inventory targeting in various services like AdRuleService, AdjustmentService, etc.
-
Specific reasons for these errors include requirements for placements or inventory units, targeting/exclusion conflicts, and restrictions on YouTube audience segments.
-
Each enumeration value provides a specific code indicating the nature of the targeting error, helping developers diagnose and resolve issues.
-
Developers using the Ad Manager API should consult this enumeration to understand and handle potential inventory targeting errors effectively.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration | Description |
---|---|
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
|