Browse the help center

Get country region values for placement

Returns the available regions (states/provinces) for a given country code as a JSON array of region names.

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

Returns the available regions (states/provinces) for a given country code as a JSON array of region names. The country code must be a valid ISO alpha-2 code. These region 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

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.