Wexlyn
Back to the docs

Ad platforms

Connecting Microsoft Ads

Campaigns, ad groups, ads, daily spend; offline conversions with msclkid and hashed email/phone. Where the credentials live, the connect steps, what becomes what in Wexlyn and how to check it.

Microsoft Ads is listed under Settings → Integrations → Microsoft Ads in Wexlyn. Campaigns, ad groups, ads, daily spend; offline conversions with msclkid and hashed email/phone.

What Wexlyn reads

  • Campaigns, ad groups and ads
  • Daily spend per ad account
  • Offline conversions with msclkid and hashed email or phone

Before you start, in Microsoft Ads

  1. Sign in with the Microsoft account that manages the ad accounts.

Connect in Wexlyn

  1. Open Settings → Integrations → Microsoft Ads.
  2. Press Connect with Microsoft Ads and approve the access it asks for. The token refreshes itself; nothing to copy.

In Microsoft Ads, after connecting

  • Pick the ad accounts to track; 90 days of spend are imported.
  • Add the tracking template below under Account → Tracking template so clicks carry the campaign, ad group and ad ids.

Tag your ads

So every click carries the campaign, ad set and ad ids, add this under Account → Tracking template in Microsoft (Bing) Ads:

{lpurl}?h_campaign_id={CampaignId}&bng_id={AdGroupId}&h_ad_id={AdId}&h_keyword_id={TargetId}

Performance Max: add &bng_special_campaign=true

The app shows the same template with a copy button under Tracking → URL parameters. See URL parameters for the full list.

What becomes what

  • Clicks carry msclkid and the ids from the template; conversions go back with the click id and hashed contact data.

Check it works

The Microsoft Ads page lists the ad accounts with spend; campaigns appear under Reporting → Performance.

If something is off

  • No spend for a day: the hourly sync re-reads the last days each run; a gap closes on its own within the hour. A red banner on the integration page means the token could not be renewed: press Reconnect.
  • Wrong account or currency: pick the ad accounts to track and their currency on the integration page; reports convert everything to your reporting currency under Settings → Data.
  • Clicks not credited to ads: the URL parameters above are missing on some ads. Tracking → URL parameters shows which recent clicks arrived without ids.