---
title: "List banner tracking codes"
type: reference
method: GET
path: /rest-api/tracking-code/banner/list.do
tag: "Banners"
---

# List banner tracking codes

`GET https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/banner/list.do`

Retrieves all 3rd party country-level tracking codes configured for the specified banner. The response is a JSON array of objects, each containing the tracking code 'id', the 'code' (HTML snippet), the 'country' ISO code ('*' for global), and a human-readable 'countryStr' name. The caller must be authenticated. The banner's own tracking code feature must be enabled for codes to be active.

## Query params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `domainId` | integer | yes | `5001` | The unique numeric identifier of the banner to list tracking codes for |

## Responses

- `200` — List of banner country tracking codes
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Forbidden — insufficient permissions

## Example request

```bash
curl --request GET \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/tracking-code/banner/list.do?domainId=5001' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/banners/get-tracking-code-banner-list