Module GapiAdsenseV1_1Service.AccountsResource.Reports

module Reports: sig .. end

val generate : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?currency:string ->
?dimension:string list ->
?filter:string list ->
?locale:string ->
?maxResults:int ->
?metric:string list ->
?sort:string list ->
?startIndex:int ->
accountId:string ->
startDate:string ->
endDate:string ->
GapiConversation.Session.t ->
GapiAdsenseV1_1Model.AdsenseReportsGenerateResponse.t *
GapiConversation.Session.t
Generate an AdSense report based on the report request sent in the query parameters. Returns the result as JSON; to retrieve output in CSV format specify "alt=csv" as a query parameter.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/adsense/v1.1/").
std_params : Optional standard parameters.
currency : Optional currency to use when reporting on monetary metrics. Defaults to the account's currency if not set.
dimension : Dimensions to base the report on.
filter : Filters to be run on the report.
locale : Optional locale to use for translating report output to a local language. Defaults to "en_US" if not specified.
maxResults : The maximum number of rows of report data to return.
metric : Numeric columns to include in the report.
sort : The name of a dimension or metric to sort the resulting report on, optionally prefixed with "+" to sort ascending or "-" to sort descending. If no prefix is specified, the column is sorted ascending.
startIndex : Index of the first row of report data to return.
accountId : Account upon which to report.
startDate : Start of the date range to report on in "YYYY-MM-DD" format, inclusive.
endDate : End of the date range to report on in "YYYY-MM-DD" format, inclusive.