All networks
Mi

Microsoft Ads (Bing) tracking tokens & macros

Microsoft Ads (Bing) tracks clicks through Upgraded URLs, where you append curly-brace parameters to your final URL or tracking template and Microsoft swaps in the real values at click time. Adding the macros below lets ValidVisit attribute every click to its exact sub-source, then score it 0-100 for traffic quality so you can see which segments are sending real people versus invalid traffic.

Verified 2026-06-29Confirmed against the network's official documentation. Microsoft Ads (Bing) official docs

On Microsoft Ads, the identifiers that matter live in your tracking template: {CampaignID} is required and pins each click to a campaign, while {AdGroupID}, {AdId} and {keyword} narrow it down to the ad group, creative and search term that actually triggered the click. Microsoft also auto-tags every click with an msclkid click ID when auto-tagging is on, so you get a unique per-click stamp without adding a parameter yourself. Because these are plain URL parameters, no funnel hop is needed and your landing page loads exactly as before.

That granularity matters because Microsoft serves your ads beyond Bing across Syndicated Search and Audience partners, and quality varies a lot between them. Once ValidVisit ties each click to its segment and assigns a quality score, you can act on the weak ones: opt out of underperforming Syndicated Search / Audience partners, apply website exclusions where Microsoft allows them, and file invalid-click credit claims with the per-segment evidence. ValidVisit reports and scores only after the click arrives, it never blocks anything; you make the actual exclusions and opt-outs yourself inside the Microsoft Advertising dashboard.

Campaign ID *campaign
Microsoft Ads (Bing) macro
{CampaignID}
ValidVisit param
vv_campaign_id
Example
112233
Ad Group IDadset
Microsoft Ads (Bing) macro
{AdGroupID}
ValidVisit param
vv_adset_id
Example
445566
Ad IDad
Microsoft Ads (Bing) macro
{AdId}
ValidVisit param
vv_ad_id
Example
778899
Keywordkeyword
Microsoft Ads (Bing) macro
{keyword}
ValidVisit param
vv_keyword
Example
running shoes
Click ID (msclkid) *click
Microsoft Ads (Bing) macro
(auto-tagging)
ValidVisit param
msclkid
Example
abc123def

* required for Microsoft Ads (Bing) attribution.

Ready-to-use tracking URL
https://yoursite.com/landing?utm_source=microsoft-ads&utm_medium=search&vv_campaign_id={CampaignID}&vv_adset_id={AdGroupID}&vv_ad_id={AdId}&vv_keyword={keyword}&msclkid=(auto-tagging)
Acting on Microsoft Ads (Bing) invalid traffic

Use ValidVisit's per-segment evidence to opt out of weak Syndicated Search / Audience partners, apply website exclusions where allowed, and claim invalid-click credits.

Search/Audience Partner opt-out · website exclusions · refund claims
Step-by-step →

Microsoft Ads (Bing) tracking token FAQs

Which token identifies the sub-source I should watch?

{CampaignID} is the required anchor, and pairing it with {AdGroupID}, {AdId} and {keyword} lets ValidVisit roll your clicks up to the campaign, ad group, ad and keyword level. For partner quality, Microsoft's auto-tagged msclkid uniquely stamps each click so weak Syndicated Search / Audience segments stand out.

Do I need a funnel hop or special tracking script?

No. These are standard URL parameters added to your Upgraded URL final URL or tracking template. Microsoft fills in the values at click time and the user lands on your page directly, with no extra hop.

Where do I add these macros in Microsoft Ads?

Add them to your tracking template, which you can set at the account, campaign, ad group or ad/keyword level under Upgraded URLs. Make sure auto-tagging is enabled so the msclkid click ID is appended automatically.

Track Microsoft Ads (Bing) clicks — and catch the fake ones.

See which Microsoft Ads (Bing) publishers and placements send real, converting traffic vs. bots.

Just your email · no card · unsubscribe anytime · privacy policy

Free trial at launch · lock in early-access pricing

One script · raw IP never stored · GDPR legitimate-interest basis