hermosodocs

search_apple_ads_geo

Search Apple Ads geo locations read-only

Area: SUGGESTIONS · RECOMMENDATIONS · INSIGHTS · CHANGE HISTORY ·… · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
supplySourcerequired"APPSTORE" | "MAPS"REQUIRED. APPSTORE for App Store campaigns, MAPS for Apple Maps. Decides which entity types exist.
querystringName to search, minimum 2 characters. "*" returns everything at the entity level.
entity"Country" | "AdminArea" | "Locality" | "PostalCode"Narrow to one granularity.
countryCodestringISO 3166-1 alpha-2 to scope the search.
eligiblebooleanfalse excludes soft-blocked geos entirely. Default includes them with eligibility data.
geosobject[]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.
limitnumbermaximum number of geo locations to return
offsetnumbergeo 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.

All 759 Ad campaign management tools · tools.json