enum LineItemActivityAssociationError.Reason (v202411)

  • LineItemActivityAssociationError indicates issues associating activities with line items in Google Ad Manager.

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

  • The error details the cause of the association failure, such as incorrect advertiser or cost type.

  • This error is relevant to services like ForecastService, LineItemService, LineItemTemplateService, and OrderService.

  • Detailed information on specific error reasons is provided in the enumeration.

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.