SERVERSIDE.AI
  • Welcome to serverside.ai
  • Getting Started
    • Prerequisites
    • Onboarding Guide
      • Serverside.ai: Create an account
      • Prepare content source
        • Encoding specification
        • Packaging specification
        • Ad-Marker specification
          • SSAI LIVE - SCTE35
          • SSAI VoD - AdCuePoints
      • Request SSAI enabled stream
    • Features
  • Content Source
    • Encoding
    • Packaging
      • HLS
      • DASH
    • Protection
    • Ad-Marker Specifications
  • Video Player/App
    • Live - DASH/HLS
    • VOD - DASH/HLS
    • VAST Tracking
      • Live - DASH
      • Live - HLS
      • VOD - DASH/HLS
      • ClientSideTracking SDK
    • Timeshift/Startover for LIVE
    • Playlist size for LIVE
    • PauseLiveTV
  • Ad-Server Integration
    • Ad-Server Parameter
      • Equativ/ SmartAdServer
      • Freewheel
      • Google Ad Manager
      • SpotX
    • GVA - Generic VAST Adapter
      • GVA - Configuration
    • 3rd Party Audience Data Integration/DMP
  • Ad Media Condition and Delivery
    • Ad Media - Origin integration
    • Ad Media - CDN integration
    • Prefetch API
  • Manual - User Interface
    • Account
    • Channels/Streams
    • Reports
    • Assets
  • REST API
    • Channels
      • API routes - Channels
      • VOD Channels
      • Detailed channel analysis errors
    • Reports
      • API Routes - reports
    • Playlists
    • Error responses for all routes
    • Further Documentation
  • Support
    • About support case management
    • Creating a case
    • Case language
    • Case processing
    • Booking a meeting
    • Requesting elevated attention
    • Closing a case
  • FAQ - Questionnaire - Glossary
    • Q&A
    • Questionnaire
    • Glossary
    • Files
  • Quality of Service
  • Release Notes
    • Version 2.1.0.x
    • Version 2.0.7.x
    • Version 2.0.6.x
    • Version 2.0.5.x
Powered by GitBook
On this page
  • Get the ad medias for a given channel
  • Prefetch ad media condition for given channel
  1. Ad Media Condition and Delivery

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

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

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.

{
  "name": "BadRequestError",
  "message": "BadRequest",
  "code": 400,
  "type": "Your input data is not valid."
}
{
  "name": "UnAuthorizedError",
  "message": "Unauthorized",
  "code": 401,
  "type": "Request cannot be authenticated. Check if you are transferring an API-Key or JWT in the header."
}
{
  "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."
}
PreviousAd Media - CDN integrationNextManual - User Interface

Last updated 1 year ago