Method: files.get

  • This method retrieves a report file using its report ID and file ID and supports media download.

  • The HTTP request uses a GET method with the report ID and file ID included in the URL path.

  • The request requires an empty body and, if successful, returns a File instance in the response body.

  • Authorization requires the https://www.googleapis.com/auth/dfareporting OAuth scope.

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