AI-generated Key Takeaways
- 
          The Inventory Targeting Error lists all errors associated with applying inventory targeting to a line item. 
- 
          The error has an inherited ApiError field with details like field path, trigger, and error string. 
- 
          Specific reasons for this error are provided as enumerations, such as requiring at least one placement or inventory unit, or issues with targeting and excluding the same inventory or ancestor/descendant units. 
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 
 |