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

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

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






Analytics.Management.Goals (Google Analytics API v3-rev20190604-1.30.1)












com.google.api.services.analytics

Class Analytics.Management.Goals

    • Constructor Detail

      • Goals

        public Goals()
    • Method Detail

      • get

        public Analytics.Management.Goals.Get get(String accountId,
                                                  String webPropertyId,
                                                  String profileId,
                                                  String goalId)
                                           throws IOException
        Gets a goal to which the user has access. Create a request for the method "goals.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:
        accountId - Account ID to retrieve the goal for.
        webPropertyId - Web property ID to retrieve the goal for.
        profileId - View (Profile) ID to retrieve the goal for.
        goalId - Goal ID to retrieve the goal for.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Analytics.Management.Goals.Insert insert(String accountId,
                                                        String webPropertyId,
                                                        String profileId,
                                                        Goal content)
                                                 throws IOException
        Create a new goal. Create a request for the method "goals.insert". 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:
        accountId - Account ID to create the goal for.
        webPropertyId - Web property ID to create the goal for.
        profileId - View (Profile) ID to create the goal for.
        content - the Goal
        Returns:
        the request
        Throws:
        IOException
      • list

        public Analytics.Management.Goals.List list(String accountId,
                                                    String webPropertyId,
                                                    String profileId)
                                             throws IOException
        Lists goals to which the user has access. Create a request for the method "goals.list". 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:
        accountId - Account ID to retrieve goals for. Can either be a specific account ID or '~all', which refers to all the accounts that user has access to.
        webPropertyId - Web property ID to retrieve goals for. Can either be a specific web property ID or '~all', which refers to all the web properties that user has access to.
        profileId - View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or '~all', which refers to all the views (profiles) that user has access to.
        Returns:
        the request
        Throws:
        IOException
      • patch

        public Analytics.Management.Goals.Patch patch(String accountId,
                                                      String webPropertyId,
                                                      String profileId,
                                                      String goalId,
                                                      Goal content)
                                               throws IOException
        Updates an existing goal. This method supports patch semantics. Create a request for the method "goals.patch". 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:
        accountId - Account ID to update the goal.
        webPropertyId - Web property ID to update the goal.
        profileId - View (Profile) ID to update the goal.
        goalId - Index of the goal to be updated.
        content - the Goal
        Returns:
        the request
        Throws:
        IOException
      • update

        public Analytics.Management.Goals.Update update(String accountId,
                                                        String webPropertyId,
                                                        String profileId,
                                                        String goalId,
                                                        Goal content)
                                                 throws IOException
        Updates an existing goal. Create a request for the method "goals.update". 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:
        accountId - Account ID to update the goal.
        webPropertyId - Web property ID to update the goal.
        profileId - View (Profile) ID to update the goal.
        goalId - Index of the goal to be updated.
        content - the Goal
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2019 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy