Method: advertisers.create
Tạo một nhà quảng cáo mới. Trả về nhà quảng cáo mới tạo nếu thành công.
Phương thức này thường xuyên có độ trễ cao. Bạn nên tăng thời gian chờ mặc định để tránh lỗi.
Yêu cầu HTTP
POST https://displayvideo.googleapis.com/v3/advertisers
URL sử dụng cú pháp Chuyển mã gRPC.
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của Advertiser
.
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ể Advertiser
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-01-09 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-01-09 UTC."],[[["Creates a new advertiser and returns the created advertiser upon successful completion."],["This method is known to have high latency, so increasing default timeout is recommended."],["The request body should contain an instance of Advertiser and the successful response body will contain the newly created Advertiser instance."],["Requires `https://www.googleapis.com/auth/display-video` OAuth scope for authorization."]]],["This outlines the process of creating a new advertiser via an HTTP POST request to `https://displayvideo.googleapis.com/v3/advertisers`. The request body must include an `Advertiser` instance, and a successful response returns a newly created `Advertiser` instance. Due to high latency, increasing the default timeout is advised. Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope. The URL follows gRPC Transcoding syntax.\n"]]