تتيح لك واجهة برمجة التطبيقات Dynamic Ad Insertion API طلب ومتابعة أحداث البث التي تتضمّن إدراج إعلانات ديناميكية، سواء كانت للفيديوهات عند الطلب (VOD) أو للفيديوهات المباشرة غير القابلة للتقديم أو الإيقاف. وتوفّر هذه الحزمة الميزات نفسها التي تقدّمها حزمة تطوير البرامج لتكنولوجيا إدراج الإعلانات الديناميكي في إعلانات الوسائط التفاعلية، ولكنّها توفّر المرونة اللازمة لاستخدامها على أيّ منصة.
التعرّف على واجهة برمجة التطبيقات DAI Full Service API
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-08-21 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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,["The 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- [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- [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)"]]