AI-generated Key Takeaways
-
ForecastService, LineItemService, LineItemTemplateService, and OrderService are relevant services for associating activities to line items.
-
The
LineItemActivityAssociationErrorindicates specific issues when trying to link activities with line items. -
This error type inherits from
ApiErrorand includes fields likefieldPath,trigger, anderrorStringfor debugging. -
Specific reasons for
LineItemActivityAssociationErrorinclude the activity not belonging to the line item's advertiser or the line item having an incompatible cost type (only CPA is allowed).
Errors specific to associating activities to 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. |
LineItemActivityAssociationError
|
|
|
The error reason represented by an enum. Enumerations
|