Meta: Find Locations
meta_find_locationsLook up Meta Ads locations by name and get the key each one is targeted by, with its type and the country it sits in. Use this before changing where an ad set delivers with meta_update_adset_targeting whenever you have a place name rather than a key. Countries are targeted by two-letter ISO code and need no lookup; regions, cities, zips and counties are opaque keys that only this tool can resolve. A US county is type medium_geo_area (not region) and goes in counties / add_counties on the targeting tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "meta_find_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many matches to return. Default 25, at most 50. | |
| query | Yes | Place name to look up, e.g. Sydney or California. | |
| types | No | Kinds of place to return. Omit to search every kind. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locations | Yes | One row per place Meta matched. |