AI-generated Key Takeaways
-
InventoryTargetingError is an error that occurs when associating a line item with a targeting expression related to inventory.
-
This error inherits from the ApiError class, including fields like fieldPath, fieldPathElements, trigger, and errorString.
-
Specific reasons for InventoryTargetingError are detailed, including issues with required placements or inventory units, targeting and excluding the same inventory, ancestor/child inventory relationships, and self-only inventory units.
-
Other specific reasons relate to targeting explicitly targeted inventory units, YouTube audience segments with incorrect inventory, and an unknown error state.
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
|