ما در حال بهروزرسانی Data API هستیم تا با نحوه شمارش بازدیدهای YouTube برای Shorts مطابقت داشته باشد.
بیشتر بدانید
یافتن وضعیت MadeForKids یک ویدیو
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
تعامل با محتوای YouTube که مخصوصاً برای کودکان است، که YouTube آن را «MadeForKids» یا «MFK» مینامد، نیازمند مراقبت و توجه ویژه است.
به عنوان مثال، اگر یک ویدیوی YouTube را که MadeForKids تعیین شده است در سایت یا برنامه خود جاسازی کنید، طبق بخش III.E.4.j سیاست های برنامه نویس باید ردیابی را خاموش کنید و مطمئن شوید که تمامی داده ها با رعایت احترام برای آن بازیکن، با قوانین قابل اجرا، از جمله قانون حفاظت از حریم خصوصی آنلاین کودکان ایالات متحده (COPPA) مطابقت دارد.
اگر مطمئن نیستید که یک ویدیو MadeForKids تعیین شده است یا خیر، میتوانید وضعیت یک ویدیو را در هر زمان معینی از طریق سرویس YouTube Data API به دنبال دستورالعملهای ذکر شده در زیر بررسی کنید:
- حساب توسعه دهنده Google خود را از طریق https://console.cloud.google.com/ ایجاد کنید یا به آن دسترسی پیدا کنید.
- YouTube API را به پروژه API انتخابی خود اضافه کنید (اگر قبلاً این کار را نکرده اید). توجه داشته باشید که سهمیه پیشفرض YouTube API Services 10000 امتیاز سهمیه روزانه است. این برای بررسی وضعیت ویدیوی MadeForKids تا 5000 ویدیو کافی است.
- با استفاده از سرویس YouTube Data API، با نقطه پایانی
videos.list
تماس بگیرید.- شناسه(های) ویدیوی مربوطه را در پارامترهای درخواست قرار دهید.
- حداقل بخش های
id
و status
را در پارامتر part
درخواست لحاظ کنید.
- منبع
video
بازگشتی را برای وضعیت MFK بررسی کنید، که در ویژگی status.madeForKids
منبع برگردانده شده است.
میتوانید درباره دستورالعملهای MadeForKids در مرکز راهنمای YouTube اطلاعات بیشتری کسب کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2023-02-22 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2023-02-22 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eContent designated as "MadeForKids" (MFK) on YouTube requires special handling due to specific legal requirements.\u003c/p\u003e\n"],["\u003cp\u003eEmbedding MFK YouTube videos mandates disabling tracking and ensuring data collection complies with laws like COPPA.\u003c/p\u003e\n"],["\u003cp\u003eThe YouTube Data API Service can be used to determine if a video is designated as MFK by calling the \u003ccode\u003evideos.list\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eYou must use a Google developer account and add the YouTube API to a project to use the YouTube Data API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estatus.madeForKids\u003c/code\u003e property within the \u003ccode\u003evideos\u003c/code\u003e resource will define if the video is an MFK video or not, when using the \u003ccode\u003evideos.list\u003c/code\u003e endpoint.\u003c/p\u003e\n"]]],["YouTube content marked \"MadeForKids\" (MFK) necessitates specific handling. Embedding MFK videos requires disabling tracking and ensuring data collection complies with laws like COPPA. To verify a video's MFK status, use the YouTube Data API Service. Access your Google developer account, enable the YouTube API, and use the `videos.list` endpoint. Include video IDs and the `id` and `status` parts in the request. The `status.madeForKids` property reveals the MFK designation.\n"],null,["# Finding the MadeForKids status of a video\n\nInteractions with YouTube content that is specifically directed towards children, which\nYouTube labels \"MadeForKids\" or \"MFK\", require special care and attention.\n\nAs an example, if you embed a YouTube video that is designated MadeForKids on your site or\napp, you are required by [Section III.E.4.j of the\nDeveloper Policies](/youtube/terms/developer-policies#III-E-4-j) to turn off tracking and make sure that all data collection, with\nrespect to that player, is compliant with applicable laws, including U.S. Children's Online\nPrivacy Protection Act (COPPA).\n\nIf you are not sure whether a video is designated MadeForKids, you can check the status of a\nvideo at any given time via the YouTube Data API Service following the instructions outlined\nbelow:\n\n1. Create or access your Google developer account via \u003chttps://console.cloud.google.com/\u003e.\n2. Add the YouTube API to your selected API Project (if you haven't already). Note that the default YouTube API Services quota is 10,000 daily quota points; this is sufficient to check the MadeForKids video status of up to 5000 videos.\n3. Using the YouTube Data API Service, call the [videos.list](/youtube/v3/docs/videos/list) endpoint.\n 1. Include the relevant Video ID(s) in the request parameters.\n 2. Include, at minimum, the `id` and `status` parts in the request's [part](/youtube/v3/docs/videos/list#part) parameter.\n4. Check the [video](/youtube/v3/docs/videos#resource) resource returned for the MFK status, which is returned in the resource's [status.madeForKids](/youtube/v3/docs/videos#status.madeForKids) property.\n\nYou can learn more about MadeForKids guidelines in the\n[YouTube Help Center](https://support.google.com/youtube/answer/9528076)."]]