8 सितंबर, 2025 से, हर नए लाइन आइटम को यह बताना होगा कि वह यूरोपियन यूनियन (ईयू) में राजनैतिक विज्ञापन दिखाएगा या नहीं. Display & Video 360 API और एसडीएफ़ अपलोड करने की उन कार्रवाइयों को पूरा नहीं किया जा सकेगा जिनमें एलान नहीं किया गया है. इस बारे में ज़्यादा जानने के लिए कि इंटिग्रेशन को अपडेट करके यह एलान कैसे किया जाए, हमारा
हटाए गए टैग और एट्रिब्यूट का पेज देखें.
Method: inventorySources.get
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इन्वेंट्री का सोर्स पाता है.
एचटीटीपी अनुरोध
GET https://displayvideo.googleapis.com/v4/inventorySources/{inventorySourceId}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
inventorySourceId |
string (int64 format)
ज़रूरी है. फ़ेच किए जाने वाले इन्वेंट्री सोर्स का आईडी.
|
क्वेरी पैरामीटर
पैरामीटर |
partnerId |
string (int64 format)
ज़रूरी है. DV360 पार्टनर का आईडी, जिसे फ़ेच किए गए इन्वेंट्री सोर्स की अनुमति दी गई है.
|
advertiserId |
string (int64 format)
ज़रूरी नहीं. DV360 का इस्तेमाल करके विज्ञापन देने वाले उस व्यक्ति या कंपनी का आईडी जिसे फ़ेच किए गए इन्वेंट्री सोर्स की अनुमति दी गई है. अगर उपयोगकर्ता के पास सिर्फ़ विज्ञापन देने वाले का ऐक्सेस है, न कि पैरंट पार्टनर का, तो विज्ञापन देने वाले की जानकारी देने के लिए इस फ़ील्ड का इस्तेमाल करें.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में InventorySource
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/display-video
ज़्यादा जानकारी के लिए, OAuth 2.0 Overview देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],[],null,["# Method: inventorySources.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets an inventory source.\n\n### HTTP request\n\n`GET https://displayvideo.googleapis.com/v4/inventorySources/{inventorySourceId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `inventorySourceId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the inventory source to fetch. |\n\n### Query parameters\n\n| Parameters ||\n|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the DV360 partner to which the fetched inventory source is permissioned. |\n| `advertiserId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Optional. The ID of the DV360 advertiser to which the fetched inventory source is permissioned. If the user only has access to the advertiser and not the parent partner, use this field to specify the relevant advertiser. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [InventorySource](/display-video/api/reference/rest/v4/inventorySources#InventorySource).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/display-video`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]