AI-generated Key Takeaways
- 
          The content provides a comprehensive overview of various services and potential errors related to inventory targeting within the Ad Manager API. 
- 
          The InventoryTargetingError, which inherits from ApiError, details issues that arise from associating a line item with a targeting expression. 
- 
          Specific reasons for InventoryTargetingError include targeting requirements, conflicts between targeting and excluding inventory units, and limitations related to inventory unit hierarchy and types. 
- 
          The document lists numerous other error types related to various aspects of the API, such as authentication, creative issues, and targeting by different criteria like geography or technology. 
- 
          Fields like fieldPath,trigger, anderrorStringwithin theApiErrorprovide details to help identify and diagnose the cause of an error.
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 
 |