v1.4 of the AdSense Management API is now deprecated. This version will stop returning data on October 12, 2021. Please migrate to v2 as soon as possible.

Method: accounts.reports.saved.generate

reports.generate an AdSense report based on the saved report ID sent in the query parameters.

HTTP request

GET https://www.googleapis.com/adsense/v1.4/accounts/{accountId}/reports/{savedReportId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
accountId

string

Account to which the saved reports belong.

savedReportId

string

The saved report to retrieve.

Query parameters

Parameters
locale

string

Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.

startIndex

integer

Index of the first row of report data to return.

maxResults

integer

The maximum number of rows of report data to return.

Request body

The request body must be empty.

Response body

If successful, the response is a generic HTTP response whose format is defined by the method.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/adsense
  • https://www.googleapis.com/auth/adsense.readonly