Method: inventorySources.create
Tạo nguồn khoảng không quảng cáo mới. Trả về nguồn kho hàng mới tạo nếu thành công.
Yêu cầu HTTP
POST https://displayvideo.googleapis.com/v3/inventorySources
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số truy vấn
Thông số |
Tham số hợp nhất accessor . Bắt buộc. Xác định thực thể DV360 mà yêu cầu đang được thực hiện. accessor chỉ có thể là một trong những loại sau: |
partnerId |
string (int64 format)
Mã của đối tác mà bạn đang gửi yêu cầu.
|
advertiserId |
string (int64 format)
Mã nhận dạng của nhà quảng cáo mà yêu cầu đang được thực hiện.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của InventorySource
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một thực thể InventorySource
mới tạo.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/display-video
Để biết thêm thông tin, hãy xem OAuth 2.0 Overview.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-02-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]