enum LineItemActivityAssociationError.Reason (v202508)

  • LineItemActivityAssociationError indicates errors related to associating activities with line items within Ad Manager.

  • Common errors include associating an activity with an advertiser different from the line item's advertiser or associating activities with line items that are not of CostType.CPA.

  • An UNKNOWN value signifies that the specific error reason is not available 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.