AI-generated Key Takeaways
-
LineItemOperationError lists errors for executing operations on line items within various services like ForecastService, LineItemService, and OrderService.
-
This error type inherits from ApiError and includes specific fields like
reason
which is represented by an enum indicating the cause of the error. -
Possible reasons for a LineItemOperationError include lack of permissions, operation not being applicable, the line item being completed, or issues with creatives, company credit status, or activation/deletion restrictions.
-
The
ApiError
inheritance provides fields likefieldPath
,fieldPathElements
,trigger
, anderrorString
to help identify the cause of the error.
Lists all errors for executing operations on line items
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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
|