| Modifier and Type | Class and Description |
|---|---|
class |
Analytics.Data.Get |
| Constructor and Description |
|---|
Data() |
| Modifier and Type | Method and Description |
|---|---|
Analytics.Data.Get |
get(String ids,
String startDate,
String endDate,
String metrics)
Returns Analytics report data for a view (profile).
|
public Analytics.Data.Get get(String ids, String startDate, String endDate, String metrics) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.ids - Unique table ID for retrieving report data. Table ID is of the form ga:XXXX, where XXXX is the
Analytics view (profile) ID.startDate - Start date for fetching report data. All requests should specify a start date formatted as YYYY-MM-
DD.endDate - End date for fetching report data. All requests should specify an end date formatted as YYYY-MM-DD.metrics - A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric
must be specified to retrieve a valid Analytics report.IOExceptionCopyright © 2011–2020 Google. All rights reserved.