Method: inventorySources.create
Membuat sumber inventaris baru. Menampilkan sumber inventaris yang baru dibuat jika berhasil.
Permintaan HTTP
POST https://displayvideo.googleapis.com/v3/inventorySources
URL menggunakan sintaksis gRPC Transcoding.
Parameter kueri
Parameter |
Parameter union accessor . Wajib. Mengidentifikasi entitas DV360 tempat permintaan dibuat. accessor hanya dapat berupa salah satu dari hal berikut: |
partnerId |
string (int64 format)
ID partner tempat permintaan dibuat.
|
advertiserId |
string (int64 format)
ID pengiklan tempat permintaan dibuat.
|
Isi permintaan
Isi permintaan memuat instance InventorySource
.
Isi respons
Jika berhasil, isi respons memuat instance InventorySource
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/display-video
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-02-25 UTC.
[null,null,["Terakhir diperbarui pada 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"]]