![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.analytics.Analytics.Data.html Maven / Gradle / Ivy
Analytics.Data (Google Analytics API v2.4-rev20180622-1.29.2)
com.google.api.services.analytics
Class Analytics.Data
- java.lang.Object
-
- com.google.api.services.analytics.Analytics.Data
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Analytics.Data.Get
-
Constructor Summary
Constructors
Constructor and Description
Data()
-
Method Summary
All Methods Instance Methods Concrete Methods
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).
-
-
Method Detail
-
get
public Analytics.Data.Get get(String ids,
String startDate,
String endDate,
String metrics)
throws IOException
Returns Analytics report data for a view (profile).
Create a request for the method "data.get".
This request holds the parameters needed by the analytics server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
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.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2019 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy