The read-only City Service allows you to see information about the cities registered in the Xandr system, including the region, designated market area, and country to which each city belongs. You can use this service to retrieve the IDs of cities for targeting in campaigns (see city_targets in the Profile Service).
The ID of the country to which the city belongs. You can use the Country Service to retrieve a complete list of country IDs.
country_name
string
The name of the country to which the city belongs. You can use the Country Service to retrieve a complete list of country names.
country_code
string
The ISO code for the country to which the city belongs. You can use the Country Service to retrieve a complete list of country codes.
region_id
int
The ID of the region to which the city belongs. You can use the Region Service to retrieve a complete list of region IDs.
region_name
string
The name of the region to which the city belongs. You can use the Region Service to retrieve a complete list of region names.
region_code
string
The ISO or FIPS code for the region to which the city belongs. You can use the Region Service to retrieve a complete list of region codes.
dma_id
int
The ID of the designated market area to which the city belongs. You can use the Designated Market Area Service to retrieve a complete list of DMA IDs.
dma_name
string
The name of the designated market area to which the city belongs. You can use the Designated Market Area Service to retrieve a complete list of DMA names.
active
Boolean
If true, the city is available for targeting. If false, there is no geolocation data for the city and so delivery is not possible.