---
updatedAt: 2026-08-12T10:13:48.000Z
---

# Assign a Creative to a Deal

This method uses POST to assign a creative to a deal ID. You can assign the same creative to multiple deal IDs through this endpoint.
**Note: You do not need to assign new creative IDs when you are extending a campaign. For example, if you extend an end date or add another flight schedule on the same campaign, you do not need new creative IDs. Creative IDs can be reused across programmatic deals.**

> 📘 NOTE
>
> A creative can only be assigned to one `account_id`. Attempting to upload the same creative (identified by media file URL) to a second account ID will result in the error *"Already Exists"*.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Demand Creative Management API V1",
    "contact": {},
    "version": "1.0"
  },
  "paths": {
    "/accounts/{account_id}/deal_assignments": {
      "post": {
        "security": [
          {
            "Bearer": []
          }
        ],
        "description": "This method uses POST to assign a creative to a deal ID. You can assign the same creative to multiple deal IDs through this endpoint.\n**Note: You do not need to assign new creative IDs when you are extending a campaign. For example, if you extend an end date or add another flight schedule on the same campaign, you do not need new creative IDs. Creative IDs can be reused across programmatic deals.**",
        "tags": [
          "Demand Creative Management API V1"
        ],
        "summary": "Assign a Creative to a Deal",
        "operationId": "AssignACreativeToADeal",
        "parameters": [
          {
            "description": "accountid",
            "name": "account_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/model.DemandAdAssignment"
              }
            }
          },
          "description": "Ad Assignment",
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/model.DemandAdAssignmentReply"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.freewheel.tv/demand/v1"
    }
  ],
  "components": {
    "schemas": {
      "model.AssignmentDeal": {
        "type": "object",
        "properties": {
          "approvaltype": {
            "type": "integer"
          },
          "clearancelevel": {
            "type": "integer"
          },
          "dealid": {
            "type": "string"
          },
          "sellerid": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "model.DemandAdAssignment": {
        "type": "object",
        "properties": {
          "adid": {
            "type": "string"
          },
          "dealid": {
            "type": "string"
          }
        }
      },
      "model.DemandAdAssignmentReply": {
        "type": "object",
        "properties": {
          "adid": {
            "type": "string"
          },
          "deal": {
            "$ref": "#/components/schemas/model.AssignmentDeal"
          },
          "dealid": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```