- [JSON representation](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#SCHEMA_REPRESENTATION)
- [Region](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Region)
  - [JSON representation](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Region.SCHEMA_REPRESENTATION)
- [City](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#City)
  - [JSON representation](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#City.SCHEMA_REPRESENTATION)
- [Metro](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Metro)
  - [JSON representation](https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Metro.SCHEMA_REPRESENTATION)

Geographical Targeting.

| JSON representation |
|---|
| ``` { "excludeCountries": boolean, "countries": [ { object (`https://developers.google.com/doubleclick-advertisers/rest/v5/countries#Country`) } ], "regions": [ { object (`https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Region`) } ], "cities": [ { object (`https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#City`) } ], "metros": [ { object (`https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Metro`) } ], "postalCodes": [ { object (`https://developers.google.com/doubleclick-advertisers/rest/v5/postalCodes#PostalCode`) } ] } ``` |

| Fields ||
|---|---|
| `excludeCountries` | `boolean` Whether or not to exclude the countries in the `countries` field from targeting. If false, the `countries` field refers to countries which will be targeted by the ad. |
| `countries[]` | ``object (`https://developers.google.com/doubleclick-advertisers/rest/v5/countries#Country`)`` Countries to be targeted or excluded from targeting, depending on the setting of the `excludeCountries` field. For each country only `dartId` is required. The other fields are populated automatically when the ad is inserted or updated. If targeting or excluding a country, do not target regions, cities, metros, or postal codes in the same country. |
| `regions[]` | ``object (`https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Region`)`` Regions to be targeted. For each region only `dartId` is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a region, do not target or exclude the country of the region. |
| `cities[]` | ``object (`https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#City`)`` Cities to be targeted. For each city only `dartId` is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a city, do not target or exclude the country of the city, and do not target the metro or region of the city. |
| `metros[]` | ``object (`https://developers.google.com/doubleclick-advertisers/rest/v5/GeoTargeting#Metro`)`` Metros to be targeted. For each metro only `dmaId` is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a metro, do not target or exclude the country of the metro. |
| `postalCodes[]` | ``object (`https://developers.google.com/doubleclick-advertisers/rest/v5/postalCodes#PostalCode`)`` Postal codes to be targeted. For each postal code only `id` is required. The other fields are populated automatically when the ad is inserted or updated. If targeting a postal code, do not target or exclude the country of the postal code. |

## Region

Contains information about a region that can be targeted by ads.

| JSON representation |
|---|
| ``` { "dartId": string, "name": string, "countryCode": string, "countryDartId": string, "regionCode": string, "kind": string } ``` |

| Fields ||
|---|---|
| `dartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of this region. |
| `name` | `string` Name of this region. |
| `countryCode` | `string` Country code of the country to which this region belongs. |
| `countryDartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of the country to which this region belongs. |
| `regionCode` | `string` Region code. |
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `"dfareporting#region"`. |

## City

Contains information about a city that can be targeted by ads.

| JSON representation |
|---|
| ``` { "dartId": string, "name": string, "countryCode": string, "countryDartId": string, "regionCode": string, "regionDartId": string, "metroCode": string, "metroDmaId": string, "kind": string } ``` |

| Fields ||
|---|---|
| `dartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of this city. This is the ID used for targeting and generating reports. |
| `name` | `string` Name of this city. |
| `countryCode` | `string` Country code of the country to which this city belongs. |
| `countryDartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of the country to which this city belongs. |
| `regionCode` | `string` Region code of the region to which this city belongs. |
| `regionDartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of the region to which this city belongs. |
| `metroCode` | `string` Metro region code of the metro region (DMA) to which this city belongs. |
| `metroDmaId` | `string (https://developers.google.com/discovery/v1/type-format format)` ID of the metro region (DMA) to which this city belongs. |
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `"dfareporting#city"`. |

## Metro

Contains information about a metro region that can be targeted by ads.

| JSON representation |
|---|
| ``` { "dmaId": string, "dartId": string, "name": string, "metroCode": string, "countryCode": string, "countryDartId": string, "kind": string } ``` |

| Fields ||
|---|---|
| `dmaId` | `string (https://developers.google.com/discovery/v1/type-format format)` DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to `metroCode`. |
| `dartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of this metro region. |
| `name` | `string` Name of this metro region. |
| `metroCode` | `string` Metro code of this metro region. This is equivalent to `dmaId`. |
| `countryCode` | `string` Country code of the country to which this metro region belongs. |
| `countryDartId` | `string (https://developers.google.com/discovery/v1/type-format format)` DART ID of the country to which this metro region belongs. |
| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `"dfareporting#metro"`. |