I'm struggling to find an example of an HTML5 VAST/VPAID ad. IAB's VPAID spec doesn't include a good example on how to use the JavaScript VPAID APIs.
Asked
Active
Viewed 2.2k times
1 Answers
30
Answering my own question since I think this will be useful for others.
You can find a bunch of JS VPAID ad examples here: https://github.com/ryanthompson591/vpaidExamples/
If you need the VAST tags, you can get them from here: http://ryanthompson591.github.io/vpaidExamples/

diazdeteran
- 1,144
- 1
- 13
- 25
-
Thanks! Can you also recommend some JS VPAID players that are good for development/testing? – Seanonymous Aug 28 '15 at 19:16
-
2You can use [Video.js](http://www.videojs.com) with any of these two plugins to play VAST ads: https://github.com/googleads/videojs-ima or http://theonion.github.io/videojs-vast-plugin/ – diazdeteran Sep 02 '15 at 23:54
-
I should add: I've used the IMA SDK to play VPAID ads, but I haven't used TheOnion's, although it seems like it [supports JS VPAID](https://github.com/theonion/videojs-vast-plugin/pull/50) – diazdeteran Sep 03 '15 at 00:13
-
more vasts examples here http://mailonline.github.io/videojs-vast-vpaid/index_4.html – doron aviguy Mar 14 '16 at 15:03
-
1The question is how do you create vpaid tag url? – The Dead Man Apr 04 '20 at 14:38
-
You can host the XML and JS files and point your ad server to the XML URL. The VAST/VPAID ad tag will be this URL. – diazdeteran Apr 05 '20 at 19:18