---
search:
  tags:
    - Campaign Plans
    - POST
seo:
  description: >-
    Puts a Creative of the Library into the pool of a Campaign… Reference for
    the POST /context/campaign-plans/{slug}/creatives endpoint in the AdCrunch
    API.
sidebar:
  label: Add a Creative to a Campaign Plan
  badge: POST
title: Add a Creative to a Campaign Plan
type: openapi-operation
---
Puts a Creative of the Library into the pool of a Campaign Plan. A Campaign Plan holds a pool of Creatives of the Library, at most 50. Each Line Item of the plan picks its Creatives from the pool, at most 20. The ads of a Line Item are built from the Creatives of that Line Item only. A Creative of the pool that no Line Item uses is not assigned yet.

Adding a Creative that is in the pool already changes nothing. A Creative with no Variation is valid. The Creative is not on a Line Item after this call: add it to a Line Item with `POST /campaign-plans/{slug}/line-items/{lineItemId}/creatives`. The call does not change the revision or the status of the Campaign Plan or of a Line Item. A validated Line Item stays validated.

`POST /context/campaign-plans/{slug}/creatives`

**Request body** (`application/json`, required)

- `creativeId` (string, required) — The id of a Creative in the Library of your organization, \`crv\_…\`. List the Creatives with GET /library/creatives.

Request body example:

```json
{
  "creativeId": "crv_8c2e47"
}
```

**Responses**

- `200` — The Creatives of the pool after the call, oldest first, each with the Line Items that use it.
- `400` — The request does not match the schema of this operation: a field is missing or has the wrong type, or the body is not valid JSON. \`error\` is \`invalid\_request\`, and \`issues\` names each field. Nothing was changed.
- `401` — No API key, or one that does not resolve. See the security scheme. \`error\` is \`unauthorized\`.
- `402` — The organization has no active subscription. An owner subscribes at \`paywallUrl\`. \`error\` is \`organization\_unentitled\`.
- `403` — The caller does not hold \`campaign\_plan:write\`. \`error\` is \`forbidden\`.
- `404` — No Campaign Plan with that slug, or no Creative with that id in the Library of your organization. A deleted Creative and the Creative of another organization are not found. \`error\` is \`not\_found\`, and \`message\` names which one.
- `409` — The pool has 50 Creatives already. \`error\` is \`creative\_limit\`.

Response example, 200:

```json
{
  "creatives": [
    {
      "id": "crv_8c2e47",
      "lineItemIds": [],
      "name": "Spring sale",
      "variationCount": 2
    }
  ]
}
```
