This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathlist_goals.Rd
85 lines (79 loc) · 4.73 KB
/
list_goals.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/goals.R
\name{list_goals}
\alias{list_goals}
\title{Goals}
\usage{
list_goals(accountId = "~all", webPropertyId = "~all", profileId = "~all",
start.index = NULL, max.results = NULL, token)
}
\arguments{
\item{accountId}{character. 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.}
\item{webPropertyId}{character. 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.}
\item{profileId}{character. 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.}
\item{start.index}{integer. An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.}
\item{max.results}{integer. The maximum number of goals to include in this response.}
\item{token}{\code{\link[httr]{Token2.0}} class object with a valid authorization data.}
}
\value{
A Goals resource describes a goal for one of a user's profiles.
\item{id}{Goal ID.}
\item{kind}{Resource type for an Analytics goal.}
\item{accountId}{Account ID to which this goal belongs.}
\item{webPropertyId}{Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.}
\item{internalWebPropertyId}{Internal ID for the web property to which this goal belongs.}
\item{profileId}{View (Profile) ID to which this goal belongs.}
\item{name}{Goal name.}
\item{value}{Goal value.}
\item{active}{Determines whether this goal is active.}
\item{type}{Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, and EVENT.}
\item{created}{Time this goal was created.}
\item{updated}{Time this goal was last modified.}
\item{urlDestinationDetails}{Details for the goal of the type URL_DESTINATION.}
\item{visitTimeOnSiteDetails}{Details for the goal of the type VISIT_TIME_ON_SITE.}
\item{visitNumPagesDetails}{Details for the goal of the type VISIT_NUM_PAGES.}
\item{eventDetails}{Details for the goal of the type EVENT.}
\item{urlDestinationDetails.url}{URL for this goal.}
\item{urlDestinationDetails.caseSensitive}{Determines if the goal URL must exactly match the capitalization of visited URLs.}
\item{urlDestinationDetails.matchType}{Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.}
\item{urlDestinationDetails.firstStepRequired}{Determines if the first step in this goal is required.}
\item{urlDestinationDetails.steps.number}{Step number.}
\item{urlDestinationDetails.steps.name}{Step name.}
\item{urlDestinationDetails.steps.url}{URL for this step.}
\item{visitTimeOnSiteDetails.comparisonType}{Type of comparison. Possible values are LESS_THAN or GREATER_THAN.}
\item{visitTimeOnSiteDetails.comparisonValue}{Value used for this comparison.}
\item{visitNumPagesDetails.comparisonType}{Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.}
\item{visitNumPagesDetails.comparisonValue}{Value used for this comparison.}
\item{eventDetails.useEventValue}{Determines if the event value should be used as the value for this goal.}
\item{eventDetails.eventConditions.type}{Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.}
\item{eventDetails.eventConditions.matchType}{Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.}
\item{eventDetails.eventConditions.expression}{Expression used for this match.}
\item{eventDetails.eventConditions.comparisonType}{Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.}
\item{eventDetails.eventConditions.comparisonValue}{Value used for this comparison.}
}
\description{
Lists goals to which the user has access.
}
\references{
\href{https://developers.google.com/analytics/devguides/config/mgmt/v3/mgmtReference/management/goals}{Management API - Goals Overview}
}
\seealso{
Other Management API: \code{\link{get_custom_dimension}},
\code{\link{get_custom_metric}},
\code{\link{get_experiment}}, \code{\link{get_filter}},
\code{\link{get_goal}}, \code{\link{get_profile}},
\code{\link{get_remarketing_audience}},
\code{\link{get_unsampled_report}},
\code{\link{get_upload}}, \code{\link{get_webproperty}},
\code{\link{list_accounts}},
\code{\link{list_custom_data_sources}},
\code{\link{list_custom_dimensions}},
\code{\link{list_custom_metrics}},
\code{\link{list_experiments}},
\code{\link{list_filters}}, \code{\link{list_profiles}},
\code{\link{list_remarketing_audiences}},
\code{\link{list_segments}},
\code{\link{list_unsampled_reports}},
\code{\link{list_uploads}},
\code{\link{list_webproperties}}
}