Skip to main content
GET
/
publisher
/
{publisher_id}
/
active-slots
Active Slots
curl --request GET \
  --url https://cds.thepublive.com/publisher/{publisher_id}/active-slots/ \
  --header 'Authorization: Basic <encoded-value>'
{
  "status": "ok",
  "data": [
    {
      "id": 1,
      "name": "Header Banner",
      "data": {
        "size": "728x90",
        "html": "<div class=\"ad-slot\">...</div>",
        "contains_ads": true
      },
      "registered_slot": {
        "id": 10,
        "name": "header_banner"
      },
      "formatted_update_on": "2026-02-01T10:00:00Z",
      "type": "CodeEditor"
    }
  ],
  "message": ""
}
Returns the configured advertisement slots for your publication, including slot dimensions, content, and type.
publisher_id
string
required
Your Publisher ID
{
  "status": "ok",
  "data": [
    {
      "id": 1,
      "name": "Header Banner",
      "data": {
        "size": "728x90",
        "html": "<div class=\"ad-slot\">...</div>",
        "contains_ads": true
      },
      "registered_slot": {
        "id": 10,
        "name": "header_banner"
      },
      "formatted_update_on": "2026-02-01T10:00:00Z",
      "type": "CodeEditor"
    }
  ],
  "message": ""
}