Fetch advertisement slot configuration
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": ""
}
{
"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": ""
}
Was this page helpful?
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": ""
}