Method: accounts.reports.saved.generateCsv

Generates a csv formatted saved report.

HTTP request

GET https://adsense.googleapis.com/v2/{name=accounts/*/reports/*}/saved:generateCsv

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the saved report. Format: accounts/{account}/reports/{report}

Query parameters

Parameters
dateRange

enum (ReportingDateRange)

Date range of the report, if unset the range will be considered CUSTOM.

startDate

object (Date)

Start of the date range to report on, inclusive. Only needed when dateRange is CUSTOM or unspecified.

endDate

object (Date)

End of the date range to report on, inclusive. Only needed when dateRange is CUSTOM or unspecified.

languageCode

string

The language to use for translating report output. If unspecified, this defaults to English ("en").

If the given language is not supported, report output will be returned in English.

The language is specified as an IETF BCP-47 language code.

currencyCode

string

The ISO-4217 currency code to use when reporting on monetary metrics. Defaults to the account's currency if not set.

reportingTimeZone

enum (ReportingTimeZone)

Timezone in which to generate the report. If unspecified, this defaults to the account timezone.

For more information, see changing the time zone of your reports.

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