kanat

How Google Ads decides where a click goes

When someone clicks an ad, Google Ads has to decide two things. First: which page should this specific click open? That is not always just "the link from the ad". Sometimes the same ad copy can lead to different pages for different search queries.

Then Google Ads applies tracking options so the visit can be measured: source, device, campaign, click id, and similar values. We will build up to that step by step: first the parts of the Google Ads model, then where URLs live in that model, and only after that how Final URL selection works.

The Google Ads Model

Google Ads is not one flat list of ads. It is a hierarchy. Ads live inside several levels, and each lower level sits closer to a specific impression.

Start by seeing the structure as a whole. After the diagram, we will unpack what each level means and why it exists.

Account

Separate ad space for one business, brand, or client

Campaign

One advertising job with a goal, budget, and delivery rules

Ad group

One concrete theme with ads and the rules that make them eligible

Ad

The specific ad a user can see

Search keyword

A serving condition that connects a query to an ad group

Sitelink

An additional link that can be clicked from the same impression

Account

At the top is the account: the separate advertising workspace for one business, brand, or client.

Account keeps one advertising setup separate from another. It contains this advertiser's campaigns, user access, billing settings, some shared settings, and advertising data. That is why an agency does not mix several clients in the same account: each client has different budgets, permissions, reports, and ownership.

The main role of an account: show whose advertising this is and who owns everything below it.

Campaign

Inside an account, advertising is usually split into separate jobs. A campaign puts one of those jobs into its own container: selling a product line, collecting leads, running brand traffic, targeting a specific geography, or testing a new channel.

The campaign level sets the broad frame: channel, budget, geography, schedule, bidding strategy, and optimization goal. A campaign does not describe one specific ad yet; it sets the rules for everything inside that campaign.

In plain terms, a campaign answers this: what advertising job are we running, and under which shared rules?

Ad group

One campaign is often too broad to keep all ads together. Inside a campaign, an ad group separates one concrete theme or a set of closely related searches.

An ad group keeps the ads for that theme next to the conditions that make those ads relevant. In Search, those conditions are usually keywords.

This gives Google Ads a narrower place to look: for this theme or group of searches, consider ads from here, not from some other part of the campaign.

Ad

A user does not see the campaign or the ad group. They see a specific ad: the message Google Ads can show in an ad slot.

The ad turns the structure and settings into actual creative: headlines, copy, images, assets, and the ad format.

One ad group can contain several ads. Those ads can be tested against each other, and Google Ads can choose the ad that fits a specific impression best.

The short role of an ad: what exactly do we show the user.

Search keyword

In Search, search keywords sit inside the ad group next to the ads. They describe which search queries belong to that ad group's theme.

The user does not see or click a keyword. The user types a query into Google, for example "warm winter boots". A keyword is an advertiser setting that tells Google Ads: searches like this belong to this theme.

For example, if an ad group is built around winter boots, it may contain keywords like "winter boots", "warm boots", or "snow boots". When someone searches for "warm winter boots", Google Ads compares that query with the keywords in the ad group. The match does not have to be word-for-word; it depends on how matching is configured.

If the query matches one of the keywords, that keyword becomes the matched keyword for the impression. That means the user's query has been assigned to this ad group, and Google Ads can consider the ads in it for display.

The role of a search keyword: connect what the person searched for with the ad group's theme. It helps Google Ads understand which ads from that group fit the user's search intent.

Sitelink

A sitelink is an additional link that can appear with an ad. The user can click not only the main ad headline, but also that separate link.

A sitelink usually leads to a specific page: for example "Store hours", "Sale", "Contact us", or a separate category. That is why a sitelink can have its own URL and its own URL options.

Sitelinks can be attached at different levels of the account, such as account, campaign, or ad group. In this model, a sitelink is shown as a separate click path that can appear next to the ad.

The role of a sitelink: give the user an additional path from the same ad impression. If the click was on a sitelink, the click destination comes from that sitelink, not from the main ad.

How the click destination is set

Now add destination pages to the model.

An ad has a page it sends the user to after the click. In Google Ads, that field is called the Final URL. In the simplest case, that is enough: the user sees an ad, clicks it, and the click opens that ad's page.

In Search, the user's query can be matched to a keyword. If that keyword has its own Final URL, the click can open the keyword page instead of the ad page. That is useful when one ad fits the broad theme, but some searches should land on more specific pages.

At this step, the important thing is to see where those fields live in the model. The rule for choosing between ad and keyword comes next.

Account

Campaign

Ad group

Ad

  • Final URL
  • Mobile Final URL

Search keyword

  • Final URL
  • Mobile Final URL

Sitelink

  • Final URL
  • Mobile Final URL

Ad Final URL

The ad Final URL is the ad's default destination page. If the click does not have a more specific matched keyword URL, Google Ads opens the ad page.

Keyword Final URL

A search keyword can also have its own Final URL. It matters for Search clicks: when the user query is matched to that keyword, the click can go to the keyword page instead of the ad's more general page.

