Reports: getFile
یک فایل گزارش کدگذاری شده در UTF-8 را دانلود می کند. اکنون آن را امتحان کنید .
درخواست کنید
درخواست HTTP
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment
پارامترها
نام پارامتر | ارزش | توضیحات |
---|
پارامترهای مسیر |
reportFragment | integer | نمایه قطعه گزارش برای دانلود. |
reportId | string | شناسه گزارش |
مجوز
این درخواست به مجوز با محدوده زیر نیاز دارد:
دامنه |
---|
https://www.googleapis.com/auth/doubleclicksearch |
برای اطلاعات بیشتر، به صفحه احراز هویت و مجوز مراجعه کنید.
درخواست بدن
با این روش بدنه درخواستی ارائه نکنید.
پاسخ
در صورت موفقیت آمیز بودن، این روش یک بدنه پاسخ خالی را برمی گرداند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-08 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-08 بهوقت ساعت هماهنگ جهانی."],[[["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"]]