---
title: "Get banner weights on placements"
type: reference
method: GET
path: /rest-api/banners/{bannerId}/placements/weights.do
tag: "Banners"
---

# Get banner weights on placements

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

Lists the placements where the banner is served with its own weight instead of its banner weight, each as {placementId, weight}. Every other linked placement uses bannerWeight. Within a campaign the ad server picks among the banners linked to a placement in proportion to these weights. Requires VIEW on the banner's advertiser and the MANAGE_PLACEMENT_WEIGHTS and MANAGE_BANNER_WEIGHT permissions (enabled or read-only).

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `bannerId` | integer | yes | `42` | Unique identifier of the banner |

## Responses

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

## Example request

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

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