send_microsoft_ads_offline_conversions
Send offline + enhanced conversions to Microsoft destructive
Description
Tell Microsoft Advertising about conversions that happened OFF the website — a phone sale, an in-store purchase, a lead that closed weeks after the click — so smart bidding on that account stops optimising against only what converted online. Each row needs conversionName (an existing OFFLINE conversion goal, matched by name — list_microsoft_ads_conversion_goals shows them), conversionTime (within the last 90 days AND after the click), and an identifier: either microsoftClickId (the msclkid Microsoft appends to the landing-page URL) or, for ENHANCED conversions, a plain email and/or phone. YOU PASS PLAIN VALUES AND THE HASHING HAPPENS SERVER-SIDE: emails are normalized and SHA-256’d to Microsoft’s own published five-step spec, which is verified against Microsoft’s own worked digests. A PHONE MUST ALREADY CARRY ITS COUNTRY CODE (+14255551234) and is refused otherwise — Microsoft’s spec says "normalize to E.164 format with country code" and stops there, and guessing which country a bare 4255551234 belongs to is not a mistake you would ever see: the upload succeeds and matches nobody. SAY THIS WHEN REPORTING: accepted is not the same as visible. Microsoft takes up to 6 hours to show offline conversion data and applies nothing at all in the first 2 hours after a goal is created, and a conversion only counts inside the goal’s own conversion window. Duplicates are silently ignored (the first wins), so re-sending a batch is safe and changes nothing. 0 credits.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Microsoft ad account id — omit to use the single shared account |
accountId | string | older name for adAccountId (MCP only) |
conversionName | string | default goal name for every row that does not carry its own |
conversionsrequired | object[] | up to 1000 per request — Microsoft applies each request independently |
conversions[].conversionName | string | must match an existing Microsoft OFFLINE conversion goal exactly |
conversions[].conversionTimerequired | string | ISO 8601 — within the last 90 days, and later than the click |
conversions[].microsoftClickId | string | the msclkid. Optional only when an email or phone is supplied |
conversions[].email | string | a PLAIN email address (hashed here), or a SHA-256 digest you already hold |
conversions[].phone | string | E.164 WITH the country code, e.g. +14255551234, or a digest. A number without a country code is refused rather than guessed |
conversions[].conversionValue | number | defaults to the goal’s own revenue setting |
conversions[].conversionCurrencyCode | string | 3-letter ISO code; defaults to the goal’s currency |
conversions[].externalAttributionCredit | number | the fraction of the conversion this click gets, >0 and ≤1. Only for goals configured for external attribution, and only together with externalAttributionModel |
conversions[].externalAttributionModel | string | name of the external attribution model; only with externalAttributionCredit |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/send_microsoft_ads_offline_conversions.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_microsoft_ads_offline_conversions","arguments":{"conversions":"<array>"}}}
CLI
hermoso call send_microsoft_ads_offline_conversions --json '{"conversions":"<array>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
list_microsoft_ads_conversion_goalsMicrosoft Advertising conversion goalsmicrosoft_ads_auction_insightsWho else is bidding on the same Microsoft auctionsmicrosoft_ads_bulk_uploadApply a Microsoft Advertising bulk file (spend-gated)microsoft_ads_bulk_downloadExport a Microsoft Advertising account as a bulk file