meta_ search_ locations
Find Meta targeting keys: places with type adgeolocation (countries, regions, cities, zips, for geo_locations) or languages with type adlocale (keys…
View as MarkdownFind Meta targeting keys: places with type adgeolocation (countries, regions, cities, zips, for geo_locations) or languages with type adlocale (keys for locales). Up to 50 searches in one call, each answered with Meta's own rows (key, name, type, country_code, region...). Read-only.
- Source
- Meta Ads
- Kind
- Read
- Discovery
- Reachable through
search_toolsandrun_tool - Account parameter
adAccountId- Endpoint
- https:/
/ mcp. getmcpads. com/ meta-ads/ mcp
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
adAccountId | string | Required | Owning advertising account ID. Use the exact ID returned by account discovery; do not substitute a campaign or business ID. |
type | string | Required | adgeolocation for places, adlocale for languages. One of: adgeolocation, adlocale. |
queries | array | Required | Names or codes to search (Paris, Île-de-France, 75011, French), one Graph search each. |
locationTypes | array | Optional | adgeolocation only: the kinds of place returned. |
countryCode | string | Optional | adgeolocation only: ISO country the places are searched in. |
limit | integer | Optional | Rows per search, 25 by default. |
Calling it
{
"name": "run_tool",
"arguments": {
"name": "meta_search_locations",
"args": {
"adAccountId": "<string>",
"type": "adgeolocation",
"queries": "<array>"
}
}
}Manage your ads from your AI assistant
Start for free
Free with 1 ad account, no card. Pro is free for 7 days.