Each new ad added consist of 3 4 things:
- Url - Url to the VAST(Digital Video Ad Serving Template) file;
- Type - PRE(Before playback), MID(Somewhere in the middle) or POST(After playback);
- AD Type - VAST, VPAID or VMAP ad;
- Offset - Only used for ads that have type set to MID and will specify at what point of total video length to play the ad.
Ad settings for media in the admin panel:
Ad Urls in our system contain extra custom macros(Ones not specified in VAST specification) that will be replaced before the Url is called: