Browse the help center

Get region city values for site

Returns a JSON array of available city names for the specified country and region combination.

Reference
GET https://YOUR-NETWORK-DOMAIN/rest-api/site/{siteId}/targeting/country/region/city/values.do

Returns a JSON array of available city names for the specified country and region combination. The returned city names can be used with the location targeting creation endpoint. Requires UPDATE permission on the site and MANAGE_SUPPLY_PRE_TARGETING user permission.

Path Params

siteId integer required

Unique numeric ID of the site

3001

Query Params

countryCode string required

ISO alpha-2 country code (e.g. US, GB, DE)

US

regionName string required

Region name within the specified country, as returned by the country regions endpoint

California

Responses

200

Success

400

Invalid country code

401

Unauthorized

403

Forbidden

404

Site not found

500

Internal server error

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.