enum LineItemActivityAssociationError.Reason (v202411)

  • The LineItemActivityAssociationError enum outlines reasons why associating activities with line items might fail within Google Ad Manager.

  • Errors can occur due to advertiser mismatch, incompatible cost types, or unknown reasons.

  • Specifically, associating activities with line items requires the activity and line item to belong to the same advertiser and the line item to have a CostType of CPA.

  • The provided namespace and enumeration values offer developers detailed information for troubleshooting and handling these errors in their integrations.

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.