blob: d71fb2ea628fc7f2ed2b9233455c8cb0336b63c4 [file] [log] [blame]
John Asmuth614db982014-04-24 15:46:26 -04001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="analytics_v3.html">Google Analytics API</a> . <a href="analytics_v3.management.html">management</a> . <a href="analytics_v3.management.goals.html">goals</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070078 <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
John Asmuth614db982014-04-24 15:46:26 -040081 <code><a href="#get">get(accountId, webPropertyId, profileId, goalId)</a></code></p>
82<p class="firstline">Gets a goal to which the user has access.</p>
83<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#insert">insert(accountId, webPropertyId, profileId, body=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040085<p class="firstline">Create a new goal.</p>
86<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070087 <code><a href="#list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</a></code></p>
John Asmuth614db982014-04-24 15:46:26 -040088<p class="firstline">Lists goals to which the user has access.</p>
89<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070090 <code><a href="#patch">patch(accountId, webPropertyId, profileId, goalId, body=None)</a></code></p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070091<p class="firstline">Updates an existing goal. This method supports patch semantics.</p>
John Asmuth614db982014-04-24 15:46:26 -040092<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code><a href="#update">update(accountId, webPropertyId, profileId, goalId, body=None)</a></code></p>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -070094<p class="firstline">Updates an existing goal.</p>
John Asmuth614db982014-04-24 15:46:26 -040095<h3>Method Details</h3>
96<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070097 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99</div>
100
101<div class="method">
John Asmuth614db982014-04-24 15:46:26 -0400102 <code class="details" id="get">get(accountId, webPropertyId, profileId, goalId)</code>
103 <pre>Gets a goal to which the user has access.
104
105Args:
106 accountId: string, Account ID to retrieve the goal for. (required)
107 webPropertyId: string, Web property ID to retrieve the goal for. (required)
108 profileId: string, View (Profile) ID to retrieve the goal for. (required)
109 goalId: string, Goal ID to retrieve the goal for. (required)
110
111Returns:
112 An object of the form:
113
114 { # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700115 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800116 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
117 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700118 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
119 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
120 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
121 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800122 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
123 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
124 {
125 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
126 &quot;name&quot;: &quot;A String&quot;, # Step name.
127 &quot;number&quot;: 42, # Step number.
128 },
129 ],
130 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
131 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
132 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
133 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700134 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800135 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
136 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
137 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
138 &quot;eventConditions&quot;: [ # List of event conditions.
139 {
140 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
141 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
142 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
143 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
144 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
145 },
146 ],
147 },
148 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700149 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800150 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
151 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
152 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
153 &quot;name&quot;: &quot;A String&quot;, # Goal name.
154 &quot;active&quot;: True or False, # Determines whether this goal is active.
155 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700156 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
157 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
158 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
159 },
160 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800161 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
162 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
163 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700164 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700165 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400166</div>
167
168<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700169 <code class="details" id="insert">insert(accountId, webPropertyId, profileId, body=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400170 <pre>Create a new goal.
171
172Args:
173 accountId: string, Account ID to create the goal for. (required)
174 webPropertyId: string, Web property ID to create the goal for. (required)
175 profileId: string, View (Profile) ID to create the goal for. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700176 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400177 The object takes the form of:
178
179{ # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700180 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800181 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
182 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700183 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
184 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
185 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
186 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800187 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
188 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
189 {
190 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
191 &quot;name&quot;: &quot;A String&quot;, # Step name.
192 &quot;number&quot;: 42, # Step number.
193 },
194 ],
195 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
196 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
197 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
198 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700199 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800200 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
201 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
202 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
203 &quot;eventConditions&quot;: [ # List of event conditions.
204 {
205 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
206 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
207 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
208 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
209 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
210 },
211 ],
212 },
213 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700214 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800215 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
216 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
217 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
218 &quot;name&quot;: &quot;A String&quot;, # Goal name.
219 &quot;active&quot;: True or False, # Determines whether this goal is active.
220 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700221 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
222 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
223 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
224 },
225 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800226 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
227 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
228 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700229 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700230}
John Asmuth614db982014-04-24 15:46:26 -0400231
232
233Returns:
234 An object of the form:
235
236 { # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700237 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800238 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
239 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700240 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
241 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
242 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
243 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800244 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
245 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
246 {
247 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
248 &quot;name&quot;: &quot;A String&quot;, # Step name.
249 &quot;number&quot;: 42, # Step number.
250 },
251 ],
252 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
253 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
254 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
255 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700256 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800257 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
258 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
259 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
260 &quot;eventConditions&quot;: [ # List of event conditions.
261 {
262 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
263 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
264 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
265 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
266 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
267 },
268 ],
269 },
270 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700271 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800272 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
273 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
274 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
275 &quot;name&quot;: &quot;A String&quot;, # Goal name.
276 &quot;active&quot;: True or False, # Determines whether this goal is active.
277 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700278 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
279 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
280 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
281 },
282 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800283 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
284 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
285 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700286 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700287 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400288</div>
289
290<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700291 <code class="details" id="list">list(accountId, webPropertyId, profileId, max_results=None, start_index=None)</code>
John Asmuth614db982014-04-24 15:46:26 -0400292 <pre>Lists goals to which the user has access.
293
294Args:
Bu Sun Kim65020912020-05-20 12:08:20 -0700295 accountId: string, Account ID to retrieve goals for. Can either be a specific account ID or &#x27;~all&#x27;, which refers to all the accounts that user has access to. (required)
296 webPropertyId: string, Web property ID to retrieve goals for. Can either be a specific web property ID or &#x27;~all&#x27;, which refers to all the web properties that user has access to. (required)
297 profileId: string, View (Profile) ID to retrieve goals for. Can either be a specific view (profile) ID or &#x27;~all&#x27;, which refers to all the views (profiles) that user has access to. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -0700298 max_results: integer, The maximum number of goals to include in this response.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700299 start_index: integer, An index of the first goal to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.
John Asmuth614db982014-04-24 15:46:26 -0400300
301Returns:
302 An object of the form:
303
304 { # A goal collection lists Analytics goals to which the user has access. Each view (profile) can have a set of goals. Each resource in the Goal collection corresponds to a single Analytics goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800305 &quot;nextLink&quot;: &quot;A String&quot;, # Link to next page for this goal collection.
306 &quot;itemsPerPage&quot;: 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700307 &quot;kind&quot;: &quot;analytics#goals&quot;, # Collection type.
308 &quot;startIndex&quot;: 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800309 &quot;previousLink&quot;: &quot;A String&quot;, # Link to previous page for this goal collection.
310 &quot;username&quot;: &quot;A String&quot;, # Email ID of the authenticated user
311 &quot;totalResults&quot;: 42, # The total number of results for the query, regardless of the number of resources in the result.
Bu Sun Kim65020912020-05-20 12:08:20 -0700312 &quot;items&quot;: [ # A list of goals.
John Asmuth614db982014-04-24 15:46:26 -0400313 { # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700314 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800315 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
316 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700317 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
318 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
319 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
320 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800321 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
322 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
323 {
324 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
325 &quot;name&quot;: &quot;A String&quot;, # Step name.
326 &quot;number&quot;: 42, # Step number.
327 },
328 ],
329 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
330 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
331 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
332 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700333 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800334 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
335 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
336 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
337 &quot;eventConditions&quot;: [ # List of event conditions.
338 {
339 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
340 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
341 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
342 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
343 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
344 },
345 ],
346 },
347 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700348 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800349 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
350 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
351 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
352 &quot;name&quot;: &quot;A String&quot;, # Goal name.
353 &quot;active&quot;: True or False, # Determines whether this goal is active.
354 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700355 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
356 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
357 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
358 },
359 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800360 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
361 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
362 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700363 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700364 },
John Asmuth614db982014-04-24 15:46:26 -0400365 ],
John Asmuth614db982014-04-24 15:46:26 -0400366 }</pre>
367</div>
368
369<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700370 <code class="details" id="patch">patch(accountId, webPropertyId, profileId, goalId, body=None)</code>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700371 <pre>Updates an existing goal. This method supports patch semantics.
John Asmuth614db982014-04-24 15:46:26 -0400372
373Args:
374 accountId: string, Account ID to update the goal. (required)
375 webPropertyId: string, Web property ID to update the goal. (required)
376 profileId: string, View (Profile) ID to update the goal. (required)
377 goalId: string, Index of the goal to be updated. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700378 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400379 The object takes the form of:
380
381{ # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700382 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800383 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
384 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700385 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
386 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
387 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
388 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800389 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
390 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
391 {
392 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
393 &quot;name&quot;: &quot;A String&quot;, # Step name.
394 &quot;number&quot;: 42, # Step number.
395 },
396 ],
397 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
398 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
399 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
400 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700401 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800402 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
403 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
404 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
405 &quot;eventConditions&quot;: [ # List of event conditions.
406 {
407 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
408 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
409 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
410 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
411 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
412 },
413 ],
414 },
415 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700416 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800417 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
418 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
419 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
420 &quot;name&quot;: &quot;A String&quot;, # Goal name.
421 &quot;active&quot;: True or False, # Determines whether this goal is active.
422 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700423 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
424 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
425 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
426 },
427 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800428 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
429 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
430 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700431 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700432}
John Asmuth614db982014-04-24 15:46:26 -0400433
434
435Returns:
436 An object of the form:
437
438 { # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700439 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800440 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
441 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
443 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
444 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
445 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800446 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
447 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
448 {
449 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
450 &quot;name&quot;: &quot;A String&quot;, # Step name.
451 &quot;number&quot;: 42, # Step number.
452 },
453 ],
454 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
455 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
456 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
457 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700458 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800459 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
460 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
461 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
462 &quot;eventConditions&quot;: [ # List of event conditions.
463 {
464 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
465 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
466 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
467 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
468 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
469 },
470 ],
471 },
472 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700473 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800474 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
475 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
476 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
477 &quot;name&quot;: &quot;A String&quot;, # Goal name.
478 &quot;active&quot;: True or False, # Determines whether this goal is active.
479 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700480 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
481 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
482 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
483 },
484 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800485 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
486 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
487 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700488 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700489 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400490</div>
491
492<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700493 <code class="details" id="update">update(accountId, webPropertyId, profileId, goalId, body=None)</code>
Jon Wayne Parrott0a471d32016-05-19 10:54:38 -0700494 <pre>Updates an existing goal.
John Asmuth614db982014-04-24 15:46:26 -0400495
496Args:
497 accountId: string, Account ID to update the goal. (required)
498 webPropertyId: string, Web property ID to update the goal. (required)
499 profileId: string, View (Profile) ID to update the goal. (required)
500 goalId: string, Index of the goal to be updated. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700501 body: object, The request body.
John Asmuth614db982014-04-24 15:46:26 -0400502 The object takes the form of:
503
504{ # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700505 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800506 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
507 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700508 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
509 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
510 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
511 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800512 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
513 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
514 {
515 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
516 &quot;name&quot;: &quot;A String&quot;, # Step name.
517 &quot;number&quot;: 42, # Step number.
518 },
519 ],
520 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
521 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
522 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
523 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700524 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800525 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
526 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
527 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
528 &quot;eventConditions&quot;: [ # List of event conditions.
529 {
530 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
531 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
532 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
533 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
534 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
535 },
536 ],
537 },
538 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700539 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800540 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
541 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
542 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
543 &quot;name&quot;: &quot;A String&quot;, # Goal name.
544 &quot;active&quot;: True or False, # Determines whether this goal is active.
545 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700546 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
547 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
548 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
549 },
550 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800551 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
552 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
553 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700554 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700555}
John Asmuth614db982014-04-24 15:46:26 -0400556
557
558Returns:
559 An object of the form:
560
561 { # JSON template for Analytics goal resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700562 &quot;profileId&quot;: &quot;A String&quot;, # View (Profile) ID to which this goal belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800563 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this goal belongs.
564 &quot;kind&quot;: &quot;analytics#goal&quot;, # Resource type for an Analytics goal.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700565 &quot;parentLink&quot;: { # Parent link for a goal. Points to the view (profile) to which this goal belongs.
566 &quot;type&quot;: &quot;analytics#profile&quot;, # Value is &quot;analytics#profile&quot;.
567 &quot;href&quot;: &quot;A String&quot;, # Link to the view (profile) to which this goal belongs.
568 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800569 &quot;urlDestinationDetails&quot;: { # Details for the goal of the type URL_DESTINATION.
570 &quot;steps&quot;: [ # List of steps configured for this goal funnel.
571 {
572 &quot;url&quot;: &quot;A String&quot;, # URL for this step.
573 &quot;name&quot;: &quot;A String&quot;, # Step name.
574 &quot;number&quot;: 42, # Step number.
575 },
576 ],
577 &quot;url&quot;: &quot;A String&quot;, # URL for this goal.
578 &quot;matchType&quot;: &quot;A String&quot;, # Match type for the goal URL. Possible values are HEAD, EXACT, or REGEX.
579 &quot;caseSensitive&quot;: True or False, # Determines if the goal URL must exactly match the capitalization of visited URLs.
580 &quot;firstStepRequired&quot;: True or False, # Determines if the first step in this goal is required.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700581 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800582 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID to which this goal belongs. The web property ID is of the form UA-XXXXX-YY.
583 &quot;eventDetails&quot;: { # Details for the goal of the type EVENT.
584 &quot;useEventValue&quot;: True or False, # Determines if the event value should be used as the value for this goal.
585 &quot;eventConditions&quot;: [ # List of event conditions.
586 {
587 &quot;type&quot;: &quot;A String&quot;, # Type of this event condition. Possible values are CATEGORY, ACTION, LABEL, or VALUE.
588 &quot;matchType&quot;: &quot;A String&quot;, # Type of the match to be performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.
589 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN or EQUAL.
590 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
591 &quot;expression&quot;: &quot;A String&quot;, # Expression used for this match.
592 },
593 ],
594 },
595 &quot;updated&quot;: &quot;A String&quot;, # Time this goal was last modified.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700596 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this goal.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800597 &quot;created&quot;: &quot;A String&quot;, # Time this goal was created.
598 &quot;id&quot;: &quot;A String&quot;, # Goal ID.
599 &quot;type&quot;: &quot;A String&quot;, # Goal type. Possible values are URL_DESTINATION, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.
600 &quot;name&quot;: &quot;A String&quot;, # Goal name.
601 &quot;active&quot;: True or False, # Determines whether this goal is active.
602 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this goal belongs.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700603 &quot;visitTimeOnSiteDetails&quot;: { # Details for the goal of the type VISIT_TIME_ON_SITE.
604 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN or GREATER_THAN.
605 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
606 },
607 &quot;value&quot;: 3.14, # Goal value.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800608 &quot;visitNumPagesDetails&quot;: { # Details for the goal of the type VISIT_NUM_PAGES.
609 &quot;comparisonType&quot;: &quot;A String&quot;, # Type of comparison. Possible values are LESS_THAN, GREATER_THAN, or EQUAL.
610 &quot;comparisonValue&quot;: &quot;A String&quot;, # Value used for this comparison.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700611 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700612 }</pre>
John Asmuth614db982014-04-24 15:46:26 -0400613</div>
614
615</body></html>