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
Name | Type | Description |
---|---|---|
x-api-key* | String | Your serverside.ai API key |
Request Body
Name | Type | Description |
---|---|---|
type | String |
|
channelId | String | Request for a given channel |
Prefetch ad media condition for given channel
PUT
https://admin.serverside.ai/api/v2/channel-assets
Headers
Name | Type | Description |
---|---|---|
x-api-key* | String | Your serverside.ai API key |
Request Body
Name | Type | Description |
---|---|---|
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. |
Last updated