enum LineItemActivityAssociationError.Reason (v202505)

  • LineItemActivityAssociationError.Reason is an enumeration detailing reasons for errors when associating an activity with a line item.

  • Activities can only be associated with line items that have a cost type of CPA.

  • An activity must belong to the same advertiser as the line item to which it is being associated.

The reasons for the target error.


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