हम Data API को अपडेट कर रहे हैं, ताकि यह Shorts पर मिले व्यू की गिनती करने के तरीके से मेल खा सके.
ज़्यादा जानें
VideoAbuseReportReasons
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
videoAbuseReportReason
संसाधन में, वीडियो को बुरा बर्ताव दिखाने वाले कॉन्टेंट के लिए फ़्लैग किए जाने की वजह के बारे में जानकारी होती है. जब आपका ऐप्लिकेशन बुरे बर्ताव वाले किसी वीडियो की शिकायत करने के लिए videos.reportAbuse
तरीके को कॉल करता है, तो अनुरोध में videoAbuseReportReason
संसाधन की जानकारी का इस्तेमाल करके, यह पता लगाया जाता है कि वीडियो की शिकायत क्यों की जा रही है.
तरीके
एपीआई, videoAbuseReportReasons
संसाधनों के लिए इन तरीकों का इस्तेमाल करता है:
- list
- गलत इस्तेमाल से जुड़े वीडियो की शिकायत करने की वजहों की सूची पाना.
इसे अभी आज़माएं.
संसाधन का प्रतिनिधित्व
यहां दिया गया JSON स्ट्रक्चर, videoAbuseReportReason
संसाधन का फ़ॉर्मैट दिखाता है:
{
"kind": "youtube#videoAbuseReportReason",
"etag": etag,
"id": string,
"snippet": {
"label": string,
"secondaryReasons": [
{
"id": string,
"label": string
}
]
}
}
प्रॉपर्टी
इस टेबल में, इस संसाधन में दिखने वाली प्रॉपर्टी के बारे में बताया गया है:
प्रॉपर्टी |
kind |
string
एपीआई संसाधन के टाइप की पहचान करता है. वैल्यू youtube#videoAbuseReportReason होगी. |
etag |
etag
इस संसाधन का Etag. |
id |
string
वह आईडी जिसका इस्तेमाल YouTube, वजह की पहचान करने के लिए करता है. videos.reportAbuse तरीके को कॉल करते समय, आपके ऐप्लिकेशन को reasonId प्रॉपर्टी सेट करने के लिए, इस वैल्यू का इस्तेमाल करना चाहिए. |
snippet |
object
snippet ऑब्जेक्ट में, इस वजह के बारे में बुनियादी जानकारी होती है. |
snippet.label |
string
गलत इस्तेमाल की शिकायत करने की वजह के लिए, स्थानीय भाषा में लेबल टेक्स्ट. |
snippet.secondaryReasons[] |
list
अगर कोई दूसरी वजह है, तो उसकी सूची. (यह संख्या 0 या उससे ज़्यादा हो सकती है.) |
snippet.secondaryReasons[].id |
string
वह आईडी जिसका इस्तेमाल YouTube, दूसरी वजह की पहचान करने के लिए करता है. videos.reportAbuse तरीके को कॉल करते समय, आपके ऐप्लिकेशन को secondaryReasonId प्रॉपर्टी सेट करने के लिए, इस वैल्यू का इस्तेमाल करना चाहिए. |
snippet.secondaryReasons[].label |
string
दूसरी वजह के लिए, स्थानीय भाषा में लिखा गया लेबल टेक्स्ट. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-21 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eA \u003ccode\u003evideoAbuseReportReason\u003c/code\u003e resource provides the reasons for flagging a video as abusive.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003evideos.reportAbuse\u003c/code\u003e method utilizes \u003ccode\u003evideoAbuseReportReason\u003c/code\u003e data to specify why a video is being reported.\u003c/p\u003e\n"],["\u003cp\u003eThe API's \u003ccode\u003evideoAbuseReportReasons.list\u003c/code\u003e method lets users get a list of reasons for reporting abusive videos.\u003c/p\u003e\n"],["\u003cp\u003eThe resource is represented in JSON format, containing an id, kind, etag and snippet, along with additional nested information, such as secondary reasons.\u003c/p\u003e\n"],["\u003cp\u003eEach of the labels and secondary reasons available to report a video with also have an ID that is used when using the \u003ccode\u003evideos.reportAbuse\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The `videoAbuseReportReason` resource provides data for flagging abusive video content. It contains an ID, localized label, and optional secondary reasons, each with their ID and label. The `videos.reportAbuse` method uses the `videoAbuseReportReason` data, which you can list by calling the `videoAbuseReportReasons/list` method. The resource's `id` property is used in the `videos.reportAbuse` method to define the reason for the report. Secondary reasons are listed in the `snippet` property.\n"],null,["# VideoAbuseReportReasons\n\nA **videoAbuseReportReason** resource contains information about a reason that a video would be flagged for containing abusive content. When your application calls the [videos.reportAbuse](/youtube/v3/docs/videos/reportAbuse) method to report an abusive video, the request uses the information from a `videoAbuseReportReason` resource to identify the reason that the video is being reported.\n\nMethods\n-------\n\nThe API supports the following methods for `videoAbuseReportReasons` resources:\n\n[list](/youtube/v3/docs/videoAbuseReportReasons/list)\n: Retrieve a list of reasons that can be used to report abusive videos.\n [Try it now](/youtube/v3/docs/videoAbuseReportReasons/list#usage).\n\nResource representation\n-----------------------\n\nThe following JSON structure shows the format of a `videoAbuseReportReason` resource: \n\n```text\n{\n \"kind\": \"youtube#videoAbuseReportReason\",\n \"etag\": etag,\n \"id\": string,\n \"snippet\": {\n \"label\": string,\n \"secondaryReasons\": [\n {\n \"id\": string,\n \"label\": string\n }\n ]\n }\n}\n```\n\n### Properties\n\nThe following table defines the properties that appear in this resource:\n\n| Properties ||\n|------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the API resource's type. The value will be `youtube#videoAbuseReportReason`. |\n| `etag` | `etag` The Etag of this resource. |\n| `id` | `string` The ID that YouTube uses to identify the reason. When calling the `videos.reportAbuse` method, your application should use this value to set the [reasonId](/youtube/v3/docs/videos/reportAbuse#reasonId) property. |\n| `snippet` | `object` The `snippet` object contains basic details about the reason. |\n| snippet.`label` | `string` The localized label text for the abuse report reason. |\n| snippet.`secondaryReasons[]` | `list` A list of secondary reasons associated with the reason, if any are available. (There might be 0 or more.) |\n| snippet.secondaryReasons[].`id` | `string` The ID that YouTube uses to identify the secondary reason. When calling the `videos.reportAbuse` method, your application should use this value to set the [secondaryReasonId](/youtube/v3/docs/videos/reportAbuse#secondaryReasonId) property. |\n| snippet.secondaryReasons[].`label` | `string` The localized label text for the secondary reason. |"]]