Mobile Final URL

A Mobile Final URL is the mobile version of the page on the same object: ad, keyword, or sitelink. It does not decide which object supplies the page; it is used after that decision when the click comes from a mobile device.

Sitelink Final URL

A Sitelink Final URL is the page for a separate additional link. It does not participate in a normal click on the ad headline; it is used when the user clicks the sitelink itself.

How the Final URL is chosen

First, Google Ads chooses the base destination for the click: the ad Final URL or the Final URL of the matched search keyword.

At this point Google Ads is not building the tracking URL yet. First it has to choose the page itself: the Final URL from the ad or the Final URL from the keyword.

One configured example

Take one Search ad group for winter boots. Several pages are already configured: the ad has a Final URL, the search keyword has a Final URL too, and the sitelink leads to its own page. Google Ads does not use all of them at once. For each click, it chooses one source for the destination page.

Below are two normal clicks on the ad. If the user clicks the sitelink instead, that is a separate click path: the page comes from the sitelink.

Account"Shop account"

Campaign"Winter boots"

Ad group"Search ad group"

Theme: winter boots

Ad"Shop winter boots"

Final URL
https://shop.example.com/winter-boots

Search keyword"kids snow boots"

Final URL
https://shop.example.com/kids/snow-boots

Sitelink"Store hours"

Final URL
https://shop.example.com/stores

Case 1: the page comes from the ad

The user searches for "winter boots". Google Ads shows the winter boots ad, and the user clicks that ad. In this configured example, the only keyword with its own page is "kids snow boots", but the query "winter boots" is not about kids' snow boots and does not use that keyword.

So this click has no keyword that supplies a more specific Final URL. Google Ads uses the Final URL set on the ad itself.

Result: https://shop.example.com/winter-boots.

Case 2: the page comes from the keyword

The user searches for "kids snow boots". That query is matched to the "kids snow boots" keyword, and Google Ads shows the same winter boots ad from this ad group. The user sees the ad and clicks the ad, not the keyword.

On the click, Google Ads looks at the matched keyword. That keyword has its own Final URL, and this URL is more specific to "kids snow boots" than the general winter boots page on the ad. So the click goes to the keyword Final URL, not the ad Final URL.

Result: https://shop.example.com/kids/snow-boots.

How tracking is added

The Final URL has already been selected. Now Google Ads looks at URL options: they do not change the destination page, but add tracking to the selected URL.

These fields live on different levels of the model you already saw. Higher levels are useful for shared rules, such as one tracking template for a campaign or the whole account. Lower levels are useful when a specific ad, search keyword, or sitelink needs to refine tracking for its own click.

A sitelink is a separate clickable path next to the main ad. It can be attached at different levels, but if the user clicks the sitelink itself, that sitelink can have its own URL options.

The important part is not to mix this with destination selection. Tracking template, suffix, custom parameters, and auto-tagging work after the Final URL has been chosen. ValueTrack substitutions live inside the template. These fields do not answer "where should the user go?" They answer "how should this visit be measured?"

Account

  • tracking template
  • final URL suffix
  • auto-tagging

Campaign

  • tracking template
  • final URL suffix
  • custom parameters

Ad group

  • tracking template
  • final URL suffix
  • custom parameters

Ad

  • tracking template
  • final URL suffix
  • custom parameters

Search keyword

  • tracking template
  • final URL suffix
  • custom parameters

Sitelink

  • tracking template
  • final URL suffix
  • custom parameters

Tracking template

A tracking template defines the URL pattern used to track the click. It does not choose the destination page; it tells Google Ads how to build a tracking URL around the Final URL that has already been selected.

The key part of the template is {lpurl}. It is not a UTM tag or an analytics parameter. It is the placeholder for the already selected Final URL: "insert the click destination here".

For example, if the selected page is https://shop.example.com/kids/snow-boots, that exact URL replaces {lpurl}.

There are other ways to insert the Final URL, such as {escapedlpurl} or {lpurl+2}, when the URL needs escaping for a redirect chain.

A template can also contain ValueTrack substitutions. These values come from the click context in Google Ads. Common examples:

{device}: m — mobile, t — tablet, c — computer.

{matchtype}: e — exact, p — phrase, b — broad, a — AI Max keywordless.

{keyword}: the keyword from the account that matched the search query. If the impression happened without a keyword, the value can be empty.

Other ValueTrack values can insert campaign, ad, network, or serving-target identifiers. Those are useful for reporting, but the important idea here is the same: the template is filled from the click context.

A template can also reference custom parameters, such as {_segment}. The placeholder sits inside the template, while the value is stored separately: the advertiser defines it ahead of time on a campaign, ad group, ad, keyword, or sitelink.

A sitelink can have its own URL options too. They matter for a click on the sitelink itself, not for a normal click on the ad headline.

final URL suffix

The final URL suffix attaches parameters to the end of the landing page URL.

This is often where UTM tags and similar analytics parameters live. A suffix is useful when you want to add the same parameters without rewriting the Final URL itself.

