AI-generated Key Takeaways
-
InventoryTargetingError lists errors related to associating a line item with a targeting expression.
-
This error type inherits from ApiError and includes specific details about the field path, trigger, and a simple error string.
-
Reasons for InventoryTargetingError include issues like requiring at least one placement or inventory unit, targeting and excluding the same inventory, or targeting a child inventory unit when an ancestor is targeted or excluded.
-
Other reasons involve explicitly targeted inventory units, landing page-only ad units, and targeting YouTube audience segments without YouTube shared inventory.
-
The namespace for this service is
https://www.google.com/apis/ads/publisher/v202508
.
Lists all inventory errors caused by associating a line item with a targeting expression.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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
|