The amount of money to attribute per click through conversion. This attribute is required for
creating a LineItemActivityAssociation. The currency code is readonly and should match
the LineItem.
The amount of money to attribute per view through conversion. This attribute is required for
creating a LineItemActivityAssociation. The currency code is readonly and should match
the LineItem.
[[["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."],[[["\u003cp\u003e\u003ccode\u003eLineItemActivityAssociation\u003c/code\u003e links a LineItem with an Activity, enabling the Activity's conversions to be counted towards the LineItem's performance.\u003c/p\u003e\n"],["\u003cp\u003eThis association requires the Activity ID and the cost per click-through and view-through conversion, which should be in the LineItem's currency.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLineItemActivityAssociation\u003c/code\u003e object resides within the \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e namespace.\u003c/p\u003e\n"]]],["The `LineItemActivityAssociation` links a `LineItem` to an `Activity`, allowing conversion tracking. This requires three fields: `activityId`, `clickThroughConversionCost`, and `viewThroughConversionCost`. The `activityId` identifies the associated `Activity`. The other two attributes determine the monetary value per click-through and view-through conversion. The currency for conversion costs must align with the `LineItem`. This association supports the `ForecastService` and uses `LineItemSummary`.\n"],null,["# type LineItemActivityAssociation (v202411)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202411/LineItemService.LineItemActivityAssociation) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202411/ForecastService.LineItemSummary) \n▼\n**LineItemActivityAssociation**\n\nA `LineItemActivityAssociation` associates a [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) with an `Activity` so\nthat the conversions of the `Activity` can be counted against the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `activityId` | ` `xsd:`int` The ID of the `Activity` to which the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem) should be associated. This attribute is required. |\n| ### `clickThroughConversionCost` | ` `[Money](/ad-manager/api/reference/v202411/ForecastService.Money)` ` The amount of money to attribute per click through conversion. This attribute is required for creating a `LineItemActivityAssociation`. The currency code is readonly and should match the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |\n| ### `viewThroughConversionCost` | ` `[Money](/ad-manager/api/reference/v202411/ForecastService.Money)` ` The amount of money to attribute per view through conversion. This attribute is required for creating a `LineItemActivityAssociation`. The currency code is readonly and should match the [LineItem](/ad-manager/api/reference/v202411/ForecastService.LineItem). |"]]