---
title: "Enable campaign competitors"
type: reference
method: POST
path: /rest-api/campaign/{campaignId}/competitors/enable.do
tag: "Campaigns"
---

# Enable campaign competitors

`POST https://YOUR-NETWORK-DOMAIN/rest-api/campaign/{campaignId}/competitors/enable.do`

Switches competitor separation on for the campaign: its banners are not served on the same page as banners of its competitor campaigns. Linked competitor campaigns the caller may also manage are switched on with it; competitors of other advertisers the caller has no share on are left untouched. Requires the COMPETITOR_CAMPAIGNS permission and UPDATE access to the campaign's advertiser.

## Path params

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

## Responses

- `200` — Competitors enabled; enableCompetitors echoes the new state
- `400` — Malformed campaign ID
- `401` — Authentication error
- `403` — Not enough permissions
- `404` — Campaign not found or deleted

## Example request

```bash
curl --request POST \
  --url 'https://YOUR-NETWORK-DOMAIN/rest-api/campaign/2001/competitors/enable.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/campaigns/post-campaign-competitors-enable