# Hermoso: openai_ads_geo_search · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/openai_ads_geo_search/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / openai_ads_geo_search

# `openai_ads_geo_search`

Find ChatGPT Ads location ids read-only

Area: ChatGPT Ads · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Look up ChatGPT Ads location ids by name (countries, regions and markets) so a campaign can be geo-targeted, product-feed campaigns included. GEO AND CUSTOM AUDIENCES ARE THE ONLY LIST-BASED TARGETING THIS PLATFORM HAS: there are no interests, no lookalikes, no age or gender. Everything else is semantic, through an ad group’s context hints. Custom audiences are targeted with customAudienceIds / excludedCustomAudienceIds (see list_openai_ads_audiences). Pass the returned ids as locationIds (or excludedLocationIds to leave a place out) when creating or updating a campaign; a campaign with no location targeting runs everywhere available. OpenAI opens new markets without notice (Indonesia, Malaysia, the Philippines, Singapore, Thailand, Vietnam and Taiwan went live 2026-09-30), so search a market rather than assuming from memory that ChatGPT Ads does not serve it. Read-only, free.

## Parameters

Parameter Type Description

`query` required `string` a place name, e.g. "Toronto" or "United Kingdom"

`limit` `number` maximum number of locations to return

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/openai_ads_geo_search`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"openai_ads_geo_search","arguments":{"query":"<string>"}}}`
**CLI**

`hermoso call openai_ads_geo_search --json '{"query":"<string>"}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [list_openai_ads_audiences](https://hermoso.ai/docs/reference/ads/list_openai_ads_audiences/) List ChatGPT Ads custom audiences
- [openai_ads_report](https://hermoso.ai/docs/reference/ads/openai_ads_report/) ChatGPT Ads performance report
- [list_x_ads_accounts](https://hermoso.ai/docs/reference/ads/list_x_ads_accounts/) List X ad accounts
- [list_openai_ads_campaigns](https://hermoso.ai/docs/reference/ads/list_openai_ads_campaigns/) List ChatGPT Ads account / campaigns / ad groups / ads
- [list_x_ads_campaigns](https://hermoso.ai/docs/reference/ads/list_x_ads_campaigns/) List X ads campaigns
- [create_x_ads_campaign](https://hermoso.ai/docs/reference/ads/create_x_ads_campaign/) Build an X ads campaign (paused)
- [set_x_ads_status](https://hermoso.ai/docs/reference/ads/set_x_ads_status/) Pause or activate an X campaign or line item

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
