enum LineItemActivityAssociationError.Reason (v202411)

  • LineItemActivityAssociationError outlines reasons for errors when associating activities with line items in Google Ad Manager.

  • Errors can occur due to mismatched advertiser between activity and line item, or if the line item's cost type isn't CPA.

  • The error also provides an UNKNOWN reason for cases where the specific issue isn't exposed by the 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.