Skip to content

Activate Domain List

This endpoint activates Domain List. Domain List is active by default, so you shouldn’t make this request unless the Domain List is inactive.

POST https://adelion.com/api/domainlist/activate
ParameterTypeDescriptionRequirement
IdintDomain List ID.required
JSON payload example
{
"DomainList": {
"Id": 1
}
}
Success JSON
{
"Status": "Ok",
"DomainList": {
"Id": 1,
"TeamId": 1,
"Name": "Domain List 1",
"VastTags": [
9,
10
],
"RtbEps": [
1,
2
],
"DspRtbEps": [
3,
4
],
"Campaigns": [
5,
6
],
"DspPopFeeds": [
7,
8
],
"DomainCount": 16063,
"Global": 0,
"Status": 0,
"StatusString": "Active"
}
}
Error JSON
{
"Status": "Error",
"Error": "[error description]"
}
CodeStatusMeaning
400Bad RequestYou sent a body that isn’t JSON.
401UnauthorizedYour access token is invalid.
406Not AcceptableOne or more JSON values are missing or malformed, or the requested object was not found.
500Internal Server ErrorThe server encountered a problem. Try again later.