Skip to main content
SendGrid → Microsoft AdsIntegration guide

Connecting SendGrid to Microsoft Ads

SendGrid carries both transactional and marketing mail through one account, which is convenient operationally and the source of the measurement problem: only one of those two streams has anything to do with acquisition. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the SendGrid send before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

SendGrid-tagged orders and Microsoft Ads offline conversion imports

Upload every order with a stored MSCLKID to Microsoft Ads as an offline conversion, flagging in your own data which had a tagged SendGrid click in between. Only write the MSCLKID when the URL contains one. Audit UET destination-URL goals matching order-status pages your SendGrid receipts link to, and replace them with event goals or the import.

When an order follows both a Microsoft search click and a later SendGrid campaign click, Microsoft will accept the upload as long as the MSCLKID is inside its window, while your own reporting may credit email. Both are true in a sense. Decide in advance which system's number drives the Microsoft budget, and send every order with a stored MSCLKID regardless, flagging in your own data which ones had a tagged SendGrid click in between.

The mechanical failure is a nulled identifier. A SendGrid campaign click lands with email UTMs and no MSCLKID, and code that refreshes the stored click data on each visit replaces the real value with an empty one. Only write the MSCLKID when the URL actually contains one, and never clear it on a visit that lacks one.

The Microsoft-specific failure involves transactional mail. UET destination-URL goals that match order-status, account or download pages fire every time a customer clicks a SendGrid receipt or shipping notification to check on an order. Those page visits look like conversions from whatever Microsoft click is still in the cookie window. Audit which UET goals use URL rules, compare their paths against the links in your transactional templates, and replace any overlap with an event goal or the offline import from the order system.

SendGrid → Microsoft Ads · what breaks

Why this join usually fails — SendGrid → Microsoft Ads

  1. 01

    The MSCLKID never reaches SendGrid

    Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.

  2. 02

    Receipt clicks credited to email marketing

    A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.

  3. 03

    Auto-tagging switched off

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  4. 04

    Nothing reconciles afterwards

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

SendGrid → Microsoft Ads · the fix

What working looks like — SendGrid → Microsoft Ads

  • The MSCLKID on every message

  • Conversions arriving in Microsoft Ads

    Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.

  • Reconciled against the source

SendGrid → Microsoft Ads · architecture

How SendGrid and Microsoft Ads actually connect

  1. 1

    SendGrid holds the truth

    A receipt and a promotional campaign are both an email in the same account. Only the campaign can plausibly have caused a purchase, and only if the purchase carries the campaign's identifier.

  2. 2

    Microsoft Ads needs a click to match

    Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.

  3. 3

    The identifier is the bridge

    The MSCLKID, captured at the visit and carried into the SendGrid send.

  4. 4

    The event source decides reliability

    Send orders with the marketing campaign attributed where a tagged click preceded them.

  5. 5

    Deduplication at the destination

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

SendGrid → Microsoft Ads · normal or broken

Working vs. broken, side by side — SendGrid → Microsoft Ads

Normal, not a fault

  • The MSCLKID present on the message

  • Sent from your order system

  • Deduplicated correctly

    Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.

  • Reconciles with the source

Actually broken

  • The MSCLKID missing on most records

    Marketing clicks land with tracking parameters; transactional clicks generally do not, and both arrive on the same domain.

  • Sent from the browser

    A customer clicking through their own order confirmation to check delivery is not an email marketing conversion. Untagged transactional traffic pooled with marketing makes the channel look far better than it is.

  • Counted twice, or not at all

    Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.

  • Nobody has reconciled it

SendGrid → Microsoft Ads · diagnose

Diagnostic order — SendGrid → Microsoft Ads

  1. 01

    Count messages carrying the MSCLKID

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether transactional links carry campaign parameters

    If they do, every receipt click is being credited to email and the channel's reported performance is inflated.

  4. 04

    Confirm auto-tagging is enabled and check the upload diagnostics

    One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.

  5. 05

    Read the match rate, not the success message

    Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.

SendGrid → Microsoft Ads · prove

How it gets proven — SendGrid → Microsoft Ads

Source of truth

Your order system, with marketing sends distinguished from transactional ones.

  • The MSCLKID confirmed present on a live message.
  • Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
  • Orders from tagged marketing clicks reconciled against imported conversions, with transactional traffic excluded.

SendGrid → Microsoft Ads · free audit

What we check in the free audit

  • Count messages carrying the MSCLKID
  • Follow one real conversion end to end
  • Check whether transactional links carry campaign parameters
  • Confirm auto-tagging is enabled and check the upload diagnostics
  • Read the match rate, not the success message

Checked against

Your order system, with marketing sends distinguished from transactional ones.

Get my free conversion tracking audit

Free30 minutesNo obligation

SendGrid → Microsoft Ads · when not to buy

When you don't need this — SendGrid → Microsoft Ads

  • Measure identifier coverage yourself first — pull your last hundred messages and count how many carry the MSCLKID.
  • If you send only transactional mail, there is no marketing channel here to measure.
  • If you are not running Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.

SendGrid → Microsoft Ads · what we deliver

What gets built — SendGrid → Microsoft Ads

  • Identifier capture into SendGrid

    Tag marketing links explicitly and attribute purchases from those; treat transactional traffic as returning customers, not as a channel.

  • Event source: your order system

    Send orders with the marketing campaign attributed where a tagged click preceded them.

  • Dispatch to Microsoft Ads

    Offline conversion import through the Microsoft Advertising API or a scheduled upload.

  • Reversals where they exist

    Refunds reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your order system, with marketing sends distinguished from transactional ones.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

SendGrid → Microsoft Ads questions, answered

A UET destination-URL goal probably matches the order-status page that SendGrid receipt links point to. Switch that goal to an event or offline import from the order system.

Free · 30 min

Get SendGrid and Microsoft Ads joined properly

Free30 minutesNo obligation