AI-generated Key Takeaways
-
LineItemOperationError
objects encompass errors encountered during operations on line items, often due to permissions, line item state, or creative status. -
This error can occur across various services like ForecastService, LineItemService, and others, indicating issues with actions like activating or deleting line items.
-
Reasons for these errors include insufficient permissions, line items being completed or lacking active creatives, or problems with advertiser credit status.
-
The
reason
field provides specific details about the error, categorized by an enum with values likeNOT_ALLOWED
,HAS_COMPLETED
,CANNOT_ACTIVATE_LEGACY_DFP_LINE_ITEM
, etc. -
LineItemOperationError
inherits fromApiError
, which offers additional context through fields likefieldPath
,fieldPathElements
,trigger
, anderrorString
.
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
|