enum LineItemActivityAssociationError.Reason (v202411)

  • 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, and UNKNOWN.

  • INVALID_ACTIVITY_FOR_ADVERTISER occurs when an activity associated with a line item does not belong to the same advertiser.

  • INVALID_COST_TYPE_FOR_ASSOCIATION indicates that activities can only be linked with line items of CostType.CPA.

  • UNKNOWN is 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.