AI-generated Key Takeaways
-
InventoryUnitError objects detail errors related to Ad Units within the Ad Manager API.
-
InventoryUnitError is a subclass of ApiError and inherits its properties like
fieldPath
,trigger
, anderrorString
. -
Specific reasons for InventoryUnitErrors are outlined in the
reason
field with detailed explanations. -
These errors commonly arise from issues such as explicit targeting settings, target platform conflicts, AdSense enabling, and root unit deactivation attempts.
-
This information helps developers understand and address errors encountered while managing inventory units through the API.
Lists the generic errors associated with AdUnit objects.
- 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. |
InventoryUnitError
|
|
|
Enumerations
|