Panoramica degli stream VOD
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'API DAI Pod Serving fornisce manifest di pod di annunci video con velocità in bit adattiva,
preparati in modo da poter essere uniti direttamente a una playlist multimediale HLS
o MPEG-DASH rivolta all'utente.
Un'integrazione tipica con l'API DAI Pod Serving prevede tre componenti principali:
Google Ad Manager, un'app client per video player, realizzata in genere utilizzando l'SDK IMA (Interactive Media Ads), e un manipolatore di manifest.

Ad Manager
Ad Manager è responsabile della pubblicazione dei pod di annunci per il manipolatore del manifest.
Il manipolatore del manifest interagisce con l'API
Pod Serving
di Ad Manager per richiedere i pod di annunci. Il servizio ha le seguenti responsabilità:
- Creare una sessione di streaming per ogni richiesta dall'app del video player del client, selezionare gli annunci, creare pod di annunci e fornire rendering corrispondenti ai profili di codifica dei contenuti. Questo processo è chiamato anche "condizionamento delle creatività video".
(passaggi 1 e 2 nel diagramma sopra)
- Rispondere alle richieste di pod di annunci da parte del manipolatore del manifest e fornire manifest di pod di annunci codificati correttamente per lo stitching nei flussi.
(passaggi 4 e 5)
- Rispondere alle richieste di metadati dei pod di annunci dall'app del video player del client e fornire una tabella di ricerca per gli eventi relativi agli annunci. (passaggi 7 e 8)
- Ricezione ed elaborazione dei ping di monitoraggio ricevuti dall'app
video player client. (Passaggio 10)
App video player client
L'app del video player client può essere un'app per TV, un'app mobile o un'app web in cui gli utenti guardano il video stream. Il giocatore ha le seguenti responsabilità:
- Richiedere una risorsa di streaming da Ad Manager e ricevere un oggetto stream che rappresenta una singola sessione di riproduzione di un asset video specifico. (passaggi
1 e 2)
- Richiesta di un manifest del flusso al manipolatore del manifest e inizio della riproduzione. (passaggi 3 e 6)
- Richiedere ad Ad Manager i metadati del pod di annunci, in cui vengono descritti gli eventi pubblicitari incorporati
negli eventi dei metadati a tempo dello stream. (passaggi 7 e 8)
- Ascoltare il video player per eseguire callback con eventi di metadati a tempo
incorporati nello stream audio o video che contengono ID elementi multimediali degli annunci. (Passaggio 9)
- Cercare gli URL di verifica abbinando questi ID incorporati agli eventi annuncio
e comunicando ad Ad Manager che questi eventi si sono verificati correttamente.
(Passaggio 10)
Per ulteriori informazioni sull'implementazione dell'app del video player client, consulta la
guida all'SDK IMA per la tua piattaforma:
Android,
HTML5,
iOS o
tvOS.
Per le implementazioni personalizzate, consulta la nostra guida alle app per video player client per l'API DAI VOD Pod Serving.
Manifestatore
Il manipolatore del manifest è il server incaricato di ospitare il manifest dello stream fornito all'app del video player del client. Il server ha le seguenti responsabilità:
- Richiesta dei file manifest dei pod di annunci da Ad Manager. (passaggi 4 e 5)
- L'unione di questi manifest degli annunci nello stream di contenuti VOD esistente e l'invio del manifest finale all'app del video player del client (passaggi 3 e 6)
Per ulteriori informazioni sull'implementazione di un manipolatore del manifest personalizzato, consulta la guida al manipolatore del manifest per l'API DAI VOD Pod Serving.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-21 UTC.
[null,null,["Ultimo aggiornamento 2025-08-21 UTC."],[[["\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."]]