Warning: The DAI SDK for Cast SDK v2 has been officially deprecated, as of November 17th, 2021. All existing users are urged to migrate to the CAF DAI SDK.

Get started

IMA SDKs make it easy to integrate multimedia ads into your websites and apps. IMA SDKs can request ads from any VAST-compliant ad server and manage ad playback in your apps. With IMA DAI SDKs, apps make a stream request for ad and content video—either VOD or live content. The SDK then returns a combined video stream, so that you don't have to manage switching between ad and content video within your app.

To implement DAI for Google Cast using the IMA SDK, you must create a custom receiver application using HTML, JavaScript and CSS. This guide details the necessary integration steps to allow your receiver to call the IMA SDK and to display DAI streams on your Cast device. For generic advice on implementing a custom receiver and Cast basics, see the Google Cast developer documentation.

  • To learn how to build a receiver app, which handles communication between the sender app and the receiver device, see the HTML Receiver App guide.

Additional resources

  • To explore a completed application, download the receiver sample application.
  • If you encounter any problems during your implementation, post your issues to the forum or contact your account manager.