hermosodocs

apply_microsoft_ads_customer_list

Upload customer emails into a Microsoft Customer Match list destructive

Area: Microsoft Advertising: negatives, bidding, conversion tracki… · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Upload customer emails into a Microsoft Advertising Customer Match list so campaigns can target or exclude them. YOU PASS PLAIN EMAIL ADDRESSES — Hermoso normalizes and SHA-256 hashes them locally and sends ONLY the digests, so no plaintext ever leaves the server; values that arrive already hashed (64 hex characters) are passed through untouched. Microsoft's own normalization is applied exactly as published: trim, remove all dots from the user portion, remove any +alias, lowercase, then SHA-256. YOU MUST GET THE USER'S AGREEMENT FIRST: show them https://about.ads.microsoft.com/en-us/legal/customer-match-terms and only then call with acceptTerms:true, which Microsoft says 'eliminates the need to accept terms through the Microsoft Advertising UI' — without it nothing is uploaded and nothing is hashed. action is Add (additive, the default), Remove or Replace. Maximum 1000 items per call; page larger lists. Email is the only supported identifier — Microsoft publishes Phone and CRM as 'Not currently supported' and both are refused by name. DO NOT read a size of 0 afterwards as a failure: Microsoft leaves it empty for up to 48 hours while the audience builds. 0 credits.

Parameters

ParameterTypeDescription
adAccountIdstringMicrosoft ad account id — omit to use the single shared account
accountIdstringolder name for adAccountId (MCP only)
audienceIdrequiredstringthe customer list to write into
emailsstring[]PLAIN email addresses — normalized and SHA-256 hashed inside Hermoso, never sent as plaintext. Already-hashed 64-hex values pass through untouched. Maximum 1000 per call
action"Add" | "Remove" | "Replace"Add (default) is additive across calls
subType"Email"Email is the only identifier Microsoft supports here — it publishes Phone and CRM as “Not currently supported”
acceptTermsbooleanREQUIRED true — the user must agree to Microsoft’s Customer Match terms first. Without it nothing is uploaded and nothing is hashed

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/apply_microsoft_ads_customer_list.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"apply_microsoft_ads_customer_list","arguments":{"audienceId":"<string>"}}}

CLI

hermoso call apply_microsoft_ads_customer_list --json '{"audienceId":"<string>"}'

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