---
title: "Enable PMP deals for campaign"
type: reference
method: POST
path: /rest-api/campaign/{campaignId}/pmp-deals/enable.do
tag: "PMP Deals"
---

# Enable PMP deals for campaign

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

Switches PMP deals on for the campaign. The campaign's deals only reach OpenRTB bid requests while this switch is on; deals created through this API stay dormant until it is. Requires the RTB_PMP_DEALS permission and UPDATE access to the campaign's advertiser.

## Path params

| Name | Type | Required | Example | Description |
|---|---|---|---|---|
| `campaignId` | integer | yes | `2001` | Numeric ID of the campaign |

## Responses

- `200` — PMP deals enabled; pmpDealsEnabled 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/pmp-deals/enable.do' \
  --header 'X-Api-Key: YOUR_API_KEY'
```

Source: https://epom.com/ad-server/docs/api/pmp-deals/post-campaign-pmp-deals-enable