AI-generated Key Takeaways
-
InventoryTargetingError
objects detail inventory-related errors encountered when associating a line item with a targeting expression. -
These errors often involve conflicts or restrictions in targeting or excluding inventory units and placements, such as targeting a child unit when its parent is already targeted.
-
InventoryTargetingError
encompasses various reasons for these errors, including requiring at least one placement or inventory unit, conflicts between targeting and exclusion, and restrictions on targeting specific inventory types like landing page-only ad units or YouTube shared inventory. -
The
reason
field within anInventoryTargetingError
provides a specific enum value indicating the nature of the inventory targeting issue, aiding in troubleshooting and resolution. -
This error relates to the Google Ad Manager API and helps developers understand and address issues with inventory targeting within their advertising campaigns.
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
|