پارامتر videoId شناسه ویدیوی YouTube ویدیویی را که در حال بهروزرسانی تنظیمات تبلیغاتی آن هستید، مشخص میکند.
پارامترهای پرس و جو
پارامترها
onBehalfOfContentOwner
string
پارامتر onBehalfOfContentOwner مالک محتوا را مشخص می کند که کاربر از طرف او اقدام می کند. این پارامتر از کاربرانی پشتیبانی میکند که حسابهایشان با چندین مالک محتوا مرتبط است.
کلیه حقوق محفوظ است. Java علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[],["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"]]