Video Stitcher API를 사용하면 동영상 콘텐츠를 조작하여 클라이언트 기기에 전송하기 전에 광고를 동적으로 삽입할 수 있습니다. Video Stitcher API를 사용하면 광고 서버에 저장된 메타데이터에 설명된 대로 광고를 삽입하여 주문형 동영상 (VOD) 및 라이브 스트림 동영상으로 수익을 창출할 수 있습니다.
데이터 모델
Video Stitcher API는 다음 리소스를 사용합니다.
콘텐츠 전송 네트워크 (CDN)를 통해 저장되고 배포되는 VOD 매니페스트입니다.
Video Stitcher API가 병합 전에 동영상을 검색하는 데 필요한 등록된 CDN 키입니다.
VMAP 및 SmartXML은 VOD 애셋에 삽입할 시간 오프셋을 포함한 완전한 광고 재생목록을 제공합니다. VAST 전용 광고 태그를 제공하면 Video Stitcher API는 광고 모음 (순서가 지정된 광고 그룹)을 프리롤로 간주하고 VOD 애셋 시작 전에 삽입합니다.
서버 측 광고 추적
다양한 동영상 플레이어를 지원하기 위해 Video Stitcher API는 클라이언트를 대신하여 서버 측에서 광고 추적 이벤트를 트리거할 수 있습니다. 서버 측 광고 추적을 사용하면 클라이언트 측 광고 차단으로 인한 수익 손실을 방지할 수 있습니다.
CDN 토큰화 지원
Video Stitcher API는 미디어 CDN을 통해 배포된 원시 동영상을 검색하고 세그먼트 URL을 토큰화하는 기능을 지원합니다.
광고 재인코딩
적응형 비트 전송률 (ABR) 스트리밍을 사용하여 광고 서버에서 제공하는 광고 동영상은 모든 유형의 클라이언트 기기를 지원하도록 항상 올바르게 인코딩되지 않을 수 있습니다. Video Stitcher API는 광고 동영상을 다시 인코딩하여 다양한 클라이언트 플레이어에 최상의 품질의 광고를 게재합니다. 프로젝트당 광고는 1,000개로 제한됩니다.Google Cloud
모든 새 광고는 라이브 또는 VOD 세션에 병합할 수 있으려면 먼저 인코딩해야 합니다. 각 광고는 5분 이내에 인코딩됩니다. 광고가 인코딩된 후에는 후속 세션에서 원하는 만큼 재사용할 수 있습니다. 이 인코딩은 비동기식으로 실행되며 사용 설정하거나 시작하기 위해 별도의 작업이 필요하지 않습니다.
이 인코딩 시간으로 인해 라이브 세션의 첫 번째 광고 시점이나 지정된 광고 태그로 만든 첫 번째 VOD 세션에서 광고가 병합되지 않을 수 있습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["# Video Stitcher API overview\n\nThe Video Stitcher API allows you to manipulate video content to dynamically\ninsert ads prior to delivery to client devices. Using the\nVideo Stitcher API, you can monetize your video-on-demand (VOD) and\nlivestream videos by inserting ads as described by metadata stored on ad\nservers.\n\nData model\n----------\n\nThe Video Stitcher API relies on the following resources:\n\n- Video-on-demand manifests stored and distributed via a Content Delivery Network (CDN).\n- Registered CDN keys that the Video Stitcher API requires to retrieve videos prior to stitching.\n- [Video Multiple Ad Playlist (VMAP)](https://www.iab.com/guidelines/vmap/), [SmartXML](http://www.oroptimizer.com/smartxml/index.aspx), or [Video Ad Serving Template\n (VAST)](https://www.iab.com/guidelines/vast/) compliant ad servers to deliver ad metadata.\n\nVideo stitching entities\n------------------------\n\nThe following image shows the four entities involved in video stitching.\nEach solid arrow denotes an explicit request from one entity to another. The\nlighter-colored, dotted-line arrows denote possible requests from one entity to\nanother.\n\n| **Key Point:** The Video Stitcher API does not store the content provider's source content (media). The Video Stitcher API provides a manifest that references the content provider's CDN for source content.\n\nFeatures\n--------\n\nThis section describes the features that make up the Video Stitcher API\nand the primary purpose of each feature.\n\n### Adaptive bitrate HTTP streaming\n\nThe Video Stitcher API supports the following formats:\n\n- [Common Media Application Format (CMAF) compliant HTTP Live Streaming (HLS)](https://developer.apple.com/documentation/http_live_streaming/about_the_common_media_application_format_with_http_live_streaming)\n- [Dynamic Adaptive Streaming over HTTP (DASH)](https://wikipedia.org/wiki/Dynamic_Adaptive_Streaming_over_HTTP) standard adaptive bitrate streaming\n\nFor HLS, ads are stitched after the closest segment to the time offset as\nspecified by the VMAP or SmartXML metadata.\n\nFor DASH, ads are stitched after the closest period to the time offset as\nspecified by the VMAP or SmartXML data.\n\n### Ad server compliance\n\nThe Video Stitcher API complies with ad servers that support the following\nformats:\n\n- [IAB Tech Lab Digital Video Ad Serving Template (VAST)](https://iabtechlab.com/standards/vast/), up to version 4.0\n- [IAB Tech Lab Digital Video Multiple Ad Playlist (VMAP)](https://iabtechlab.com/standards/video-multiple-ad-playlist-vmap/)\n- [FreeWheel](https://docs.vdms.com/video/Content/AdIntegration/Freewheel.htm) SmartXML\n\nVMAP and SmartXML provide a complete ad playlist, including time offsets, to\ninsert into a VOD asset. If you provide a VAST-only ad tag, the\nVideo Stitcher API treats the ad pod (a sequenced group of ads) as\npre-roll, and inserts them before the start of the VOD asset.\n\n### Server-side ad tracking\n\nTo support a variety of video players, the Video Stitcher API can trigger\nad tracking events on the server-side on behalf of the client. Server-side ad\ntracking can help you to avoid loss of revenue due to client-side ad blocking.\n\n### CDN tokenization support\n\nThe Video Stitcher API supports retrieving raw videos distributed through\n[Media CDN](/media-cdn) and the ability to tokenize the segment\nURLs.\n\n### Ad re-encoding\n\nAd videos provided from ad servers using adaptive bitrate (ABR) streaming might\nnot always be encoded correctly to support every type of client device. The\nVideo Stitcher API re-encodes ad videos to ensure the best quality ads are\ndelivered to a variety of client players. There is a limit of 1000 ads per\nGoogle Cloud project.\n\nEvery new ad must be encoded before it can be stitched into either a live or VOD\nsession. Expect each ad to be encoded within five minutes. After the ad has been\nencoded, it can be reused in any number of subsequent sessions. This encoding\nhappens asynchronously and does not require any action to enable or initiate.\nDue to this encoding time, ads may not be stitched in the first ad break of a\nlive session or in the first VOD session created with the given ad tag.\n\nWhat's next\n-----------\n\n- See the [Pricing](/video-stitcher/pricing) page.\n- Complete the [quickstart for livestreams](/video-stitcher/docs/quickstarts/inserting-ads-into-live).\n- Complete the [quickstart for VOD assets](/video-stitcher/docs/quickstarts/inserting-ads-into-vod)."]]