enum LineItemActivityAssociationError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
LineItemActivityAssociationError.Reason is an enumeration detailing reasons for errors when associating activities with line items in Google Ad Manager.
An activity must belong to the same advertiser as the line item to be associated.
Activities can only be associated with line items having a CostType.CPA.
The UNKNOWN value is returned if the actual error reason is not exposed by the requested API version.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The provided content details the `LineItemActivityAssociationError` and its reasons within the context of several services: `ForecastService`, `LineItemService`, `LineItemTemplateService`, and `OrderService`. Key information includes error conditions: `INVALID_ACTIVITY_FOR_ADVERTISER`, indicating mismatched advertisers between activities and line items, and `INVALID_COST_TYPE_FOR_ASSOCIATION`, which specifies that activities can only link to line items with `CostType.CPA`. An `UNKNOWN` value is also present for cases where the actual value is hidden. These definitions are under a specific namespace.\n"]]