Pod Serving API 目前處於封閉測試階段。如要進一步瞭解 Pod 服務,或是想要導入 Pod Serving API,請與您的 Google 客戶經理聯絡。
VOD 串流總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
DAI Pod Serving API 提供可自動調整的位元率影片廣告連播資訊清單,做好準備後,這些資訊清單可以直接拼接成面向使用者的 HLS 或 MPEG-DASH 媒體播放清單。
一般與 DAI Pod Serving API 的整合包含三個主要元件:Google Ad Manager、用戶端影片播放器應用程式 (通常是使用互動式媒體廣告 (IMA) SDK 建構) 和資訊清單操控程式。

Ad Manager
Ad Manager 負責將廣告連播傳送給資訊清單操控器。
資訊清單操控器會與 Ad Manager 的 Pod Serving API 互動來請求廣告連播。本服務的責任如下:
- 為來自用戶端影片播放器應用程式的每個請求建立串流工作階段,選取廣告、建構廣告連播,以及根據內容編碼設定檔提供的變化 (也稱為「影片廣告素材條件設定」)。(上圖的步驟 1 和 2)
- 回應資訊清單操控器中的廣告連播請求,並提供正確編碼的廣告連播資訊清單,以便拼接到串流中。(步驟 4 和 5)
- 回應用戶端影片播放器應用程式的廣告連播中繼資料要求,並提供廣告事件的查詢資料表。(步驟 7 和 8)
- 接收及處理用戶端影片播放器應用程式收到的追蹤連線偵測 (ping)。(步驟 10)
用戶端影片播放器應用程式
用戶端影片播放器應用程式可以是電視應用程式、行動應用程式,或讓使用者觀看影片串流的網頁應用程式。玩家必須負起以下責任:
- 向 Ad Manager 要求串流資源,並接收代表特定影片資產單一播放工作階段的串流物件。(步驟 1 和 2)
- 從資訊清單操控器和開始播放程序要求串流資訊清單。(步驟 3 和 6)
- 向 Ad Manager 請求廣告連播中繼資料,用於說明串流的定時中繼資料事件中內嵌的廣告事件。(步驟 7 和 8)
- 監聽影片播放器中的回呼,並在包含廣告媒體 ID 的音訊或視訊串流中內嵌定時中繼資料事件。(步驟 9)
- 請比對這些嵌入式 ID 和廣告事件來查詢驗證網址,並通知 Ad Manager 已成功發生這些廣告事件。(步驟 10)
如要進一步瞭解如何實作用戶端影片播放器應用程式,請參閱您平台適用的 IMA SDK 指南:Android、HTML5、iOS 或 tvOS。如需自訂導入作業,請參閱 DAI VOD Pod Serving API 的用戶端影片播放器應用程式指南。
資訊清單操控器
資訊清單操控器是負責代管提供給用戶端影片播放器應用程式串流資訊清單的伺服器。伺服器負責以下作業:
- 向 Ad Manager 請求廣告連播資訊清單。(步驟 4 和 5)
- 將這些廣告資訊清單拼接至現有的 VOD 內容串流,並將最終資訊清單提供給用戶端影片播放器應用程式 (步驟 3 和 6)。
如要進一步瞭解如何導入自訂資訊清單操控器,請參閱 DAI VOD Pod Serving API 的資訊清單操控器指南。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-03-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"]],["上次更新時間:2024-03-21 (世界標準時間)。"],[[["The DAI Pod Serving API delivers adaptive bitrate video ad pods for seamless integration into HLS or MPEG-DASH playlists."],["A typical integration involves Google Ad Manager, a client video player app (often using the IMA SDK), and a manifest manipulator."],["Ad Manager handles ad pod delivery, stream session creation, ad selection, encoding, and tracking."],["The client video player app requests streams, manifests, and ad metadata, and handles ad event verification."],["The manifest manipulator stitches ad manifests into the content stream, creating the final manifest for the client video player."]]],["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"]]