Method: files.get
Stay organized with collections
Save and categorize content based on your preferences.
Retrieves a report file by its report ID and file ID. This method supports media download.
HTTP request
GET https://dfareporting.googleapis.com/dfareporting/v4/reports/{reportId}/files/{fileId}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
reportId |
string (int64 format)
The ID of the report.
|
fileId |
string (int64 format)
The ID of the report file.
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of File
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/dfareporting
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-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eRetrieves a report file using its report ID and file ID, supporting media download.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/dfareporting\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eUses a GET request to the specified URL with report ID and file ID as path parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides the file details in the \u003ca href=\"/doubleclick-advertisers/rest/v4/File\"\u003eFile\u003c/a\u003e format if successful.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty for this operation.\u003c/p\u003e\n"]]],[],null,["# Method: files.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRetrieves a report file by its report ID and file ID. This method supports [media download](/doubleclick-advertisers/guides/download_reports#direct_download).\n\n### HTTP request\n\n`GET https://dfareporting.googleapis.com/dfareporting/v4/reports/{reportId}/files/{fileId}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------------------------------|\n| `report``Id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the report. |\n| `file``Id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The ID of the report file. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [File](/doubleclick-advertisers/rest/v4/File).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/dfareporting`"]]