Skip to content

Introduction

Welcome to the Adelion API documentation.

The Adelion API is a REST API for managing platform resources such as publishers, advertisers, VAST tags, RTB endpoints, pop feeds, and DSP integrations. These docs describe each endpoint, required parameters, request examples, response formats, and possible error codes.

To use the API, first authenticate with your Adelion username and password. A successful login returns an AccessToken, which must be included in the Authorization header for API requests that require authorization.

Authorization header
Authorization: Bearer [AccessToken]
Content-Type: application/json
Base URL
https://adelion.com/api
SectionDescription
AuthLog in, log out, refresh tokens, and retrieve account information.
PublisherCreate, update, activate, deactivate, and retrieve publishers.
VAST TagManage publisher VAST tag integrations.
RTB EPManage publisher RTB endpoints.
Pop FeedManage publisher pop feed integrations.
AdvertiserCreate, update, activate, deactivate, and retrieve advertisers.
DSP RTB EPManage DSP RTB endpoints.
DSP VAST TagManage DSP VAST tag integrations.
DSP Pop FeedManage DSP pop feed integrations.

Most API endpoints accept JSON request bodies.

Example request body
{
"ExampleField": "Example value"
}

Use the following headers when sending JSON requests:

HeaderValueRequiredDescription
AuthorizationBearer [AccessToken]YesAccess token returned by the login endpoint.
Content-Typeapplication/jsonYesIndicates that the request body is JSON.

Most endpoints return JSON responses.

Successful requests return the requested data and an HTTP status code such as 200.

Example success response
{
"Status": "Ok"
}

Failed requests return an error response with a status message and error description.

Error response
{
"Status": "Error",
"Error": "[error description]"
}
CodeStatusMeaning
200OKThe request completed successfully.
400Bad RequestThe request body is not valid JSON or the request is malformed.
401UnauthorizedThe access token is missing or invalid.
406Not AcceptableOne or more required values are missing or malformed, or the requested object was not found.
500Internal Server ErrorThe server encountered a problem. Try again later.

Start with the Auth section to get an access token. Then continue to the API section you want to use.