Prefetch API
The serverside.ai pre-fetch API offers a robust solution for the efficient delivery of ad sources, ensuring they are conditioned and ready for use upon request.
Get the ad medias for a given channel
GET https://admin.serverside.ai/api/v2/medias
Headers
x-api-key*
String
Your serverside.ai API key
Request Body
type
String
deliverable for ready conditioned medias
source for ad media source
channelId
String
Request for a given channel
Prefetch ad media condition for given channel
PUT https://admin.serverside.ai/api/v2/channel-assets
Headers
x-api-key*
String
Your serverside.ai API key
Request Body
id*
String
Unique Identifier of the ad creative
name*
String
Name of the ad creative/campaign
source*
String
URL to the ad media creative
channelId*
String
Provide the channel Id for which the prefetch should be applied
allChannels
boolean
true if should be applied to all configured channels.
{
"name": "BadRequestError",
"message": "BadRequest",
"code": 400,
"type": "Your input data is not valid."
}{
"name": "ForbiddenError",
"message": "Forbidden",
"code": 403,
"type": "You have no rights to access the resorce."
}{
"name": "NotFoundError",
"message": "NotFound",
"code": 404,
"type": "No such item."
}{
"name": "ServerError",
"message": "ServerError",
"code": 500,
"type": "Error on server side."
}Last updated