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

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

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






Analytics.Data.Ga (Google Analytics API v3-rev20190807-1.31.0)












com.google.api.services.analytics

Class Analytics.Data.Ga

  • Enclosing class:
    Analytics.Data


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

      • Ga

        public Ga()
    • Method Detail

      • get

        public Analytics.Data.Ga.Get get(String ids,
                                         String startDate,
                                         String endDate,
                                         String metrics)
                                  throws IOException
        Returns Analytics data for a view (profile). Create a request for the method "ga.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 Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics view (profile) ID.
        startDate - Start date for fetching Analytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
        endDate - End date for fetching Analytics data. Request can should specify an end date formatted as YYYY-MM- DD, or as a relative date (e.g., today, yesterday, or 7daysAgo). The default value is yesterday.
        metrics - A comma-separated list of Analytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric must be specified.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2020 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy