Reports: getFile
Downloads a report file encoded in UTF-8.
Try it now.
Request
HTTP request
GET https://www.googleapis.com/doubleclicksearch/v2/reports/reportId/files/reportFragment
Parameters
Parameter name |
Value |
Description |
Path parameters |
reportFragment |
integer |
The index of the report fragment to download.
|
reportId |
string |
ID of the report.
|
Authorization
This request requires authorization with the following scope:
Scope |
https://www.googleapis.com/auth/doubleclicksearch |
For more information, see the authentication and authorization page.
Request body
Do not supply a request body with this method.
Response
If successful, this method returns an empty response body.
Try it!
Use the APIs Explorer below to call this method on live data and see the response.
Alternatively, try the
standalone
Explorer.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 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"]]