This page uses the built files, so you must do a local build before the example will work.
This is a limited example implementation that puts the player into and out of ad mode for 5 seconds at specific times.