Method: files.get

  • The endpoint GET https://dfareporting.googleapis.com/dfareporting/v5/reports/{reportId}/files/{fileId} retrieves a report file using the report ID and file ID.

  • The request uses path parameters reportId and fileId to specify the desired report and file, and the request body must be empty.

  • A successful response will contain an instance of a File, and authorization requires the https://www.googleapis.com/auth/dfareporting OAuth scope.

  • This method supports media download, allowing for direct download of report files.

Retrieves a report file by its report ID and file ID. This method supports media download.

HTTP request

GET https://dfareporting.googleapis.com/dfareporting/v5/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