Method: advertisers.patch
Cập nhật nhà quảng cáo hiện có. Trả về nhà quảng cáo đã cập nhật nếu thành công.
Yêu cầu HTTP
PATCH https://displayvideo.googleapis.com/v3/advertisers/{advertiser.advertiserId}
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Thông số |
advertiser.advertiserId |
string (int64 format)
Chỉ có đầu ra. Mã nhận dạng duy nhất của nhà quảng cáo. Do hệ thống chỉ định.
|
Tham số truy vấn
Thông số |
updateMask |
string (FieldMask format)
Bắt buộc. Mặt nạ để kiểm soát những trường cần cập nhật. Đây là danh sách tên đủ điều kiện của các trường được phân tách bằng dấu phẩy. Ví dụ: "user.displayName,photo"
|
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 phiên bản của Advertiser
.
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."],[[["This operation updates an existing advertiser using an HTTP PATCH request to the specified URL."],["You need to provide the advertiser ID as a path parameter and specify the fields to update using the `updateMask` query parameter."],["The request body should contain the updated advertiser details as defined in the `Advertiser` resource."],["Upon success, the API returns the updated `Advertiser` resource."],["Authorization requires the `https://www.googleapis.com/auth/display-video` OAuth scope."]]],["This describes updating an advertiser using a PATCH request to a specified URL. The request requires the advertiser's unique ID in the path and an `updateMask` in the query to indicate which fields to modify. The request body contains the updated `Advertiser` data. A successful response returns the modified `Advertiser`. The process requires OAuth scope authorization. The URL follows gRPC Transcoding syntax. The advertiser id is provided by the system.\n"]]