All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.analytics.Analytics.Data.html Maven / Gradle / Ivy

There is a newer version: v3-rev20190807-2.0.0
Show newest version






Analytics.Data (Google Analytics API v2.4-rev20180622-1.29.2)












com.google.api.services.analytics

Class Analytics.Data

  • Enclosing class:
    Analytics


    public class Analytics.Data
    extends Object
    The "data" collection of methods.
    • Constructor Detail

      • Data

        public Data()
    • 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