Method: videoAdvertisingOptions.update
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
HTTP 요청
PUT https://youtubepartner.googleapis.com/youtube/partner/v1/videoAdvertisingOptions/{videoId}
URL은 gRPC 트랜스코딩 문법을 사용합니다.
경로 매개변수
매개변수 |
videoId |
string
videoId 매개변수는 광고 설정을 업데이트할 동영상의 YouTube 동영상 ID를 지정합니다.
|
쿼리 매개변수
매개변수 |
onBehalfOfContentOwner |
string
onBehalfOfContentOwner 매개변수는 사용자가 대리하는 콘텐츠 소유자를 식별합니다. 이 매개변수는 계정이 여러 콘텐츠 소유자와 연결된 사용자를 지원합니다.
|
요청 본문
요청 본문에 VideoAdvertisingOption
의 인스턴스가 포함됩니다.
응답 본문
성공한 경우 응답 본문에 VideoAdvertisingOption
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/youtubepartner
자세한 내용은 OAuth 2.0 Overview를 참고하세요.
All rights reserved. 자바는 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)"],[[["This endpoint updates the advertising settings for a specific YouTube video using its `videoId`."],["The `videoId` is required as a path parameter in the URL, and `onBehalfOfContentOwner` can optionally be provided as a query parameter."],["The request and response bodies both utilize the `VideoAdvertisingOption` resource."],["Authorization requires the `https://www.googleapis.com/auth/youtubepartner` OAuth scope."]]],["This document details updating a video's advertising settings via a `PUT` request to the YouTube Partner API endpoint: `/youtube/partner/v1/videoAdvertisingOptions/{videoId}`. The `videoId` path parameter identifies the target video. An optional `onBehalfOfContentOwner` query parameter specifies the content owner. The request body contains `VideoAdvertisingOption` data, as does the successful response. Authorization requires the `https://www.googleapis.com/auth/youtubepartner` OAuth scope.\n"]]