AI-generated Key Takeaways
-
LineItemOperationError lists all errors for executing operations on line items across various services like ForecastService, LineItemService, and OrderService.
-
This error inherits from ApiError and includes details such as the field path causing the error, the data triggering the error, and a string representation of the error.
-
LineItemOperationError has a specific reason field, which is an enum indicating why an operation failed, such as not having permissions, the line item being completed, or the line item having no active creatives.
-
Additional reasons for LineItemOperationError include restrictions on activating or deleting certain types of line items or issues related to the advertiser's company credit status.
Lists all errors for executing operations on line items
- 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. |
LineItemOperationError
|
|
|
The error reason represented by an enum. Enumerations
|