AI-generated Key Takeaways
-
LineItemActivityAssociationError reasons are provided for target errors in ForecastService, LineItemService, LineItemTemplateService, and OrderService.
-
The enumeration lists the reasons for the LineItemActivityAssociationError, including
INVALID_ACTIVITY_FOR_ADVERTISER,INVALID_COST_TYPE_FOR_ASSOCIATION, andUNKNOWN. -
INVALID_ACTIVITY_FOR_ADVERTISERoccurs when an activity associated with a line item does not belong to the same advertiser. -
INVALID_COST_TYPE_FOR_ASSOCIATIONindicates that activities can only be linked with line items ofCostType.CPA. -
UNKNOWNis the value returned if the actual value is not available in the requested API version.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
| Enumeration | Description |
|---|---|
INVALID_ACTIVITY_FOR_ADVERTISER
|
When associating an activity to a line item the activity must belong to the same advertiser as the line item. |
INVALID_COST_TYPE_FOR_ASSOCIATION
|
Activities can only be associated with line items of CostType.CPA.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |