AI-generated Key Takeaways
-
LineItemOperationError
objects encompass errors encountered during operations on line items within Google Ad Manager. -
These errors inherit from
ApiError
and provide details such as field path, trigger, and error string for debugging. -
A key field,
reason
, categorizes the error with specific enums likeNOT_ALLOWED
,NOT_APPLICABLE
,HAS_COMPLETED
, etc. -
The
reason
field helps pinpoint the cause of the error, whether due to permissions, line item state, or other factors. -
This error is commonly encountered while working with services such as
ForecastService
,LineItemService
, andProposalLineItemService
.
Lists all errors for executing operations on line items
- 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. |
LineItemOperationError
|
|
|
The error reason represented by an enum. Enumerations
|