ads-geo
Skill0 starsChanged 2 months agoMITView on GitHub
Set up location targeting for OpenAI Ads — postcodes, regions, countries. Use this skill for geo targeting, local customers, catchment area, service radius, location, region, postcode, or whenever ads should only appear in certain areas.
In this repository5 other files it gives its agents.
- ads-auditSkill
- ads-campaignSkill
- ads-creativeSkill
- ads-hintsSkill
- adsSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 61
Always select by postcode, never by name.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Location targeting
Available levels
Verified against the live API on 2026-09-04 for Germany:
| Type | Example | ID |
country | Germany | 1000056 |
region | Baden-Württemberg | 2000346 |
postal_code | 10115 Berlin | 10015849 |
postal_code appears in no documentation but works. Postcode-level
targeting is therefore possible.
dma does not exist for Germany. It never appeared in any query and looks
US-specific.
Radius targeting does not exist. Model a catchment area as a list of postcodes. In practice that is more precise, because it follows municipal boundaries rather than a circle.
With no location set, the campaign runs across every available area.
Three pitfalls
Umlauts are mandatory.
| Input | Results |
Muenchen | 0 |
München | 78 |
Koeln | 0 |
Köln | 48 |
The search_geo tool rewrites ae/oe/ue automatically and tries both forms.
Calling the API directly requires handling this yourself.
English exonyms find nothing German. Munich returns two results, none
with country_code: DE. Same for Cologne.
Districts and localities do not exist. A German Landkreis returns no
results, and neither do sub-municipal localities — those are covered by the
parent town's postcode.
Duplicate names. Birkenfeld exists three times: 55765, 75217 and 97834.
Always select by postcode, never by name.
Procedure
1. search_geo("Karlsruhe", country="DE") -> collect IDs
2. Verify the postcodes match the intended place
3. create_campaign(location_ids=[...])The resulting targeting object:
{"targeting": {"locations": {"include": [{"id": "10020757"}]}}}Building a catchment area
Three tiers, from tight to wide. Pick by whether the service needs physical proximity.
Tier 1 — immediate surroundings. The postcodes of the home town and its neighbours. Suitable when someone has to travel to the customer.
Tier 2 — economic area. The nearest cities, each as a set of postcodes. A mid-sized German city typically has 7 to 15 postcode entries; large cities have 35 to 99.
Tier 3 — region or country. One region ID, or the country. Suitable when the service is delivered remotely.
| Service type | Recommendation | Reason |
| Delivered remotely | Tier 3 or nationwide | proximity is irrelevant |
| Online-only product | nationwide | no travel involved |
| Requires an on-site visit | Tier 1–2 | travel time is the constraint |
A tight area is not automatically better. On a young platform with thin volume, narrow targeting can mean almost nothing gets delivered. If the service can be delivered remotely, there is little reason to restrict — unless the copy deliberately plays on local proximity.
Sensible approach: start wide, then narrow based on results. Reporting with
segment="country" shows where delivery lands. There is no breakdown by
postcode.
Local proximity in the copy
Because delivery can only be steered coarsely, proximity mostly works through wording:
- "Based in
<region>", "On site in<city>", "Serving<area>since<year>"
This excludes nobody, but speaks to the people who care about proximity — and unlike narrow targeting, it costs no reach.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

