This project hosts samples for the HTML5 IMA
SDK
and code snippets for developers.google.com website.
- 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 web server on which to host the sample
Check out the releases section for downloadable zips of the source.
This repository contains code snippets used in developer documentation for the IMA HTML5 SDK.
The /doc_snippets directory contains code snippets from our developer
documentation to provide more context for implementing specific APIs.
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.