Layanan YouTube API - Layanan Subject API
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Catatan: Mematuhi Kebijakan Developer YouTube memberikan panduan dan contoh untuk membantu Anda memastikan bahwa klien API Anda mengikuti bagian tertentu Persyaratan dan Kebijakan Layanan YouTube API (TOS API). Panduan ini menawarkan insight tentang cara YouTube menerapkan aspek-aspek tertentu dari TOS API, tetapi tidak menggantikan dokumen yang sudah ada.
Persyaratan Layanan untuk Layanan YouTube API Services ("Persyaratan") menyatakan (di Pasal 14) bahwa saat YouTube bermaksud melakukan perubahan yang tidak kompatibel dengan versi sebelumnya pada layanan YouTube API, YouTube akan mengumumkan perubahan tersebut dan mencoba terus mempertahankan kode software selama enam bulan setelah pengumuman.
Halaman ini mengidentifikasi Layanan Subject API yang dirujuk dalam pasal 14.3 (Persyaratan Khusus) dalam Persyaratan dan menjelaskan bagaimana pasal Persyaratan tersebut memengaruhi tanggal penghentian penggunaan yang sebenarnya. Sebelum 10 Februari 2017, yang merupakan tanggal mulai berlaku Persyaratan saat ini, Layanan Subject API tunduk pada kebijakan penghentian layanan satu tahun berdasarkan rangkaian Persyaratan sebelumnya. Untuk mematuhi kebijakan tersebut, Layanan Subject API untuk sementara tunduk pada aturan penghentian yang berbeda dengan layanan lainnya.
Memahami tanggal penghentian penggunaan
Jika terjadi perubahan yang tidak kompatibel dengan versi sebelumnya pada Layanan Subject API, YouTube akan melakukan upaya yang wajar untuk mengelola kode hingga setidaknya 10 Februari 2018, yaitu satu tahun setelah Persyaratan ini diberlakukan. Untuk layanan lainnya, YouTube akan mencoba terus mempertahankan kode software selama enam bulan sejak tanggal perubahan tersebut diumumkan.
Pengecualian
Beberapa fitur Layanan Subject API tidak tunduk pada aturan yang ditetapkan dalam Pasal 14.3 dalam Persyaratan karena fitur tersebut juga tidak tunduk pada kebijakan penghentian layanan yang ditetapkan berdasarkan rangkaian Persyaratan sebelumnya. Fitur tersebut diidentifikasi sebagai pengecualian dalam daftar layanan subjek di bawah ini.
Saat pengecualian berlaku untuk properti object
, pengecualian juga berlaku untuk setiap properti turunan dari properti tersebut. Selain itu, pengecualian berlaku pada kemampuan untuk mengambil, menetapkan, mengubah, atau menghapus nilai properti atau properti turunannya serta pada nilai properti itu sendiri.
Layanan Subject API
Bagian berikut menentukan Layanan Subject API. Untuk kelengkapan, bagian ini juga mengidentifikasi layanan API yang sepenuhnya tidak digunakan lagi. Layanan yang sepenuhnya tidak digunakan lagi tersebut tidak tercakup dalam Persyaratan.
YouTube Data API, v3
API Pemutar IFrame YouTube
YouTube Reporting API
- Dokumentasi
-
Pengecualian
- Dimensi non-inti. (Lihat definisi dimensi untuk menentukan apakah dimensi individual dianggap sebagai dimensi inti.)
- Metrik non-inti. (Lihat definisi metrik untuk menentukan apakah masing-masing metrik dianggap sebagai metrik inti.)
YouTube Analytics API
- Dokumentasi
-
Pengecualian
- Dimensi non-inti. (Lihat definisi dimensi untuk menentukan apakah dimensi individual dianggap sebagai dimensi inti.)
- Metrik non-inti. (Lihat definisi metrik untuk menentukan apakah masing-masing metrik dianggap sebagai metrik inti.)
Layanan API yang sepenuhnya tidak digunakan lagi
Layanan API berikut sepenuhnya tidak digunakan lagi. Klien tunduk pada kebijakan penghentian layanan yang ditetapkan dalam Persyaratan Awal dan periode penghentian penggunaan telah berakhir. YouTube tidak berkewajiban untuk mengumumkan perubahan yang dapat menyebabkan gangguan pada layanan ini atau untuk terus mendukungnya:
YouTube Data API, v2
API Pemutar Flash YouTube
API Pemutar JavaScript YouTube
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-08-21 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-21 UTC."],[],["YouTube API services follow a deprecation policy where backward-incompatible changes are announced, and code is maintained for six months. Subject API Services, listed as YouTube Data API v3, IFrame Player API, Reporting API, and Analytics API, have extended maintenance until February 10, 2018, due to prior terms. Exemptions, like specific properties and non-core metrics, exist. Fully deprecated services, such as Data API v2, Flash, and JavaScript Player APIs, are no longer supported.\n"],null,["# YouTube API Services - Subject API Services\n\n**Note:** [Complying with the YouTube Developer Policies](/youtube/terms/developer-policies-guide) provides guidance and examples to help you ensure that your API clients follow specific portions of the YouTube API Services [Terms](/youtube/terms/api-services-terms-of-service) and [Policies](/youtube/terms/developer-policies) (API TOS). The guide offers insight into how YouTube enforces certain aspects of the API TOS, but it does not replace any existing documents.\n\nThe [YouTube API Services Terms of Service](/youtube/terms/api-services-terms-of-service) (the \"Terms\") state (in Section 14) that when YouTube intends to make backward-incompatible changes to YouTube API services, YouTube will announce those changes and try to continue to maintain the software code for six months after the announcement.\n\nThis page identifies the **Subject API Services** referenced in section 14.3 (Special Terms) of the Terms and explains how that section of the Terms affects actual deprecation dates. Prior to February 10, 2017, which is the effective date of the current Terms, the Subject API Services had been subject to a one-year deprecation policy under the previous set of Terms. To honor that policy, the Subject API Services are, temporarily, subject to different deprecation rules than other services.\n\nUnderstanding deprecation dates\n-------------------------------\n\nIn the event of backward-incompatible changes to Subject API Services, YouTube will use reasonable efforts to maintain code until at least February 10, 2018, which is one year after these Terms became effective. For other services, YouTube will try to continue to maintain the software code for six months from the date those changes are announced.\n\n### Exemptions\n\nSome features of Subject API Services are not subject to the rules defined in Section 14.3 of the Terms because those features were also not subject to the deprecation policy defined under the prior set of Terms. Those features are identified as **exemptions** in the list of subject services below.\n\nWhen an exemption applies to an `object` property, it also applies to any of that property's child properties. In addition, the exemption applies to the ability to retrieve, set, modify, or delete values of the property or its child properties as well as to the property values themselves.\n\nSubject API Services\n--------------------\n\nThe following sections define the Subject API Services. For completeness, these sections also identify fully deprecated API services. Those fully deprecated services are not covered under the Terms.\n\n### YouTube Data API, v3\n\n\u003cbr /\u003e\n\n- [Documentation](/youtube/v3)\n- Exemptions\n\n - The following `channel` resource properties:\n - [brandingSettings.channel.profileColor](/youtube/v3/docs/channels#brandingSettings.channel.profileColor)\n - [brandingSettings.hints](/youtube/v3/docs/channels#brandingSettings.hints)\n - [brandingSettings.image.watchIconImageUrl](/youtube/v3/docs/channels#brandingSettings.image.watchIconImageUrl)\n - [brandingSettings.watch](/youtube/v3/docs/channels#brandingSettings.watch)\n - [contentDetails.relatedPlaylists](/youtube/v3/docs/channels#contentDetails.relatedPlaylists)\n - [contentOwnerDetails](/youtube/v3/docs/channels#contentOwnerDetails)\n - [invideoPromotion](/youtube/v3/docs/channels#invideoPromotion)\n - [statistics.commentCount](/youtube/v3/docs/channels#statistics.commentCount)\n - The [guideCategory](/youtube/v3/docs/guideCategories) resource and its methods.\n - The `search.list` method's [safeSearch](/youtube/v3/docs/search/list#safeSearch) parameter and its values.\n - The `video` resource's [status.publishAt](/youtube/v3/docs/videos#status.publishAt) property.\n\n\u003cbr /\u003e\n\n### YouTube IFrame Player API\n\n\u003cbr /\u003e\n\n- [Documentation](/youtube/iframe_api_reference)\n\n\u003cbr /\u003e\n\n### YouTube Reporting API\n\n\u003cbr /\u003e\n\n- [Documentation](/youtube/reporting)\n- Exemptions\n\n - Non-core dimensions. (See the [dimension](/youtube/reporting/v1/reports/dimensions) definitions to determine whether individual dimensions are considered core dimensions.)\n - Non-core metrics. (See the [metric](/youtube/reporting/v1/reports/metrics) definitions to determine whether individual metrics are considered core metrics.)\n\n\u003cbr /\u003e\n\n### YouTube Analytics API\n\n\u003cbr /\u003e\n\n- [Documentation](/youtube/analytics)\n- Exemptions\n\n - Non-core dimensions. (See the [dimension](/youtube/analytics/v1/dimsmets/dims) definitions to determine whether individual dimensions are considered core dimensions.)\n - Non-core metrics. (See the [metric](/youtube/analytics/v1/dimsmets/mets) definitions to determine whether individual metrics are considered core metrics.)\n\n\u003cbr /\u003e\n\nFully deprecated API Services\n-----------------------------\n\nThe following API services are fully deprecated. They were subject to the deprecation policy set forth in the Original Terms and the deprecation period has ended. YouTube is neither obligated to announce breaking changes to these services nor to continue supporting them:\n\n### YouTube Data API, v2\n\n\u003cbr /\u003e\n\n- [Deprecation announcement](http://youtube-eng.blogspot.com/2014/03/committing-to-youtube-data-api-v3_4.html) (March 4, 2014)\n- [Documentation](/youtube/2.0/developers_guide_protocol)\n- Migration path: [YouTube Data API, v3](/youtube/v3/getting-started)\n\n\u003cbr /\u003e\n\n### YouTube Flash Player API\n\n\u003cbr /\u003e\n\n- [Deprecation announcement](http://youtube-eng.blogspot.com/2015/01/youtube-now-defaults-to-html5_27.html) (January 27, 2015)\n- Migration path: [IFrame Player API](/youtube/iframe_api_reference)\n\n\u003cbr /\u003e\n\n### YouTube JavaScript Player API\n\n\u003cbr /\u003e\n\n- [Deprecation announcement](http://youtube-eng.blogspot.com/2015/01/youtube-now-defaults-to-html5_27.html) (January 27, 2015)\n- Migration path: [IFrame Player API](/youtube/iframe_api_reference)\n\n\u003cbr /\u003e"]]