You can target a line item to geographical locations such as countries, regions (provinces, prefectures, states, etc.), U.S. Nielsen DMAs (designated market areas), and cities.
Add geography targeting
- Find the Targeting section of a yield group or Add targeting section of a line item.
- Click Geography.
- Browse or search for your geographic location.
- Click the check mark to include or click the block icon to exclude to avoid delivering ads to users from that area.
- Click the down arrow to include or exclude smaller locations within the included area.
Click Enter text to enter a list of postal codes. Learn more
How geography targeting works
Ad Manager targets users by their IP address, which is generally precise and reliable.
Geographic areas available for targeting
The available options vary by country. United States targeting provides the most specific options, such as postal codes and neighborhoods. To get a full list of geographic values available for targeting, use the Ad Manager API match tables .
Geography targeting for mobile devices is dependent on how the user is connected to the internet.
Geography targeting works as usual for user connected to the internet with Wi-Fi.
Only country targeting is recommended, unless you're passing location data through your mobile app. You can also target region, state, and city, but accuracy at these more granular levels depends on our confidence in the location of the IP. If you choose a more granular level than country, you might exclude some traffic. Note that some carriers might have traffic outside their primary country of business.
Learn how to use latitude and longitude with Ad Exchange.
Postal code targeting is available for the following countries. Click Enter text in the "Add targeting" section to paste a list of postal codes according to the format requirements.
United States (US) postal codes
- Country code is not required. For example, both US/10036 and 10036 are valid formats.
- Only 5 digit ZIP codes are valid. For example, if you enter 10036-2256, it's trimmed to 10036.
Canada (CA) postal codes
- Country code is not required. For example, both CA/A0A and A0A are valid formats.
- Only prefixes are valid. For example, if you enter A1A 1A1, it's trimmed to A1A.
France (FR), Germany (DE), India (IN) postal codes
- Country code is required. For example, DE/22529 and FR/60400 are both valid.
United Kingdom (GB) postal codes
- Only the "outward code," the part of the postcode before the single space, is targetable (examples: L1, SW1A, and SW15).
- Country code is not required (example: SW15 is valid).
Why weren't some codes added to the targeting criteria?
A ZIP code or postal code prefix might not be targetable because it's either invalid, can't be targeted due to privacy concerns, or it’s too small (either in landmass or population).
- If the code is valid but targets a post office box, you should instead target the line item to the ZIP code that's assigned to the larger area that contains the post office box.
- When targeting to the United States, you can't target to a ZIP code if you've excluded the region, state, or metro area in which the ZIP code is located.
- When targeting to Canada, you can't target to a postal code prefix if you've excluded Canada.
How can I target a continent?
Include all countries within the continent.
How can I include a geographic area, but exclude certain postal codes?
Either include all postal codes for an area except those you want to exclude, or exclude a neighborhood or other area that is similar to the postal code area you want to exclude.
Why does my report display "N/A" values?
When targeting geographic areas, impressions are served for line items matching the specified criteria.
In some instances, all levels of geographic data may not be available from the user IP. If you’re pulling a report on a geographic dimension that’s more granular than your line item targets, the geographic values for some impressions could appear as "N/A".
- You have a line item targeted to a specific country but are pulling a report based on the city.
- If the information available from a user IP accurately maps the user to the country, but not to a specific city within the country, the city value for that particular impression will appear as "N/A".