The Dynamic Ad Insertion (DAI) API lets you request and track DAI video-on-demand (VOD) and linear (LIVE) streams. It supports the same features as the IMA DAI SDK, but has the flexibility to be called on any platform.
Learn the DAI Full Service API
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThe Dynamic Ad Insertion (DAI) API enables the request and tracking of both video-on-demand (VOD) and linear (LIVE) streams.\u003c/p\u003e\n"],["\u003cp\u003eThis API mirrors the features of the IMA DAI SDK but offers broader platform flexibility.\u003c/p\u003e\n"],["\u003cp\u003eThe IMA DAI SDK is preferred if available on your platform; this API should be used if there is no DAI SDK.\u003c/p\u003e\n"],["\u003cp\u003eThe API documentation provides both implementation guides and reference documentation for VOD and LIVE streams respectively.\u003c/p\u003e\n"]]],["The Dynamic Ad Insertion (DAI) API facilitates requesting and tracking video-on-demand (VOD) and live (LIVE) streams, offering flexibility across platforms. It mirrors the features of the IMA DAI SDK but is designed for platforms lacking a dedicated SDK. Before using the DAI API, one should check for the availability of the IMA DAI SDK, which is the preferred option. The provided links contain the implementation guides and reference documentation for both VOD and LIVE streams.\n"],null,["# Learn the DAI Full Service API\n\nThe Dynamic Ad Insertion (DAI) API lets you request and track DAI\nvideo-on-demand (VOD) and linear (LIVE) streams. It supports the same features\nas the [IMA DAI SDK](/interactive-media-ads), but has the flexibility to be\ncalled on any platform.\n| **Key Point:** Before considering this API, check to see if there is already a DAI SDK for your platform of choice. The [IMA DAI SDK](/interactive-media-ads) is recommended on platforms where it is available. The DAI API is intended to be used only on platforms that don't have a DAI SDK.\n\nDAI API for VOD streams\n-----------------------\n\n- [Request DAI VOD streams](/ad-manager/dynamic-ad-insertion/api/full-service/video-player-vod)\n- [Reference docs](/ad-manager/dynamic-ad-insertion/api/full-service/reference/vod)\n\nDAI API for LIVE streams\n------------------------\n\n- [Manage DAI livestreams](/ad-manager/dynamic-ad-insertion/api/full-service/video-player-live)\n- [Reference docs](/ad-manager/dynamic-ad-insertion/api/full-service/reference/live)"]]