Migrating geo targeting
AdCP 3.0 replaces implicit US-centric geo targeting with named systems that support global markets. Metro and postal targeting now require explicit system specification, and codes are grouped by system.What changed
Fields that didn’t change:
geo_countries, geo_countries_exclude, geo_regions, geo_regions_exclude all remain simple string arrays using ISO codes.
Metro targeting
v2 — flat array of codes, assumed to be Nielsen DMAs:Metro systems
Supported systems are defined in the
metro-system.json enum: nielsen_dma, uk_itl1, uk_itl2, eurostat_nuts2, custom.
Postal targeting
v2 — flat array of codes, assumed to be US ZIP codes:geo_postal_areas, codes grouped by system:
Postal systems
Supported systems are defined in the
postal-system.json enum: us_zip, us_zip_plus_four, gb_outward, gb_full, ca_fsa, ca_full, de_plz, fr_code_postal, au_postcode, ch_plz, at_plz.
Exclusion targeting
v3 adds_exclude variants for metro and postal targeting:
Discovering seller capabilities
Before sending geo targeting, buyers should verify the seller supports the requested systems. Useget_adcp_capabilities:
geo_metros and geo_postal_areas objects use boolean properties to indicate which systems are supported. If you request a system the seller doesn’t declare, expect a validation error.
Full targeting example
A v3 targeting overlay combining geo restrictions:_exclude variants) act as AND NOT — delivery must match inclusions and must not match any exclusion.
Migration steps
1
Identify geo targeting
Find all uses of
geo_metros and geo_postal_codes.2
Rename field
geo_postal_codes becomes geo_postal_areas.3
Restructure values
Wrap flat arrays into
{ "system": "...", "values": [...] } objects.4
Choose systems
For US-only code, use
nielsen_dma and us_zip. For international, add the appropriate systems.5
Verify capabilities
Call
get_adcp_capabilities to check what systems each seller supports.6
Add exclusions
If needed, use the new
_exclude variants for negative targeting.Targeting
Full targeting reference: audiences, contextual, geographic, and device targeting.
Related: Channels | Pricing | Creatives | Catalogs | Attribution | AdCP 3.0 overview