# meta_search_locations

> Find Meta targeting keys: places with type adgeolocation (countries, regions, cities, zips, for geo_locations) or languages with type adlocale (keys…

[Documentation](https://www.getmcpads.com/docs) / [Sources](https://www.getmcpads.com/docs/sources) / [Meta Ads](https://www.getmcpads.com/docs/sources/meta-ads)

Find 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](https://www.getmcpads.com/docs/sources/meta-ads) |
| Kind | Read |
| Discovery | Reachable through `search_tools` and `run_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

Through run_tool, since it is not announced

```json
{
  "name": "run_tool",
  "arguments": {
    "name": "meta_search_locations",
    "args": {
      "adAccountId": "<string>",
      "type": "adgeolocation",
      "queries": "<array>"
    }
  }
}
```

- [Meta Ads metrics](https://www.getmcpads.com/docs/sources/meta-ads/metrics): What you can ask for.
- [Meta Ads dimensions](https://www.getmcpads.com/docs/sources/meta-ads/dimensions): How you can break it down.

---

This page as HTML: https://www.getmcpads.com/docs/sources/meta-ads/tools/meta_search_locations
Every page under /docs is available as Markdown: append `.md`, or send `Accept: text/markdown`.
