Reports: getFile
Tải tệp báo cáo được mã hoá theo UTF-8 xuống.
Thử ngay.
Yêu cầu
Yêu cầu HTTP
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment
Tham số
Tên thông số |
Giá trị |
Mô tả |
Tham số đường dẫn |
reportFragment |
integer |
Chỉ mục của mảnh báo cáo cần tải xuống.
|
reportId |
string |
Mã của báo cáo.
|
Ủy quyền
Yêu cầu này cần được cho phép có phạm vi sau:
Phạm vi |
https://www.googleapis.com/auth/doubleclicksearch |
Để biết thêm thông tin, hãy xem trang xác thực và uỷ quyền.
Nội dung yêu cầu
Đừng cung cấp nội dung yêu cầu bằng phương thức này.
Phản hồi
Nếu thành công, phương thức này sẽ trả về một nội dung phản hồi trống.
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: 2024-08-20 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-08-20 UTC."],[[["Downloads a UTF-8 encoded report file based on the provided report ID and fragment index."],["Requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope."],["Uses a simple GET request with reportId and reportFragment as path parameters."],["Returns an empty response body upon successful download of the report fragment."],["Offers interactive exploration using APIs Explorer or a standalone version for testing with live data."]]],["This content describes how to download a report file via a GET request to a specific URL. The request requires authorization with the `https://www.googleapis.com/auth/doubleclicksearch` scope. You must specify the `reportId` (string) and `reportFragment` (integer) as path parameters. The report file, encoded in UTF-8, is downloaded without the need for a request body. A successful request returns an empty response body.\n"]]