نمای کلی برای جریان های VOD
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
DAI Pod Serving API مانیفستهای غلاف آگهی ویدیویی با نرخ بیت تطبیقی را فراهم میکند که به گونهای آماده شدهاند که میتوان آنها را مستقیماً در فهرست پخش رسانهای HLS یا MPEG-DASH قرار داد.
یک ادغام معمولی با DAI Pod Serving API دارای سه مؤلفه اصلی است: Google Ad Manager، یک برنامه پخش ویدیوی مشتری - که معمولاً با استفاده از SDK تبلیغات رسانهای تعاملی (IMA) ساخته میشود - و یک دستکاری مانیفست.

مدیر تبلیغات
Ad Manager مسئول ارائه پادهای تبلیغاتی به دستکاری کننده مانیفست است. دستکاریکننده مانیفست با Ad Manager's Pod Serving API تعامل میکند تا غلافهای آگهی را درخواست کند. این سرویس دارای وظایف زیر است:
- ایجاد یک جلسه جریان برای هر درخواست از برنامه پخش کننده ویدیوی مشتری، انتخاب تبلیغات، ساختن غلاف های تبلیغاتی و ارائه بازخوانی برای مطابقت با نمایه های رمزگذاری محتوای شما، که به آن "تهویه خلاق ویدئو" نیز می گویند. (مراحل 1 و 2 در نمودار بالا)
- پاسخ به درخواستهای غلاف آگهی از دستکاریکننده مانیفست و ارائه مانیفستهای غلاف تبلیغاتی با کدگذاری مناسب برای درج در جریانها. (مرحله 4 و 5)
- پاسخ به درخواستهای فراداده غلاف آگهی از برنامه پخشکننده ویدیوی مشتری و ارائه جدول جستجو برای رویدادهای تبلیغاتی. (مرحله 7 و 8)
- دریافت و پردازش پینگ های ردیابی دریافت شده توسط برنامه پخش کننده ویدیوی مشتری. (مرحله 10)
برنامه پخش کننده ویدیوی مشتری
برنامه پخش کننده ویدیوی مشتری می تواند یک برنامه تلویزیونی، برنامه تلفن همراه یا برنامه وب باشد که در آن کاربران جریان ویدیو را تماشا می کنند. بازیکن این وظایف را دارد:
- درخواست یک منبع پخش جریانی از Ad Manager و دریافت یک شی جریان که نشان دهنده یک جلسه پخش واحد از یک دارایی ویدیویی خاص است. (مرحله 1 و 2)
- درخواست مانیفست جریان از دستکاری کننده مانیفست و شروع پخش. (مرحله 3 و 6)
- درخواست فراداده آگهی از Ad Manager، که رویدادهای تبلیغاتی تعبیه شده در رویدادهای فراداده زمانبندی شده جریان را شرح میدهد. (مرحله 7 و 8)
- گوش دادن به پخشکننده ویدیو برای تماسهای برگشتی با رویدادهای فراداده زمانبندیشده در جریان صوتی یا ویدیویی که حاوی شناسههای رسانه تبلیغاتی است. (مرحله 9)
- جستجوی نشانیهای وب تأیید با تطبیق این شناسههای جاسازی شده با رویدادهای تبلیغاتی و اطلاع دادن به مدیر آگهی مبنی بر اینکه این رویدادهای تبلیغاتی با موفقیت رخ داده است. (مرحله 10)
برای کسب اطلاعات بیشتر در مورد اجرای برنامه پخش کننده ویدیوی مشتری، راهنمای IMA SDK برای پلتفرم خود را ببینید: Android ، HTML5 ، iOS ، یا tvOS . برای پیاده سازی سفارشی، راهنمای برنامه پخش کننده ویدیوی مشتری ما را برای DAI VOD Pod Serving API ببینید.
دستکاری کننده آشکار
دستکاری کننده مانیفست سروری است که مسئول میزبانی مانیفست جریان ارائه شده به برنامه پخش کننده ویدیوی مشتری است. سرور این وظایف را دارد:
- درخواست مانیفست آگهی از Ad Manager. (مرحله 4 و 5)
- پیوند این آگهی در جریان محتوای VOD موجود و ارائه مانیفست نهایی به برنامه پخش کننده ویدیوی مشتری. (مرحله 3 و 6)
برای کسب اطلاعات بیشتر در مورد اجرای دستکاری کننده مانیفست سفارشی، به راهنمای دستکاری مانیفست برای DAI VOD Pod Serving API مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe DAI Pod Serving API delivers adaptive bitrate video ad pods for seamless integration into HLS or MPEG-DASH playlists.\u003c/p\u003e\n"],["\u003cp\u003eA typical integration involves Google Ad Manager, a client video player app (often using the IMA SDK), and a manifest manipulator.\u003c/p\u003e\n"],["\u003cp\u003eAd Manager handles ad pod delivery, stream session creation, ad selection, encoding, and tracking.\u003c/p\u003e\n"],["\u003cp\u003eThe client video player app requests streams, manifests, and ad metadata, and handles ad event verification.\u003c/p\u003e\n"],["\u003cp\u003eThe manifest manipulator stitches ad manifests into the content stream, creating the final manifest for the client video player.\u003c/p\u003e\n"]]],["The DAI Pod Serving API involves three components: Ad Manager, a client video player app, and a manifest manipulator. Ad Manager delivers ad pods, manages stream sessions, provides ad pod manifests and metadata, and processes tracking pings. The client app requests streams, requests and plays manifests, retrieves ad metadata, and sends ad event notifications. The manifest manipulator requests ad pod manifests from Ad Manager and then stitches them into the content stream, providing the final manifest to the client app.\n"],null,["# Overview for VOD streams\n\nThe DAI Pod Serving API provides adaptive-bitrate video ad pod manifests,\nprepared in such a way that they can be stitched directly into a user-facing HLS\nor MPEG-DASH media playlist.\n\nA typical integration with the DAI Pod Serving API has three main components:\nGoogle Ad Manager, a client video player app---commonly built using\nthe [Interactive Media Ads (IMA) SDK](/interactive-media-ads)---and a\nmanifest manipulator.\n\nAd Manager\n----------\n\nAd Manager is responsible for delivering ad pods to the manifest manipulator.\nThe manifest manipulator interacts with Ad Manager's [Pod Serving\nAPI](//support.google.com/admanager/answer/10492367#dai-pod-serving)\nto request the ad pods. The service has these responsibilities:\n\n- Creating a stream session for each request from the client video player app, selecting ads, building ad pods and providing renditions to match your content encoding profiles, also called \"video creative conditioning\". (Steps 1 and 2 in the diagram above)\n- Responding to ad pod requests from the manifest manipulator and providing properly encoded ad pod manifests for stitching into streams. (Steps 4 and 5)\n- Responding to ad pod metadata requests from the client video player app and providing a lookup table for ad events. (Steps 7 and 8)\n- Receiving and processing tracking pings received by the client video player app. (Step 10)\n\nClient video player app\n-----------------------\n\nThe client video player app can be a TV app, mobile app, or web app where\nusers watch the video stream. The player has these responsibilities:\n\n- Requesting a stream resource from Ad Manager and receiving a stream object that represents a single playback session of a specific video asset. (Steps 1 and 2)\n- Requesting a stream manifest from the manifest manipulator and beginning playback. (Steps 3 and 6)\n- Requesting ad pod metadata from Ad Manager, which describes the ad events embedded in the stream's timed metadata events. (Steps 7 and 8)\n- Listening to the video player for callbacks with timed metadata events embedded in the audio or video stream that contain ad media IDs. (Step 9)\n- Looking up the verification URLs by matching these embedded IDs to ad events and notifying Ad Manager that these ad events have successfully occurred. (Step 10)\n\nTo learn more about implementing the client video player app, see the\nIMA SDK guide for your platform:\n[Android](/ad-manager/dynamic-ad-insertion/sdk/android?service=pod),\n[HTML5](/ad-manager/dynamic-ad-insertion/sdk/html5?service=pod),\n[iOS](/ad-manager/dynamic-ad-insertion/sdk/ios?service=pod), or\n[tvOS](/ad-manager/dynamic-ad-insertion/sdk/tvos?service=pod).\nFor custom implementations, see our [client video player app\nguide](/ad-manager/dynamic-ad-insertion/api/pod-serving/vod/client) for the DAI\nVOD Pod Serving API.\n\nManifest manipulator\n--------------------\n\nThe manifest manipulator is the server in charge of hosting the stream manifest\nprovided to the client video player app. The server has these responsibilities:\n\n- Requesting ad pod manifests from Ad Manager. (Steps 4 and 5)\n- Stitching these ad manifests into the existing VOD content stream and providing the final manifest to the client video player app. (Steps 3 and 6)\n\nTo learn more about implementing a custom manifest manipulator, see the\n[manifest manipulator\nguide](/ad-manager/dynamic-ad-insertion/api/pod-serving/vod/manipulator) for the\nDAI VOD Pod Serving API."]]