search_apple_ads_geo
Search Apple Ads geo locations read-only
Description
Resolve a place NAME into the geo id an Apple Ads ad group actually targets. THIS IS THE ONLY WAY TO GET THOSE IDS: an ad group’s targeting takes adminAreaIds / localityIds / postalCodeIds / countryIds, it does NOT accept place names, and nothing else in Hermoso produces one — so without this tool those targeting fields cannot be used at all. (A campaign’s own `countries` field is a different thing and takes plain ISO country codes.) supplySource is REQUIRED and is not a formality: APPSTORE has NO PostalCode entity (postal codes are a Maps-level geo), and MAPS has NO Country entity and covers only the US and Canada — both are refused for free with the reason. Pass query with at least 2 characters, or "*" to list everything at an entity level. Rows flagged soft-blocked (low search volume, sparse coverage) are still targetable — Apple returns them by default with their eligibility attached. To go the other way and look UP ids you already have, pass geos:[{id|legacyId, entity}] instead of query. Read-only, free.
Parameters
| Parameter | Type | Description |
|---|---|---|
supplySourcerequired | "APPSTORE" | "MAPS" | REQUIRED. APPSTORE for App Store campaigns, MAPS for Apple Maps. Decides which entity types exist. |
query | string | Name to search, minimum 2 characters. "*" returns everything at the entity level. |
entity | "Country" | "AdminArea" | "Locality" | "PostalCode" | Narrow to one granularity. |
countryCode | string | ISO 3166-1 alpha-2 to scope the search. |
eligible | boolean | false excludes soft-blocked geos entirely. Default includes them with eligibility data. |
geos | object[] | Look UP known geos instead of searching by name: [{"id":"12345","entity":"Locality"}] or [{"legacyId":"US|CA|SanFrancisco","entity":"Locality"}]. Exactly one of id or legacyId per entry. |
limit | number | maximum number of geo locations to return |
offset | number | geo locations to skip, for paging |
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/search_apple_ads_geo.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_apple_ads_geo","arguments":{"supplySource":"<one of the listed values>"}}}
CLI
hermoso call search_apple_ads_geo --json '{"supplySource":"<one of the listed values>"}'
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
bulk_apple_ads_keywordsBulk create or update Apple Ads keywordslist_apple_ads_supported_languagesList Apple Ads supported languagesupdate_apple_ads_budget_orderUpdate an Apple Ads budget orderget_apple_ads_ad_accountGet an Apple Ads ad accountcreate_apple_ads_budget_orderCreate an Apple Ads budget orderlist_apple_ads_advertiser_resourcesList Apple Ads advertiser resourceslist_apple_ads_budget_ordersList Apple Ads budget orderscreate_apple_ads_ad_accountCreate an Apple Ads ad accountapple_ads_change_historyApple Ads change historyupdate_apple_ads_ad_accountUpdate an Apple Ads ad account