---
title: "Get country values"
type: reference
method: GET
path: /rest-api/targeting/country/values.do
tag: "Targeting Rules"
---

# Get country values

`GET https://YOUR-NETWORK-DOMAIN/rest-api/targeting/country/values.do`

Returns the countries a country targeting rule accepts, as a JSON object of ISO country code to country name. Needs no entity, unlike the per-entity lookups. Requires MANAGE_DEMAND_TARGETING or MANAGE_SUPPLY_PRE_TARGETING permission.

## Responses

- `200` — Success
- `400` — Bad request — invalid or missing parameters
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal server error
- `503` — The geo service holding the country list did not answer; retry later

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/targeting/country/values.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/targeting-rules/get-targeting-country-values