Find location IDs
find_locationsSearch Google Ads geo targets by place name to retrieve location IDs for countries, regions, and cities.
Instructions
Search Google's geo targets by name to get location IDs for countries, regions, cities and more.
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": {
"names": "<names>"
},
"name": "find_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Place names, e.g. ["Lagos", "Abuja"]. | |
| locale | No | en | |
| country_code | No | Limit to a country, e.g. "NG". |