AI-generated Key Takeaways
-
InventoryTargetingError lists all errors related to associating a line item with a targeting expression in the Ad Manager API.
-
This error type inherits from ApiError and includes fields such as fieldPath, trigger, and errorString for detailed error information.
-
Specific reasons for InventoryTargetingError are provided through an enumeration, including issues like required placements/inventory units, conflicting targeting/exclusion, and hierarchical targeting constraints.
-
Enumerated reasons cover scenarios such as targeting/excluding ancestor/child inventory units, explicitly targeted units, landing page-only ad units, and targeting YouTube audience segments with specific inventory.
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
|