hermosodocs

send_microsoft_ads_offline_conversions

Send offline + enhanced conversions to Microsoft destructive

Area: MICROSOFT BULK SERVICE + MEASUREMENT · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
adAccountIdstringMicrosoft ad account id — omit to use the single shared account
accountIdstringolder name for adAccountId (MCP only)
conversionNamestringdefault goal name for every row that does not carry its own
conversionsrequiredobject[]up to 1000 per request — Microsoft applies each request independently
conversions[].conversionNamestringmust match an existing Microsoft OFFLINE conversion goal exactly
conversions[].conversionTimerequiredstringISO 8601 — within the last 90 days, and later than the click
conversions[].microsoftClickIdstringthe msclkid. Optional only when an email or phone is supplied
conversions[].emailstringa PLAIN email address (hashed here), or a SHA-256 digest you already hold
conversions[].phonestringE.164 WITH the country code, e.g. +14255551234, or a digest. A number without a country code is refused rather than guessed
conversions[].conversionValuenumberdefaults to the goal’s own revenue setting
conversions[].conversionCurrencyCodestring3-letter ISO code; defaults to the goal’s currency
conversions[].externalAttributionCreditnumberthe fraction of the conversion this click gets, >0 and ≤1. Only for goals configured for external attribution, and only together with externalAttributionModel
conversions[].externalAttributionModelstringname 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.

All 759 Ad campaign management tools · tools.json