enum LineItemActivityAssociationError.Reason (v202508)

  • LineItemActivityAssociationError lists reasons for errors when associating activities with line items.

  • The activity must belong to the same advertiser as the line item to be associated.

  • Only line items with CostType.CPA can have activities associated with them.

  • The UNKNOWN value is returned for reasons not exposed in the requested API version.

The reasons for the target error.


Namespace
https://www.google.com/apis/ads/publisher/v202508
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.