8 सितंबर, 2025 से, हर नए लाइन आइटम को यह बताना होगा कि वह यूरोपियन यूनियन (ईयू) में राजनैतिक विज्ञापन दिखाएगा या नहीं. Display & Video 360 API और एसडीएफ़ अपलोड करने की उन कार्रवाइयों को पूरा नहीं किया जा सकेगा जिनमें एलान नहीं किया गया है. इस बारे में ज़्यादा जानने के लिए कि इंटिग्रेशन को अपडेट करके यह एलान कैसे किया जाए, हमारा हटाए गए टैग और एट्रिब्यूट का पेज देखें.
उन इन्वेंट्री सोर्स की सूची बनाता है जिन्हें मौजूदा उपयोगकर्ता ऐक्सेस कर सकता है.
क्रम, orderBy पैरामीटर से तय होता है. अगर entityStatus तक filter की जानकारी नहीं दी गई है, तो इकाई की स्थिति ENTITY_STATUS_ARCHIVED वाले इन्वेंट्री सोर्स को नतीजों में शामिल नहीं किया जाएगा.
एचटीटीपी अनुरोध
GET https://displayvideo.googleapis.com/v3/inventorySources
पेज का अनुरोध किया गया साइज़. यह वैल्यू 1 और 200 के बीच होनी चाहिए. अगर कोई वैल्यू नहीं दी गई है, तो डिफ़ॉल्ट रूप से 100 लागू हो जाएगा.
pageToken
string
नतीजों के उस पेज की पहचान करने वाला टोकन जिसे सर्वर को दिखाना चाहिए. आम तौर पर, यह inventorySources.list वाले तरीके के पिछले कॉल से मिली nextPageToken की वैल्यू होती है. अगर कोई नंबर नहीं दिया जाता है, तो नतीजों का पहला पेज दिखेगा.
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 filtered.\u003c/p\u003e\n"],["\u003cp\u003eSupports pagination with \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e for retrieving results in manageable chunks.\u003c/p\u003e\n"],["\u003cp\u003eOffers filtering options using the \u003ccode\u003efilter\u003c/code\u003e parameter for refining results based on entity status, commitment, delivery method, rate type, or exchange.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying an \u003ccode\u003eaccessor\u003c/code\u003e (either \u003ccode\u003epartnerId\u003c/code\u003e or \u003ccode\u003eadvertiserId\u003c/code\u003e) to identify the DV360 entity for access control.\u003c/p\u003e\n"],["\u003cp\u003eUses \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://displayvideo.googleapis.com/v3/inventorySources\u003c/code\u003e and requires \u003ccode\u003ehttps://www.googleapis.com/auth/display-video\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["This API lists accessible inventory sources for a user via a `GET` request to `https://displayvideo.googleapis.com/v3/inventorySources`. Key parameters include `pageSize`, `pageToken`, `orderBy` for sorting, and `filter` for filtering by fields like `entityStatus`, `commitment`, or `exchange`. The request body must be empty. The response includes a list of inventory sources and a `nextPageToken` for pagination. The call requires authorization scope: `https://www.googleapis.com/auth/display-video`. A union parameter called `accessor` is required to identify the DV360 entity the request is being made from.\n"],null,[]]