enum InventoryTargetingError.Reason (v202411)

  • Several Ad Manager API services are related to InventoryTargetingError.Reason, including AdRuleService, AdjustmentService, and ForecastService.

  • The InventoryTargetingError.Reason enumeration lists various reasons for inventory targeting errors, such as requiring at least one placement or inventory unit, or conflicts between targeting and excluding inventory.

  • Specific rules apply to targeting and excluding inventory units based on their relationship to ancestors.

  • Some error reasons are specific to YouTube audience segments and self-only inventory units.


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