- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ReportResultsMetadata
- Row
- ReportValue
- Try it!
Retrieves data generated by  CloudChannelReportsService.RunReportJob 
 
.
Deprecated: Please use Export Channel Services data to BigQuery instead.
HTTP request
 POST https://cloudchannel.googleapis.com/v1/{reportJob=accounts/*/reportJobs/*}:fetchReportResults 
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| reportJob |   Required. The report job created by  | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| { "pageSize" : integer , "pageToken" : string , "partitionKeys" : [ string ] } | 
| Fields | |
|---|---|
| pageSize |   Optional. Requested page size of the report. The server may return fewer results than requested. If you don't specify a page size, the server uses a sensible default (may change over time). The maximum value is 30,000; the server will change larger values to 30,000. | 
| pageToken |   Optional. A token that specifies a page of results beyond the first page. Obtained through  | 
| partitionKeys[] |   Optional. List of keys specifying which report partitions to return. If empty, returns all partitions. | 
Response body
Response message for  CloudChannelReportsService.FetchReportResults 
 
. Contains a tabular representation of the report results.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| { "reportMetadata" : { object ( | 
| Fields | |
|---|---|
| reportMetadata |   The metadata for the report results (display name, columns, row count, and date ranges). | 
| rows[] |   The report's lists of values. Each row follows the settings and ordering of the columns from  | 
| nextPageToken |   Pass this token to  | 
Authorization scopes
Requires the following OAuth scope:
-  https://www.googleapis.com/auth/apps.reports.usage.readonly
For more information, see the Authentication Overview .
ReportResultsMetadata
The features describing the data. Returned by  CloudChannelReportsService.RunReportJob 
 
and  CloudChannelReportsService.FetchReportResults 
 
.
| JSON representation | 
|---|
| { "report" : { object ( | 
| Fields | |
|---|---|
| report |   Details of the completed report. | 
| rowCount |   The total number of rows of data in the final report. | 
| dateRange |   The date range of reported usage. | 
| precedingDateRange |   The usage dates immediately preceding  For example, if  | 
Row
A row of report values.
| JSON representation | 
|---|
|  { 
 "values" 
 : 
 [ 
 { 
 object (  | 
| Fields | |
|---|---|
| values[] |   The list of values in the row. | 
| partitionKey |   The key for the partition this row belongs to. This field is empty if the report is not partitioned. | 
ReportValue
A single report value.
| JSON representation | 
|---|
| { // Union field | 
value 
. A single report value. value 
can be only one of the following:stringValue 
 string 
A value of type string 
.
intValue 
 string ( int64 
format) 
A value of type int 
.
decimalValue 
 object (  
 Decimal 
 
)
A value of type google.type.Decimal 
, representing non-integer numeric values.
moneyValue 
 object (  
 Money 
 
)
A value of type google.type.Money 
(currency code, whole units, decimal units).
dateValue 
 object (  
 Date 
 
)
A value of type google.type.Date 
(year, month, day).
dateTimeValue 
 object (  
 DateTime 
 
)
A value of type google.type.DateTime 
(year, month, day, hour, minute, second, and UTC offset or timezone.)

