تحدّد المَعلمة 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"]]