CSAI (Client-Side Ad Insertion)

Learn everything you need to know about CSAI (Client-Side Ad Insertion)
CSAI (Client-Side Ad Insertion)

CSAI is one of the two most relevant methods when it comes to implementing ads in audiovisual content. It works by requesting ads from a server, which are chosen in a personalized way for each client, based on data previously collected by the company.

When the ad is chosen, the player is responsible for stopping the video to play it. Let’s see the stages of a client-side ad insertion process once the user presses play to play the content:

  1. Before the video plays, the player is in charge of downloading the manifest from the CDN. In the case of a preroll, it will start playing before the video.
  2. The fragment will be paused once the mark corresponding to the ad is reached, and the player will make an API call to the server to request it.
  3. The server responds with a VAST tag containing information about the ad.
  4. The player uses that information and automatically plays the ad.
  5. Once it has been played in its entirety, the video continues to play from the point where it was paused.

You can create your own TV channel with Viloud!

Start 14-day FREE trial