---
title: "Get blocked placements targetings"
type: reference
method: GET
path: /rest-api/target/advertiser/{advertiserId}/blocked-placements.do
tag: "Targeting Rules"
---

# Get blocked placements targetings

`GET https://YOUR-NETWORK-DOMAIN/rest-api/target/advertiser/{advertiserId}/blocked-placements.do`

Returns all blocked placement targeting rules for the specified advertiser, aggregated across its campaigns and banners. Each result entry contains the campaign, banner, and targeting type. Results are de-duplicated by campaign/banner pair. Requires MANAGE_DEMAND_TARGETING permission and UPDATE permission on the advertiser via share. Each campaign's 'status' array holds UI status tokens computed from traffic statistics, which are not the on/off switch — that is the 'active' field: status-active = switched on AND served traffic in the last ~6 hours; status-not-active = switched off OR no traffic in the last ~6 hours, so active=true together with status-not-active is normal for an idle, not-yet-started or newly created campaign; status-finished (added alongside) = the campaign's delivery limits have ended it — end date passed, total limit reached or an action limit reached. 'hasTraffic' is the same ~6-hour traffic flag on its own. Traffic data is refreshed hourly. A deleted campaign has an empty array.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `advertiserId` | integer | yes | `5001` | Unique numeric ID of the advertiser |

## Responses

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

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/target/advertiser/5001/blocked-placements.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/targeting-rules/get-target-advertiser-blocked-placements