उन इन्वेंट्री सोर्स की सूची बनाता है जिन्हें मौजूदा उपयोगकर्ता ऐक्सेस कर सकता है.
क्रम, 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 फ़ील्ड में यह वैल्यू पास करें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया."],[[["Lists inventory sources accessible to the current user, ordered by `orderBy` parameter and excluding archived sources unless filtered."],["Supports pagination with `pageSize` and `pageToken` for retrieving results in manageable chunks."],["Offers filtering options using the `filter` parameter for refining results based on entity status, commitment, delivery method, rate type, or exchange."],["Requires specifying an `accessor` (either `partnerId` or `advertiserId`) to identify the DV360 entity for access control."],["Uses `GET` request to `https://displayvideo.googleapis.com/v3/inventorySources` and requires `https://www.googleapis.com/auth/display-video` authorization scope."]]],["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"]]