You can use geo-targeting to show customers content based on a their geographic location. To use geo-targeting, you need to use the exact format for locations in your feed.
Google Ads API geo-targeting formatting
Make sure you format geographic locations exactly the way they appear in the Canonical Name column of the Google Ads API. This includes all spacing, capitalization, and commas. If you use more than one location in one cell, use a pipe | to separate them instead of a comma. Double quotes are not necessary, but they do not break the code.
You can download a list of all supported geographic location types from the Google Ads API.
Here's an example feed with examples of correct and incorrect formatting:
ID | City | Correct format |
---|---|---|
1 | Paris,Ile-de-France,France | |
2 | London,England,United Kingdom | |
3 | “Paris,Ile-de-France,France” | |
4 | Paris,Ile-de-France,France|London,England,United Kingdom | |
5 | “Paris,Ile-de-France,France”|London,England,United Kingdom | |
6 | Paris,France | |
7 | “Paris,Ile-de-France,France”,”London,England,United Kingdom” |
Refer to these accurate geo-targeting examples for more information.
Standard geo-targeting formatting
Standard geo-targeting includes two location types:
- DMA region: The DMA region values are only available for the United States. Refer to the list of approved Nielsen DMA® regions. For example, New York is represented as 501. To target content to multiple regions, enter the codes as a comma-separated list (e.g. 500,501,502).
- Country: The country values are available globally. These values must be formatted using the standard ISO two-character country code. For example, Spain is represented by ES. To target content to multiple countries, enter the codes as a comma-separated list (e.g. ES,FR,US).