adsense.accounts.reports.saved.generate
/v2/{+name}/saved:generate Generates a saved report.
Parameters
path Path Parameters
| Name | Type |
|---|---|
name
required
Required. Name of the saved report. Format: accounts/{account}/reports/{report} | string |
query Query Parameters
| Name | Type |
|---|---|
currencyCode The ISO-4217 currency code to use when reporting on monetary metrics. Defaults to the account's currency if not set. | string |
dateRange Date range of the report, if unset the range will be considered CUSTOM. | "REPORTING_DATE_RANGE_UNSPECIFIED" | "CUSTOM" | "TODAY" | "YESTERDAY" | "MONTH_TO_DATE" | "YEAR_TO_DATE" | "LAST_7_DAYS" | "LAST_30_DAYS" |
endDate.day Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. | number |
endDate.month Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. | number |
endDate.year Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. | number |
languageCode 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. | string |
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. | "REPORTING_TIME_ZONE_UNSPECIFIED" | "ACCOUNT_TIME_ZONE" | "GOOGLE_TIME_ZONE" |
startDate.day Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. | number |
startDate.month Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. | number |
startDate.year Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. | number |
alt Data format for response. | "json" | "media" | "proto" |
key API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. | string |
$.xgafv V1 error format. | "1" | "2" |
oauth_token OAuth 2.0 token for the current user. | string |
callback JSONP | string |
prettyPrint Returns response with indentations and line breaks. | boolean |
upload_protocol Upload protocol for media (e.g. "raw", "multipart"). | string |
quotaUser Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. | string |
uploadType Legacy upload protocol for media (e.g. "media", "multipart"). | string |
fields Selector specifying which fields to include in a partial response. | string |
access_token OAuth access token. | string |
Responses
Successful response
averages?:
endDate?:
headers?:
rows?:
startDate?:
totalMatchedRows?: string;
totals?:
warnings?: string[];
}