Method: networks.sources.content.adBreaks.create
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
라이브 스트림 내에 광고 시점을 만드는 API
HTTP 요청
POST https://admanagervideo.googleapis.com/v1/{content=networks/*/sources/*/content/*}/adBreaks
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
content |
string
GAM 내 콘텐츠와 연결된 경우 LiveStreamEvent를 식별하는 대체 방법입니다. 'networks/{network_code}/sources/{content_source_id}/content/{cms_content_id}' 형식이어야 합니다.
|
쿼리 매개변수
매개변수 |
parent |
string
이 필드는 라이브 스트림 애셋 키를 사용하여 이 광고 시점이 연결되어야 하는 LiveStreamEvent를 식별합니다. 'networks/{network_code}/assets/{asset_code}' 형식이어야 합니다.
|
customParent |
string
이 필드는 맞춤 애셋 키를 사용하여 이 광고 시점을 연결해야 하는 LiveStreamEvent를 식별합니다. 'networks/{network_code}/customAssets/{asset_code}' 형식이어야 합니다.
|
adBreakId |
string
사용자가 요청을 통해 제공할 수 있는 adBreakId입니다.
|
요청 본문
요청 본문에 AdBreak
의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 새로 생성된 AdBreak
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위 중 하나가 필요합니다.
https://www.googleapis.com/auth/contentingestion
https://www.googleapis.com/auth/video-ads
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 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\u003eThis API creates ad breaks within live streams using an HTTP POST request to a specified URL.\u003c/p\u003e\n"],["\u003cp\u003eIdentification of the live stream event can be done using either the content ID (for GAM-associated streams) or asset keys (live stream or custom).\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires an AdBreak object, and a successful response returns the newly created AdBreak object.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires specific OAuth scopes, such as 'contentingestion' or 'video-ads', for access and functionality.\u003c/p\u003e\n"]]],["This API facilitates the creation of an Ad Break within a live stream. It uses a `POST` request to a specified URL, which includes path and query parameters. The `content` path parameter specifies the associated content, while query parameters (`parent`, `customParent`, `adBreakId`) link the Ad Break to a LiveStreamEvent. The request body requires an `AdBreak` instance. Successful creation returns a new `AdBreak` instance in the response body. Access requires OAuth scopes: `contentingestion` or `video-ads`.\n"],null,[]]