यह डायलॉग बॉक्स उन इन्वेंट्री सोर्स की सूची बनाता है जिन्हें मौजूदा उपयोगकर्ता ऐक्सेस कर सकते हैं.
ऑर्डर, 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 फ़ील्ड में पास करें.
[[["समझने में आसान है","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"]],["आखिरी बार 2024-09-12 (UTC) को अपडेट किया गया."],[[["Lists inventory sources accessible to the current user, ordered by `orderBy` parameter and excluding archived sources unless specified in the `filter`."],["The API request is a `GET` request to `https://displayvideo.googleapis.com/v1/inventorySources` with optional query parameters for pagination, sorting, and filtering."],["Request body should be empty, and the response will contain a list of inventory sources and a token for retrieving the next page of results."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["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"]]