8 सितंबर, 2025 से, हर नए लाइन आइटम को यह बताना होगा कि वह यूरोपियन यूनियन (ईयू) में राजनैतिक विज्ञापन दिखाएगा या नहीं. Display & Video 360 API और एसडीएफ़ अपलोड करने की उन कार्रवाइयों को पूरा नहीं किया जा सकेगा जिनमें एलान नहीं किया गया है. इस बारे में ज़्यादा जानने के लिए कि इंटिग्रेशन को अपडेट करके यह एलान कैसे किया जाए, हमारा हटाए गए टैग और एट्रिब्यूट का पेज देखें.
यह डायलॉग बॉक्स उन इन्वेंट्री सोर्स की सूची बनाता है जिन्हें मौजूदा उपयोगकर्ता ऐक्सेस कर सकते हैं.
ऑर्डर, orderBy पैरामीटर से तय होता है. अगर entityStatus के लिए filter तय नहीं किया गया है, तो खोज के नतीजों में, उन इन्वेंट्री सोर्स को शामिल नहीं किया जाएगा जिनकी इकाई की स्थिति ENTITY_STATUS_ARCHIVED है.
एचटीटीपी अनुरोध
GET https://displayvideo.googleapis.com/v1/inventorySources
अनुरोध किया गया पेज साइज़. वैल्यू, 1 और 200 के बीच होनी चाहिए. अगर कोई वैल्यू नहीं दी गई है, तो डिफ़ॉल्ट रूप से 100 पर सेट होगी.
pageToken
string
टोकन, जो नतीजों के उस पेज की पहचान करता है जिसे सर्वर को दिखाना चाहिए. आम तौर पर, यह nextPageToken की वैल्यू होती है. इसे पिछले कॉल के दौरान inventorySources.list तरीके से लौटाया जाता है. अगर इसके बारे में नहीं बताया गया है, तो नतीजों का पहला पेज दिखाया जाएगा.
orderBy
string
वह फ़ील्ड जिसके हिसाब से सूची को क्रम से लगाना है. ये वैल्यू स्वीकार की जाती हैं:
displayName (डिफ़ॉल्ट)
क्रम से लगाने का डिफ़ॉल्ट क्रम बढ़ते क्रम में है. फ़ील्ड के घटते क्रम में लगाने के लिए, प्रत्यय "desc" फ़ील्ड के नाम में जोड़ा जाना चाहिए. उदाहरण के लिए, displayName desc.
filter
string
इन्वेंट्री सोर्स फ़ील्ड के हिसाब से फ़िल्टर करने की अनुमति देता है.
इस्तेमाल किया जा सकने वाला सिंटैक्स:
फ़िल्टर एक्सप्रेशन में एक या ज़्यादा पाबंदियां होती हैं.
AND या OR लॉजिकल ऑपरेटर, पाबंदियों को जोड़ सकते हैं. पाबंदियों का क्रम, साफ़ तौर पर AND का इस्तेमाल करता है.
पाबंदी {field} {operator} {value} में होती है.
सभी फ़ील्ड में, EQUALS (=) ऑपरेटर का इस्तेमाल करना ज़रूरी है.
इस्तेमाल किए जा सकने वाले फ़ील्ड:
status.entityStatus
commitment
deliveryMethod
rateDetails.rateType
exchange
उदाहरण:
इन्वेंट्री के सभी चालू सोर्स: status.entityStatus="ENTITY_STATUS_ACTIVE"
Google Ad Manager या Rubicon एक्सचेंज से जुड़े इन्वेंट्री सोर्स: exchange="EXCHANGE_GOOGLE_AD_MANAGER" OR exchange="EXCHANGE_RUBICON"
इस फ़ील्ड में 500 से ज़्यादा वर्ण नहीं होने चाहिए.
यूनियन पैरामीटर accessor. ज़रूरी है. इससे पता चलता है कि किस DV360 इकाई के लिए अनुरोध किया जा रहा है. LIST अनुरोध से सिर्फ़ इन्वेंट्री सोर्स वाली वे इकाइयां दिखेंगी जो accessor में मौजूद DV360 इकाई के लिए ऐक्सेस की जा सकती हैं. accessor इनमें से सिर्फ़ एक हो सकता है:
नतीजों का अगला पेज वापस पाने के लिए टोकन. नतीजों का अगला पेज वापस पाने के लिए, अगली कॉल inventorySources.list तरीके में इस वैल्यू को pageToken फ़ील्ड में पास करें.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eLists inventory sources accessible to the current user, ordered by \u003ccode\u003eorderBy\u003c/code\u003e parameter and excluding archived sources unless specified in the \u003ccode\u003efilter\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe API request is a \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://displayvideo.googleapis.com/v1/inventorySources\u003c/code\u003e with optional query parameters for pagination, sorting, and filtering.\u003c/p\u003e\n"],["\u003cp\u003eRequest body should be empty, and the response will contain a list of inventory sources and a token for retrieving the next page of results.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization requires the \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document details how to use the Display & Video 360 API to list accessible inventory sources. Users send a `GET` request to the specified URL, with optional query parameters for `pageSize`, `pageToken`, `orderBy`, and `filter`, to refine the results. The request must identify the accessible DV360 entity via the required union parameter `accessor` which can be a `partnerId` or `advertiserId`. The response contains a list of `inventorySources` and a `nextPageToken` for pagination. Archived inventory sources are excluded unless specified by a filter. The request body must be empty, and authorization requires a specific OAuth scope.\n"],null,[]]