AI-generated Key Takeaways
-
The AdRuleService is a service used to manage ad rules in the Google Ad Manager API.
-
InventoryTargetingError is an error that occurs when there are issues with targeting inventory units or placements with a line item.
-
This error inherits from ApiError and includes fields such as
fieldPath,trigger, anderrorStringto help identify the cause of the error. -
Specific reasons for an InventoryTargetingError are provided through the
reasonfield, which is represented by an enum. -
Possible reasons for this error include targeting or excluding inventory units/placements in conflicting ways, or targeting specific types of inventory units incorrectly.
Lists all inventory errors caused by associating a line item with a targeting expression.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Field |
|
|---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
A parsed copy of the field path. For example, the field path "operations[1].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
InventoryTargetingError
|
|
|
The error reason represented by an enum. Enumerations
|