---
title: "Get campaign weights on placements"
type: reference
method: GET
path: /rest-api/campaign/{campaignId}/placements/weights.do
tag: "Campaigns"
---

# Get campaign weights on placements

`GET https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/placements/weights.do`

Lists the placements where the campaign competes with its own weight instead of its campaign weight, each as {placementId, weight}. Every other placement uses campaignWeight. On a placement the ad server first picks a campaign in proportion to these weights within the delivery priority tier, then a banner of it. Requires VIEW on the campaign's advertiser and the MANAGE_PLACEMENT_WEIGHTS and MANAGE_CAMPAIGN_WEIGHT permissions (enabled or read-only).

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `campaignId` | integer | yes | `12` | Unique identifier of the campaign |

## Responses

- `200` — {campaignId, campaignWeight, weights: [{placementId, weight}]}
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Insufficient permissions, naming the missing one
- `404` — The campaign does not exist or is deleted

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/campaign/12/placements/weights.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/campaigns/get-campaign-placements-weights