Browse the help center

Get region city values for placement

Returns the available cities for a given country and region as a JSON array of city names.

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

Returns the available cities for a given country and region as a JSON array of city names. Both the country code and region name must be valid. These city names can be used when creating a location targeting rule. Requires UPDATE permission on the placement's site inventory and MANAGE_SUPPLY_PRE_TARGETING user permission.

Path Params

placementId integer required

Unique numeric ID of the placement

4001

Query Params

countryCode string required

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

US

regionName string required

Region or state name within the specified country

California

Responses

200

Success

400

Invalid country code

401

Unauthorized

403

Forbidden

404

Placement 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.