---
title: "List ad units (sizes) for header-bidding slots"
type: reference
method: GET
path: /rest-api/hb-tags/ad-units.do
tag: "Header Bidding"
---

# List ad units (sizes) for header-bidding slots

`GET https://YOUR-NETWORK-DOMAIN/rest-api/hb-tags/ad-units.do`

Inventory-side ad units a slot's adUnitIds may name: id, title, size and the placementTypes each belongs to. Requires the HEADER_BIDDING_TAB_VISIBLE permission.

## Responses

- `200` — {data: [adUnit], total}
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Insufficient permissions, naming the missing one

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/hb-tags/ad-units.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/header-bidding/get-hb-tags-ad-units