Skip to main content
GET
/
campaigns
/
{campaignId}
/
creatives
List creatives
curl --request GET \
  --url https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/creatives \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/creatives"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.interchange.io/api/v2/buyer/campaigns/{campaignId}/creatives', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "manifests": [
    {
      "creative_id": "<string>",
      "name": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "asset_count": 3,
      "campaign_id": "<string>",
      "format_id": {
        "id": "<string>",
        "agent_url": "<string>",
        "width": 123,
        "height": 123,
        "duration_ms": 123
      },
      "format_kind": "<string>",
      "template_id": "<string>",
      "brand_domain": "<string>",
      "preview_url": "<string>",
      "requires_upgrade": true,
      "reuse_count": 4503599627370495,
      "sync_status": {
        "synced": true,
        "agent_count": 0
      },
      "target_format_ids": [
        {
          "id": "<string>",
          "agent_url": "<string>",
          "width": 123,
          "height": 123,
          "duration_ms": 123
        }
      ],
      "placements": [
        {
          "placement_id": "<string>",
          "placement_name": "<string>"
        }
      ]
    }
  ],
  "total": 4503599627370495
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}
{
"data": null,
"error": {
"code": "<string>",
"message": "<string>",
"field": "<string>",
"details": {}
}
}

Authorizations

Authorization
string
header
required

API key or access token

Path Parameters

campaignId
string
required

Campaign ID

Minimum string length: 1

Query Parameters

Creative name substring search.

take
integer
Required range: 1 <= x <= 9007199254740991
skip
integer
Required range: 0 <= x <= 9007199254740991

Response

List creatives

Paginated list of creative manifest summaries

manifests
object[]
required

Manifests projected to the summary shape. Use get_creative for full detail.

total
integer
required
Required range: 0 <= x <= 9007199254740991