Method: inventorySources.create
नया इन्वेंट्री सोर्स बनाता है. अगर यह फ़ंक्शन सही तरीके से काम करता है, तो नया इन्वेंट्री सोर्स दिखाता है.
एचटीटीपी अनुरोध
POST https://displayvideo.googleapis.com/v3/inventorySources
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
क्वेरी पैरामीटर
पैरामीटर |
यूनियन पैरामीटर accessor . ज़रूरी है. यह बताता है कि अनुरोध किस DV360 इकाई के लिए किया जा रहा है. accessor इनमें से कोई एक हो सकता है: |
partnerId |
string (int64 format)
उस पार्टनर का आईडी जिससे अनुरोध किया जा रहा है.
|
advertiserId |
string (int64 format)
विज्ञापन देने वाले उस व्यक्ति या कंपनी का आईडी जिसके लिए अनुरोध किया जा रहा है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में InventorySource
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में 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-02-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-02-25 (UTC) को अपडेट किया गया."],[[["Creates a new inventory source within a specified Display & Video 360 partner or advertiser."],["Sends an HTTP POST request to the provided URL with the new inventory source details in the request body."],["Requires authorization with the `https://www.googleapis.com/auth/display-video` scope."],["Returns the newly created inventory source object in the response body upon successful completion."]]],["This documentation details how to create a new inventory source via a POST request to `https://displayvideo.googleapis.com/v3/inventorySources`. The request must include a `accessor` parameter, specifying either a `partnerId` or `advertiserId`. The request body contains an `InventorySource` instance. Successful requests return the created `InventorySource` in the response body. The request uses gRPC Transcoding and requires the `https://www.googleapis.com/auth/display-video` OAuth scope. There is also an option to test it with \"Try it!\" functionality.\n"]]