ChatGPT Ads location lookup
chatgpt_ads_geo_lookupSearch locations by name (a country, region or city) and get the ids, types and country codes you can use in campaign targeting. Needed for city or region targeting; a country only needs its two-letter code.
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": "chatgpt_ads_geo_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Most results (default 10, max 50). | |
| query | Yes | Place name to search, e.g. 'Dublin' or 'New York'. | |
| accountId | No | The ChatGPT Ads ad account id, as listed by chatgpt_ads_list_ad_accounts. A connection reaches one ad account, so this is normally left out. |