This project hosts samples for the HTML5 IMA SDK.
- Simple - the bare minimum required for an IMA integration
- Advanced - IMA integration with more advanced UI including event logging, play/pause, and fullscreen, and companion ads
- Playlist - expands on the advanced sample to demonstrate an integration with a video playlist
- Audio in video - demonstrates the use of the poster image feature in an app that supports either audio or video ads.
- VPAID - these JavaScript samples are used in the IMA VPAID sample ad tags. The code in these samples is needed in VPAID ads, but not in IMA implementations for VPAID ads. For more information on VPAID ads, see the IAB VPAID docs.
- Your favorite text editor
- An HTML5 compliant browser
- A webserver on which to host the sample
Check out the releases section for downloadable zips of the source.
For more information, see the documentation at https://developers.google.com/interactive-media-ads/docs/sdks/html5/v3/.
For API and client library updates and news, follow our Google Ads Developers blog
Copyright 2013 Google Inc. All Rights Reserved. You may study, modify, and use this example for any purpose. Note that this example is provided "as is", WITHOUT WARRANTY of any kind either expressed or implied.