Thông số videoId chỉ định mã video trên YouTube của video mà bạn đang cập nhật chế độ cài đặt quảng cáo.
Tham số truy vấn
Thông số
onBehalfOfContentOwner
string
Tham số onBehalfOfContentOwner xác định chủ sở hữu nội dung mà người dùng đang thay mặt. Tham số này hỗ trợ những người dùng có tài khoản được liên kết với nhiều chủ sở hữu nội dung.
Mọi quyền được bảo lưu. Java là một nhãn hiệu đã đăng ký của Oracle và/hoặc chi nhánh của Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-08-21 UTC."],[],["This document details how to update advertising settings for a specific YouTube video using a PATCH request. The request targets the video ID via the URL path `https://youtubepartner.googleapis.com/youtube/partner/v1/videoAdvertisingOptions/{videoId}`. It can identify the content owner using the `onBehalfOfContentOwner` query parameter. The request body contains a `VideoAdvertisingOption`, and a successful response returns the updated `VideoAdvertisingOption`. The operation requires the `https://www.googleapis.com/auth/youtubepartner` authorization scope.\n"]]