AI-generated Key Takeaways
-
InventoryTargetingError
identifies errors when associating line items with targeting expressions. -
This error occurs within the
ForecastService
and other Google Ad Manager services. -
It highlights issues such as targeting and excluding the same inventory, targeting child units when ancestors are targeted/excluded, and restrictions on explicitly targeted or landing page-only ad units.
-
Reasons for the error are indicated by the
reason
field with specific enum values. -
This error extends the base
ApiError
which provides details about the error's location and cause.
Lists all inventory errors caused by associating a line item with a targeting expression.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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
|