---
title: "Get device format targeting values for zone"
type: reference
method: GET
path: /rest-api/zone/{zoneId}/targeting/device-format/values.do
tag: "Targeting Rules"
---

# Get device format targeting values for zone

`GET https://YOUR-NETWORK-DOMAIN/rest-api/zone/{zoneId}/targeting/device-format/values.do`

Returns the list of all available device formats as a JSON array of DeviceFormat enum values. Requires UPDATE permission on the zone's site inventory and MANAGE_SUPPLY_PRE_TARGETING user permission.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `zoneId` | integer | yes | `200` | Unique numeric ID of the zone |

## Responses

- `200` — Success
- `400` — Bad request — invalid or missing parameters
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Zone not found
- `500` — Internal server error

## Example request

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

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