---
title: "Preview re-applying auto-linking to a banner"
type: reference
method: GET
path: /rest-api/banners/{bannerId}/auto-linking.do
tag: "Placements"
---

# Preview re-applying auto-linking to a banner

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

What re-applying the banner's auto-linking rule (its own, or its campaign's) would change, after the rule changed. Nothing is written. linkCount: creative-placement links to add, unlinkCount: links to remove, placementCount: placements affected. All zero means the links already follow the auto-linking rules. Requires UPDATE share on the campaign and AUTO_LINKING_SETTINGS.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `bannerId` | integer | yes | `4001` | ID of the banner |

## Responses

- `200` — The change
- `400` — Bad request — invalid or missing parameters
- `401` — Authentication error
- `403` — Missing share or permission; the message names the permission
- `404` — Banner not found

## Example request

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

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