DAI 광고 모음 게재 API 알아보기
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
광고 모음 게재를 사용하면 콘텐츠를 Google의 DAI 서버로 전송하지 않고도 Google 광고로 서버 측 광고를 삽입할 수 있습니다. 기존 동영상 기술 파트너와 협력하여 매니페스트를 조작하거나 DAI Pod Serving API(실시간 또는 VOD)를 사용하여 자체 매니페스트 조작 서버를 구현할 수 있습니다.
양방향 미디어 광고 (IMA) DAI SDK를 사용하여 DAI 광고 모음 게재 API와 원활하게 상호작용하는 웹 및 모바일 플랫폼용 클라이언트 앱을 개발할 수 있습니다. DAI Pod Serving API로 IMA DAI SDK를 구성하려면 클라이언트 앱 플랫폼 (Android, Chromecast, HTML5, iOS, Roku, tvOS)별 실시간 또는 VOD 스트림 형식을 위한 가이드를 참고하세요.
IMA DAI SDK에서 지원하지 않는 특별한 요구사항이 있는 경우 클라이언트 동영상 플레이어 가이드(실시간 또는 VOD)에 따라 자체 클라이언트 앱을 개발할 수 있습니다.
DAI 광고 모음 게재 구성요소
DAI 광고 모음 게재 API의 구현은 다음 세 가지 기본 구성요소로 이루어집니다.
Google Ad Manager
Google Ad Manager는 사용자 스트림 세션을 생성 및 관리하고, 게재할 광고를 선택하고, 스트리밍 세그먼트로 인코딩하고, 요청 시 클라이언트 동영상 플레이어에 게재하는
호스팅 서비스입니다.
실시간 스트림에서 광고는 클라이언트 동영상 플레이어에서 특정 세그먼트를 요청하면 실시간으로 삽입되고 해당 미디어 세그먼트의 URL 리디렉션으로 플레이어에 전달됩니다.
VOD 스트림에서는 재생이 시작되기 전에 광고가 선택되며 각 광고 모음에 해당하는 스트림 매니페스트 집합으로 매니페스트 조작기에 전달됩니다.
매니페스트 조작자
매니페스트 조작기는 클라이언트 동영상 플레이어에서 스트림 세션 ID를 수신하여 이를 사용하여 광고를 해당 스트림에 연결하고 해당 광고를 스트림 매니페스트에 삽입하는 서버입니다.
HLS 실시간 스트림의 경우 매니페스트 조작기가 Ad Manager와 직접 통신하지 않습니다. 대신 클라이언트 동영상 플레이어가 광고 미디어 세그먼트 파일을 요청할 수 있도록 Ad Manager URL이 포함된 스트림 매니페스트에 광고 미디어 세그먼트를 배치합니다.
VOD 스트림의 경우 매니페스트 조작기가 Ad Manager와 직접 통신하여 광고를 요청하고 콘텐츠 스트림과 병합할 스트리밍 매니페스트 집합을 수신합니다. 그런 다음 결합된 매니페스트가 재생을 위해 클라이언트 동영상 플레이어로 전송됩니다.
클라이언트 동영상 플레이어
클라이언트 동영상 플레이어는 광고가 포함된 동영상 스트림을 최종적으로 재생하는 앱 또는 웹사이트입니다. 이렇게 하기 전에 Ad Manager에서 스트림 ID를 요청한 다음 이 ID를 매니페스트 조작기에 전달하여 재생할 스트리밍 매니페스트를 수신합니다. 또한 인스트림 메타데이터를 살펴보고 광고 추적 이벤트를 트리거하는 작업도 담당합니다.
라이브 스트림과 VOD 광고 모음 게재 비교
얼핏 보면 라이브 스트림과 VOD 광고 모음 게재는 매우 유사해 보일 수 있습니다.
그러나 두 워크플로 사이에는 몇 가지 중요한 차이점이 있습니다.
실시간 스트림 광고 모음 게재 |
VOD 광고 모음 게재 |
클라이언트 동영상 플레이어는 재생 중에 필요에 따라 Ad Manager에서 광고를
요청합니다. 이러한 광고는 조기 광고 시점 알림을 사용하여 미리 선택할 수 있습니다.
|
매니페스트 조작기는 재생이 시작되기 전에 Ad Manager에서 모든 광고를 요청합니다.
|
HLS 스트림을 사용하면 매니페스트 조작기가 Ad Manager와
직접 상호작용하지 않고, 대신 클라이언트 동영상 플레이어가
필요에 따라 요청할 광고 세그먼트 URL을 생성합니다.
|
매니페스트 조작기는 클라이언트 동영상 플레이어의 스트림 매니페스트를 생성하기 전에
Ad Manager에 직접 광고를 요청합니다.
|
광고 모음이 지정된 광고 시간보다 짧으면 Ad Manager에서 슬레이트를 삽입할 수 있습니다.
|
슬레이트는 필요하지 않거나 지원되지 않습니다.
|
광고를 요청하려면 먼저 Ad Manager에
실시간 스트림 이벤트와 인코딩 프로필을 등록해야 합니다.
|
Ad Manager에서 어떤 설정 작업도 하지 않아도 광고를 요청할 수 있지만, 매니페스트 조작자는 각 광고 요청에서 스트림에 대해 관련 인코딩 프로필과 광고 태그를 제공해야 합니다.
|
실시간 또는 VOD 포드 서빙을 진행할 때는 이러한 차이점을 염두에 두어야 합니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-21(UTC)
[[["이해하기 쉬움","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(UTC)"],[[["\u003cp\u003eDAI pod serving enables server-side ad insertion with Google Ads without sending content to Google's servers, allowing flexibility with existing video partners or custom manifest manipulation.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize the IMA DAI SDK for seamless integration across various platforms or follow client video player guides for custom app development.\u003c/p\u003e\n"],["\u003cp\u003eThe DAI pod serving architecture involves three core components: Google Ad Manager, a manifest manipulator (handling ad insertion in stream manifests), and the client video player (for playback and ad tracking).\u003c/p\u003e\n"],["\u003cp\u003eLivestream and VOD pod serving differ in how ads are requested and inserted: livestream requests ads during playback (potentially using early ad break notifications), while VOD requests all ads upfront.\u003c/p\u003e\n"],["\u003cp\u003eLivestream pod serving may utilize slate for short ad pods and requires pre-registration of events and encoding profiles, while VOD pod serving has no slate and requires ad tag and encoding profile information with each request.\u003c/p\u003e\n"]]],[],null,["# Learn DAI Pod Serving API\n\n[Pod serving](//support.google.com/admanager/answer/10492367) lets you perform\nserver-side ad insertion with Google ads, without sending your content to\nGoogle's DAI servers. You can work with your existing Video Technical\nPartner to manipulate your manifest or implement your own manifest manipulation\nserver using the DAI Pod Serving API\n([Live](/ad-manager/dynamic-ad-insertion/api/pod-serving/live) or\n[VOD](/ad-manager/dynamic-ad-insertion/api/pod-serving/vod)).\n\nYou can use the Interactive Media Ads (IMA) DAI SDK to develop client apps for\nthe web and mobile platforms that seamlessly interact with the DAI Pod Serving\nAPI. To configure the IMA DAI SDK with DAI Pod Serving API, refer to the guide\nthat's specific to your client app's platforms (Android, Chromecast, HTML5, iOS,\nRoku, tvOS) for Live or VOD stream format.\n\nIf you have special requirements that are not supported by the IMA DAI SDK, you\ncan follow the client video player guide\n([Live](/ad-manager/dynamic-ad-insertion/api/pod-serving/live/client) or\n[VOD](/ad-manager/dynamic-ad-insertion/api/pod-serving/vod/client)) to develop\nyour own client apps.\n\nDAI pod serving components\n--------------------------\n\nAn implementation of the DAI Pod Serving API consists of three main components:\n\n### Google Ad Manager\n\nGoogle Ad Manager is a hosted service that creates and manages user stream\nsessions, selects ads to serve, encodes them as streaming segments, and delivers\nthem to the client video player when requested.\n\nIn live streams, ads are inserted in real time when specific segments are\nrequested by the client video player and are delivered to the player as URL\nredirects for those media segments.\n\nIn VOD streams, ads are selected before playback begins and are delivered to\nthe manifest manipulator as a set of stream manifests corresponding to each\nad pod.\n\n### Manifest manipulator\n\nA manifest manipulator is a server that receives a stream session ID from\nthe client video player, uses it to associate ads with that stream, and\nembed those ads into the stream manifest.\n\nFor HLS live streams, the manifest manipulator doesn't communicate directly\nwith Ad Manager. Instead, it places ad media segments in the stream manifest\nwith Ad Manager URLs so that the client video player can request the ad media\nsegment files.\n\nFor VOD streams, the manifest manipulator communicates directly with Ad Manager\nto request ads, and receives a set of streaming manifests to merge with the\ncontent stream. The combined manifest is then sent to the client video player\nfor playback.\n\n### Client video player\n\nThe client video player is the app or website that eventually plays back the\nvideo stream containing ads. Before doing so, it requests a stream ID from\nAd Manager and then passes that ID to the manifest manipulator to receive a\nstreaming manifest to play. It's also in charge of watching for in-stream\nmetadata and triggering ad tracking events.\n\nLivestream versus VOD pod serving\n---------------------------------\n\nAt a glance, livestream and VOD pod serving might appear very similar.\nHowever, there are several significant differences between the two workflows.\n\n| Livestream pod serving | VOD pod serving |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| The client video player requests ads from Ad Manager as needed throughout playback. These ads can be preselected using *early ad break notifications*. | The manifest manipulator requests all ads from Ad Manager before playback begins. |\n| With HLS streams, the manifest manipulator doesn't directly interact with Ad Manager, but instead generates ad segment URLs for the client video player to request as needed. | The manifest manipulator directly requests ads from Ad Manager before generating the stream manifest for the client video player. |\n| Ad Manager might insert slate if an ad pod is shorter than a specified ad break. | Slate is not needed or supported. |\n| You must register the livestream event and encoding profiles with Ad Manager before ads can be requested. | You don't need to perform any setup in Ad Manager before ads can be requested, but the manifest manipulator must provide the relevant encoding profiles and ad tag for your stream on each ad request. |\n\nIt's important to keep these differences in mind as you proceed with\n[Live](/ad-manager/dynamic-ad-insertion/api/pod-serving/live) or\n[VOD](/ad-manager/dynamic-ad-insertion/api/pod-serving/vod) pod serving."]]