Microsoft Ads UTM builder

A string for your Final URL suffix, with Microsoft filling in the campaign, ad and keyword on every click.

Standard parameters
utm_sourceYour own
utm_mediumYour own
utm_campaign
{Campaign}
utm_id
{CampaignId}
utm_content
{AdId}
utm_term
{keyword:unknown}
utm_source=bing&utm_medium=cpc&utm_campaign={Campaign}&utm_id={CampaignId}&utm_content={AdId}&utm_term={keyword:unknown}

An example click: utm_source=bing&utm_medium=cpc&utm_campaign=Spring+Sale&utm_id=418823901&utm_content=82735510294&utm_term=crm+software

What each part does

Each parameter, what it holds, and who fills it in. With these values, GA4 files the clicks as Paid Search.

ParameterWhat it holdsFilled in by
utm_sourceWhere the click came fromYou
utm_mediumThe kind of trafficYou
utm_campaignThe campaign's nameMicrosoft, as {Campaign}
utm_idThe campaign IDMicrosoft, as {CampaignId}
utm_contentThe ad IDMicrosoft, as {AdId}
utm_termThe keyword, or unknownMicrosoft, as {keyword:unknown}
numbat_groupThe ad group's nameNumbat onlyMicrosoft, as {AdGroup}
numbat_group_idThe ad group IDNumbat onlyMicrosoft, as {AdGroupId}
numbat_ad_idThe ad IDNumbat onlyMicrosoft, as {AdId}
numbat_networkThe network the ad showed onNumbat onlyMicrosoft, as {Network}

Checked in November 2026 against Microsoft Ads's own docs and Google's GA4 channel rules and source list.

Things to know on Microsoft

Microsoft can add its own UTM tags with auto-tagging. Turn that off before you paste this string, so each click carries one set of values.

A string in the account-level Final URL suffix applies to every campaign and ad in the account, so one paste covers the account.

Where to paste it

  1. Turn off Add UTM tags to my destination URLs.
  2. Go to Campaigns > Settings > Account level options, and open Tracking.
  3. Paste the string into Final URL suffix, then save.

The full steps, with screenshots, are in the Microsoft Ads help doc.

Questions

Why bing and not microsoft?

GA4 sorts paid traffic by checking the source against Google's list of search sites. bing is on that list and microsoft is not, so microsoft lands in Paid Other instead of Paid Search.

Do I need to turn off auto-tagging?

Yes. With Add UTM tags to my destination URLs on, Microsoft adds its own UTM tags as well, and the parameters can arrive twice.

What does {keyword:unknown} do?

It sends the keyword, or unknown when there is none. Shopping and audience campaigns have no keyword, and a bare {keyword} arrives empty.

Does this change every ad?

Yes. A Final URL suffix at account level applies to every ad in the account. If a report or CRM rule uses the old source or medium, update it.

See which clicks were worth paying for

Numbat ranks your campaigns by the visitors who engage deeply with your content, not by the clicks they bring.

Start free trial