Penyisipan Iklan Dinamis (DAI) API memungkinkan Anda meminta dan melacak streaming video on demand (VOD) dan linear (LIVE) DAI. SDK ini mendukung fitur yang sama dengan IMA DAI SDK, tetapi memiliki fleksibilitas untuk dipanggil di platform mana pun.
Mempelajari DAI Full Service API
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-21 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-21 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)"]]