Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
AttributionModel
Stay organized with collections
Save and categorize content based on your preferences.
The attribution model that describes how to distribute credit for a particular conversion across potentially many prior interactions.
codeProto definition
| Enums |
EXTERNAL
|
Uses external attribution. |
GOOGLE_ADS_LAST_CLICK
|
Attributes all credit for a conversion to its last click. |
GOOGLE_SEARCH_ATTRIBUTION_DATA_DRIVEN
|
Flexible model that uses machine learning to determine the appropriate distribution of credit among clicks using Google Search attribution. |
GOOGLE_SEARCH_ATTRIBUTION_FIRST_CLICK
|
Attributes all credit for a conversion to its first click using Google Search attribution. |
GOOGLE_SEARCH_ATTRIBUTION_LINEAR
|
Attributes credit for a conversion equally across all of its clicks using Google Search attribution. |
GOOGLE_SEARCH_ATTRIBUTION_POSITION_BASED
|
Attributes 40% of the credit for a conversion to its first and last clicks. Remaining 20% is evenly distributed across all other clicks. This uses Google Search attribution. |
GOOGLE_SEARCH_ATTRIBUTION_TIME_DECAY
|
Attributes exponentially more credit for a conversion to its more recent clicks using Google Search attribution (half-life is 1 week). |
UNKNOWN
|
Used for return value only. Represents value unknown in this version. |
UNSPECIFIED
|
Not specified. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.
[[["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 2026-01-22 UTC."],[],[]]