AI-generated Key Takeaways
-
InventoryTargetingError lists errors caused by associating a line item with a targeting expression.
-
It inherits from ApiError and includes fields like
fieldPath,trigger, anderrorString. -
InventoryTargetingError specifies a
reasonfield with various enumeration values detailing specific inventory targeting errors. -
Possible inventory targeting errors include requirements for placements or inventory units, conflicts between targeting and exclusion, and restrictions based on ancestor or descendant inventory units.
-
Additional reasons cover targeting explicitly targeted or landing page-only inventory units, and restrictions on using YouTube audience segments with non-YouTube inventory.
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
|