microsoft_ads_geo_search
Find Microsoft Advertising location ids read-only
Description
Resolve country / region / city names to the Microsoft Advertising location ids that create_microsoft_ads_campaign needs. Read-only, free, 0 credits. Use it when a location ask is ambiguous ("Springfield") — this returns EVERY candidate with its id so the USER can pick, and you never guess between two places. Accepts names, ISO country codes ("CA"), or numeric location ids. Pass `query` as ONE ask (a plain string) or SEVERAL (an array of strings) — a comma is part of a place's name ("Seattle, Washington, United States"), never a separator. Postal codes and neighbourhoods are not name-searchable — pass their numeric location id straight through; the campaign read-back reports the name Microsoft resolves for it.
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) |
queryrequired | string | string[] | ONE location ask as a plain string, or several as an array of strings — names, ISO country codes, or numeric Microsoft location ids. A comma belongs to a name ("Seattle, Washington, United States") and is NOT a separator: pass several places as several array items, never one comma-joined string. |
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/microsoft_ads_geo_search.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"microsoft_ads_geo_search","arguments":{"query":"<value>"}}}
CLI
hermoso call microsoft_ads_geo_search --json '{"query":"<value>"}'
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
create_microsoft_ads_campaignBuild a Microsoft Advertising campaign (paused)microsoft_ads_budget_opportunitiesWhere Microsoft says budget is capping deliverymicrosoft_ads_traffic_estimatesMicrosoft Advertising traffic estimatescreate_microsoft_ads_ad_groupAdd a Microsoft Advertising ad groupmicrosoft_ads_keyword_ideasMicrosoft Advertising keyword plannercreate_microsoft_ads_adCreate a Microsoft responsive search adadd_microsoft_ads_keywordsAdd Microsoft Advertising keywordssearch_microsoft_ads_profilesFind Microsoft Advertising LinkedIn profile idslist_microsoft_ads_profile_targetingRead a Microsoft Advertising campaign’s LinkedIn profile targetingset_microsoft_ads_profile_targetingSet LinkedIn profile targeting on a Microsoft Advertising campaign