A sitelink can have its own suffix for clicks on that additional link.

Custom parameters

Custom parameters are advertiser-defined values, for example {_market}=us.

On their own, they do not add anything to the URL. Google Ads uses a custom parameter only when the selected tracking template or Final URL references it, for example when the template contains {_market}. If the selected URL inputs do not contain that placeholder, the custom parameter value does not appear in the URL.

Custom parameters can be set on campaign, ad group, ad, keyword, and sitelink. They are not set at the account level. If the same name exists on several levels, Google Ads uses the most specific value for the current click.

Auto-tagging

Auto-tagging is an account-level setting. It lets Google Ads add a click id, such as GCLID.

It is not a template and not a suffix. The advertiser does not manually write this parameter into every URL; Google Ads adds the identifier itself when auto-tagging is enabled and applies to the click.

The same example, now with tracking fields

Take the same Search click: the user searches for "kids snow boots", Google Ads shows the winter boots ad, and the matched keyword chooses the more specific Final URL. Now add the fields that handle tracking to the same model.

In this example, URL options are filled at several levels, and a few lower-level fields are intentionally left empty. That makes the next step easier to see: Google Ads chooses values for this click field by field.

Account"Shop account"

tracking template
src=account
auto-tagging
on
final URL suffix
level=account

Campaign"Winter boots"

tracking template
src=campaign
final URL suffix
level=campaign
custom parameter
{_segment}=winter

Ad group"Search ad group"

tracking template
src=adgroup + device + segment
final URL suffix
level=adgroup
custom parameter
{_segment}=group

Ad"Shop winter boots"

tracking template
not set
final URL suffix
level=ad
custom parameter
{_segment}=ad
Final URL
/winter-boots

Search keyword"kids snow boots"

tracking template
not set
final URL suffix
level=keyword
custom parameter
{_segment}=kids
Final URL
/kids/snow-boots

Sitelink"Store hours"

tracking template
src=sitelink
final URL suffix
level=sitelink
custom parameter
{_segment}=store
Final URL
/stores

For this main ad click, the base page is already /kids/snow-boots. The sitelink is shown as a separate clickable path, but it is not part of this click.

Now Google Ads resolves only the URL options that still matter: the tracking template, the Final URL suffix, and the custom parameter value used by the template.

Resolve the URL options

Tracking template

Values on this click path

Accountsrc=account
Campaignsrc=campaign
Ad groupsrc=adgroup + device + segment
Adnot set
Matched keywordnot set

Used

Ad group

src=adgroup + device + segment

Ad and keyword templates are not set, so the ad group template is used.

Final URL suffix

Values on this click path

Accountlevel=account
Campaignlevel=campaign
Ad grouplevel=adgroup
Adlevel=ad
Matched keywordlevel=keyword

Used

Matched keyword

level=keyword

This suffix is attached to the selected landing page URL before the template is filled.

Custom parameter {_segment}

Values on this click path

Campaignwinter
Ad groupgroup
Adad
Matched keywordkids

Used

Matched keyword

kids

The template references {_segment}, so Google Ads uses the matched keyword value.

Assemble the click URL

Now Google Ads combines the selected page with the resolved URL options.

  1. 1

    Start with the selected page

    https://shop.example.com/kids/snow-boots
  2. 2

    Attach the selected suffix

    +

    final URL suffix

    level=keyword

    Landing page URL

    https://shop.example.com/kids/snow-boots?level=keyword
  3. 3

    Fill the tracking template

    Selected pattern

    {lpurl}?src=adgroup&device={device}&segment={_segment}
    {lpurl}
    https://shop.example.com/kids/snow-boots?level=keyword
    {device}
    c
    {_segment}
    kids

    Because the landing page URL already has query parameters, the template continues with &.

    Template result

    https://shop.example.com/kids/snow-boots?level=keyword&src=adgroup&device=c&segment=kids
  4. 4

    Add auto-tagging

    +

    auto-tagging

    gclid=TEST123

    Final URL

    https://shop.example.com/kids/snow-boots?level=keyword&src=adgroup&device=c&segment=kids&gclid=TEST123

What to remember

Google Ads does not rely on one URL field for every click. It combines the selected Final URL with the URL options that apply to that click.

First, Google Ads determines the click context: which ad was shown, whether there was a matched keyword, whether the click was on a sitelink, and what device the user came from.

Then it chooses the Final URL: the configured page field that supplies the base destination. Usually it comes from the ad, but a search keyword or a sitelink can have a more specific URL.

After that, Google Ads applies URL options. The final URL suffix becomes part of the landing page URL; the tracking template can use ValueTrack and custom parameter values around that landing page URL; and auto-tagging can add a click id.

That is where Google Ads' URL work for the click ends. With parallel tracking, the user can be sent directly to the landing page while click measurement happens separately. After that, the website may redirect, change the path, or handle query parameters in its own way.

Too much URL logic to keep straight by hand?

Kanat turns it into click paths to check. Leave your email for early access.

No Google Ads access needed yet.