DAI 範例串流
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如要測試用戶端應用程式,請使用 Google Ad Manager 聯播網程式碼 21775744923
搭配下列範例串流。
如要使用測試應用程式,請前往 DAI 影片套件檢查器。
全方位服務 DAI
如要搭配下列範例串流使用 IMA SDK 或 DAI API,請參閱「全方位 DAI」。
直播 (線性) 串流範例
串流內容 |
素材資源金鑰 |
串流格式 |
Big Buck Bunny (Live) |
c-rArva4ShKVIAkNfy6HUQ |
HLS |
Big Buck Bunny (Live) [需要 API 金鑰 *] |
XYrjlG09QTa8pxAo5Fzjww |
HLS |
Tears of Steel (Live) |
PSzZMzAkSXCmlJOWDmRj8Q |
DASH |
VOD 串流範例
串流內容 |
CMS ID |
影片 ID |
串流格式 |
Tears of Steel |
2548831 |
tears-of-steel |
HLS |
使用 Tears of Steel 進行可視度測試 |
2556080 |
tears-of-steel-omid |
HLS |
Tears of Steel |
2559737 |
tos-dash |
DASH |
廣告連播放送 DAI
如要搭配下列範例串流使用 IMA SDK 或廣告連播放送 API,請參閱「廣告連播放送 DAI」。
直播 (線性) 串流範例
DAI 類型 |
自訂素材資源金鑰 |
素材資源金鑰 |
串流格式 |
時間長度 |
廣告連播放送資訊清單 |
sgai-hls-live |
WBm2X2B5RUKpuBQ5bVYysA |
HLS |
10 秒 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eThis page provides sample livestream and video-on-demand (VOD) streams for testing implementations of the IMA SDK for DAI.\u003c/p\u003e\n"],["\u003cp\u003eStreams are available in both HLS and DASH formats, featuring content like Big Buck Bunny and Tears of Steel.\u003c/p\u003e\n"],["\u003cp\u003eOne livestream requires an API key for authentication, with the active test key provided and instructions linked on how to create your own keys in Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eVOD streams include a dedicated stream for viewability testing using OMID.\u003c/p\u003e\n"]]],[],null,["# DAI sample streams\n\nTo test your client apps, use Google Ad Manager network code `21775744923` with\nthe following sample streams.\n\nTo use a test app, visit [DAI Video Suite Inspector](//googleads.github.io/googleads-ima-html5-dai/vsi/).\n\nFull-service DAI\n----------------\n\nTo use IMA SDK or DAI API with the following sample streams, see [Full-service DAI](/ad-manager/dynamic-ad-insertion/full-service).\n\n### Live (linear) stream samples\n\n| Stream Content | Asset Key | Stream Format |\n|--------------------------------------------------------------|------------------------|---------------|\n| Big Buck Bunny (Live) | c-rArva4ShKVIAkNfy6HUQ | HLS |\n| Big Buck Bunny (Live) \\[*Requires API Key* [\\*](#footnote)\\] | XYrjlG09QTa8pxAo5Fzjww | HLS |\n| Tears of Steel (Live) | PSzZMzAkSXCmlJOWDmRj8Q | DASH |\n\n\\* The active IMA test API key is\n`8B1DA006064BD04C5CD474456AB8C9BDA790628E3184E95074EC65E308331EBC`.\nLearn how to [create\nauthentication keys in Ad Manager](//support.google.com/admanager/answer/6381445).\n\n### VOD stream samples\n\n| Stream Content | CMS ID | Video ID | Stream Format |\n|----------------------------------------|---------|---------------------|---------------|\n| Tears of Steel | 2548831 | tears-of-steel | HLS |\n| Tears of Steel for viewability testing | 2556080 | tears-of-steel-omid | HLS |\n| Tears of Steel | 2559737 | tos-dash | DASH |\n\nPod serving DAI\n---------------\n\nTo use IMA SDK or Pod serving API with the following sample streams, see [Pod serving DAI](/ad-manager/dynamic-ad-insertion/pod-serving).\n\n### Live (linear) stream samples\n\n| DAI type | Custom Asset Key | Asset Key | Stream Format | Duration |\n|----------------------|------------------|------------------------|---------------|------------|\n| Pod serving manifest | sgai-hls-live | WBm2X2B5RUKpuBQ5bVYysA | HLS | 10 seconds |"]]