enum InventoryTargetingError.Reason (v202505)

  • Several Ad Manager services, such as AdRuleService, AdjustmentService, and ForecastService, utilize the InventoryTargetingError.Reason enumeration.

  • The InventoryTargetingError.Reason enumeration is part of the https://www.google.com/apis/ads/publisher/v202505 namespace.

  • This enumeration lists various reasons for inventory targeting errors, including issues with targeting and excluding inventory units or placements.


Namespace
https://www.google.com/apis/ads/publisher/v202505
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