AI-generated Key Takeaways
-
InventoryTargetingError is an error class used in several Google Ad Manager API services including AdRuleService, AdjustmentService, ForecastService, LineItemService, LineItemTemplateService, NativeStyleService, OrderService, ProposalLineItemService, PublisherQueryLanguageService, TargetingPresetService, and YieldGroupService.
-
This error inherits from the ApiError class and includes fields such as fieldPath, fieldPathElements, trigger, and errorString.
-
The InventoryTargetingError specifically includes a
reason
field which is an enumeration detailing various specific inventory targeting issues. -
The possible reasons for an InventoryTargetingError include issues like requiring at least one placement or inventory unit, conflicts between targeting and excluding inventory, and restrictions on targeting inventory units based on their ancestors.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
Field |
|
---|---|
ApiError (inherited)
|
|
|
|
|
|
|
|
|
|
InventoryTargetingError
|
|
|
Enumerations
|