Method: inventorySources.create
لإنشاء مصدر مستودع جديد تعرِض هذه السمة مصدر المستودع الذي تم إنشاؤه حديثًا في حال نجاح العملية.
طلب HTTP
POST https://displayvideo.googleapis.com/v3/inventorySources
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات طلب البحث
المعلمات |
مَعلمة الائتلاف accessor . مطلوب. لتحديد كيان "مساحة العرض والفيديو 360" الذي يتم تقديم الطلب من خلاله. يمكن أن يكون 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 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-02-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-02-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]