YouTube কীভাবে Short-এর জন্য ভিউ গণনা করে তা মেলাতে আমরা Data API আপডেট করছি।
আরও জানুন
I18nRegions
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি i18nRegion
রিসোর্স একটি ভৌগলিক এলাকা চিহ্নিত করে যেটিকে একজন YouTube ব্যবহারকারী পছন্দের বিষয়বস্তু অঞ্চল হিসেবে বেছে নিতে পারেন। বিষয়বস্তু অঞ্চলকে একটি বিষয়বস্তু লোকেল হিসাবেও উল্লেখ করা যেতে পারে। YouTube ওয়েবসাইটের জন্য, YouTube ডোমেন বা ব্যবহারকারীর IP অবস্থানের মতো হিউরিস্টিকসের উপর ভিত্তি করে একটি বিষয়বস্তু অঞ্চল স্বয়ংক্রিয়ভাবে নির্বাচন করা যেতে পারে। একজন ব্যবহারকারী নিজেও ইউটিউব সাইটের ফুটার থেকে পছন্দসই বিষয়বস্তুর অঞ্চল নির্বাচন করতে পারে।
প্রতিটি i18nRegion
সম্পদ একটি অঞ্চল কোড এবং একটি নাম সনাক্ত করে। search.list
, videos.list
, activities.list
, এবং videoCategories.list
মত API পদ্ধতিতে কল করার সময় অঞ্চল কোডটি regionCode
প্যারামিটারের মান হিসাবে ব্যবহার করা যেতে পারে।
পদ্ধতি
API i18nRegions
সংস্থানগুলির জন্য নিম্নলিখিত পদ্ধতিগুলিকে সমর্থন করে:
- list
- YouTube ওয়েবসাইট সমর্থন করে এমন বিষয়বস্তুর অঞ্চলগুলির একটি তালিকা প্রদান করে৷ এখনই চেষ্টা করে দেখুন ।
সম্পদ প্রতিনিধিত্ব
নিম্নলিখিত JSON কাঠামোটি একটি i18nRegions
সম্পদের বিন্যাস দেখায়:
{
"kind": "youtube#i18nRegion",
"etag": etag,
"id": string,
"snippet": {
"gl": string,
"name": string
}
}
বৈশিষ্ট্য
নিম্নলিখিত সারণী এই সম্পদে প্রদর্শিত বৈশিষ্ট্যগুলিকে সংজ্ঞায়িত করে:
বৈশিষ্ট্য |
---|
kind | string API সম্পদের ধরন সনাক্ত করে। মান হবে youtube#i18nRegion । |
etag | etag এই সম্পদের Etag. |
id | string আইডি যেটি ইউটিউব ব্যবহার করে i18n অঞ্চলকে স্বতন্ত্রভাবে সনাক্ত করতে। |
snippet | object snippet অবজেক্টে i18n অঞ্চল সম্পর্কে প্রাথমিক বিবরণ রয়েছে, যেমন এর অঞ্চল কোড এবং নাম। |
snippet. gl | string দুই-অক্ষরের ISO কান্ট্রি কোড যা অঞ্চলটিকে চিহ্নিত করে। |
snippet. name | string অঞ্চলের নাম। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-21 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-21 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eAn i18nRegion resource specifies a geographic area that YouTube users can choose as their preferred content region.\u003c/p\u003e\n"],["\u003cp\u003eThe i18nRegion includes a region code and a name, and the code can be used when calling API methods such as \u003ccode\u003esearch.list\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe YouTube API's \u003ccode\u003ei18nRegions.list\u003c/code\u003e method allows retrieval of a list of supported content regions.\u003c/p\u003e\n"],["\u003cp\u003eEach i18nRegion resource includes an \u003ccode\u003eid\u003c/code\u003e, \u003ccode\u003eetag\u003c/code\u003e, and \u003ccode\u003esnippet\u003c/code\u003e containing the region code (\u003ccode\u003egl\u003c/code\u003e) and region \u003ccode\u003ename\u003c/code\u003e.\u003c/p\u003e\n"]]],["The `i18nRegion` resource represents a YouTube content region, selectable by users or automatically determined. Each resource has a unique ID, region code, and name. The region code is usable in API methods like `search.list`. The resource can be retrieved via the `i18nRegions.list` method, which provides the supported content regions. The resource's properties include `kind` (`youtube#i18nRegion`), `etag`, `id`, and a `snippet` object containing the region's code (`gl`) and name.\n"],null,["# I18nRegions\n\nAn **i18nRegion** resource identifies a geographic area that a YouTube user can select as the preferred content region. The content region can also be referred to as a content locale. For the YouTube website, a content region could be automatically selected based on heuristics like the YouTube domain or the user's IP location. A user could also manually select the desired content region from the YouTube site footer. \n\nEach `i18nRegion` resource identifies a region code and a name. The region code can be used as the value of the `regionCode` parameter when calling API methods like `search.list`, `videos.list`, `activities.list`, and `videoCategories.list`.\n\nMethods\n-------\n\nThe API supports the following methods for `i18nRegions` resources:\n\n[list](/youtube/v3/docs/i18nRegions/list)\n: Returns a list of content regions that the YouTube website supports.\n [Try it now](/youtube/v3/docs/i18nRegions/list#usage).\n\nResource representation\n-----------------------\n\nThe following JSON structure shows the format of a `i18nRegions` resource: \n\n```text\n{\n \"kind\": \"youtube#i18nRegion\",\n \"etag\": etag,\n \"id\": string,\n \"snippet\": {\n \"gl\": string,\n \"name\": string\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#i18nRegion`. |\n| `etag` | `etag` The Etag of this resource. |\n| `id` | `string` The ID that YouTube uses to uniquely identify the i18n region. |\n| `snippet` | `object` The `snippet` object contains basic details about the i18n region, such as its region code and name. |\n| snippet.`gl` | `string` The two-letter ISO country code that identifies the region. |\n| snippet.`name` | `string` The name of the region. |"]]