AI-generated Key Takeaways
-
The content describes the InventoryTargetingError, an error related to associating line items with targeting expressions.
-
This error is part of the TargetingPresetService and inherits from the ApiError.
-
The InventoryTargetingError includes a reason field which provides specific error codes related to inventory targeting issues.
-
Potential reasons for this error include requiring at least one placement or inventory unit, or attempting to target and exclude the same inventory unit simultaneously.
-
Other reasons involve conflicts with targeting or excluding ancestor or descendant inventory units, and issues with self-only inventory units.
Lists all inventory errors caused by associating a line item with a targeting expression.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
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
|