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."],[],["The `LineItemActivityAssociation` links a `LineItem` with an `Activity` to track conversions. This requires specifying the `activityId`, `clickThroughConversionCost`, and `viewThroughConversionCost`. Costs, represented as `Money`, are attributed to each conversion type and must align with the `LineItem`'s currency. This association enables counting `Activity` conversions against a specific `LineItem`. These elements are within the `ForecastService` and `LineItemService`.\n"],null,["# type LineItemActivityAssociation (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.LineItemActivityAssociation) **LineItemService** **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202502/LineItemService.LineItemSummary) \n▼\n**LineItemActivityAssociation**\n\nA `LineItemActivityAssociation` associates a [LineItem](/ad-manager/api/reference/v202502/LineItemService.LineItem) with an `Activity` so\nthat the conversions of the `Activity` can be counted against the [LineItem](/ad-manager/api/reference/v202502/LineItemService.LineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|----------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `activityId` | ` `xsd:`int` The ID of the `Activity` to which the [LineItem](/ad-manager/api/reference/v202502/LineItemService.LineItem) should be associated. This attribute is required. |\n| ### `clickThroughConversionCost` | ` `[Money](/ad-manager/api/reference/v202502/LineItemService.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/v202502/LineItemService.LineItem). |\n| ### `viewThroughConversionCost` | ` `[Money](/ad-manager/api/reference/v202502/LineItemService.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/v202502/LineItemService.LineItem). |"]]