blob: ddeefbd53c190345c925477b8db5eb8f563fb385 [file] [log] [blame]
Craig Citro065b5302014-08-14 00:47:23 -07001<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.provisioning.html">provisioning</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">
Dan O'Mearadd494642020-05-01 07:42:23 -070081 <code><a href="#createAccountTicket">createAccountTicket(body=None)</a></code></p>
Craig Citro065b5302014-08-14 00:47:23 -070082<p class="firstline">Creates an account ticket.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070083<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070084 <code><a href="#createAccountTree">createAccountTree(body=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070085<p class="firstline">Provision account.</p>
Craig Citro065b5302014-08-14 00:47:23 -070086<h3>Method Details</h3>
87<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code class="details" id="close">close()</code>
89 <pre>Close httplib2 connections.</pre>
90</div>
91
92<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -070093 <code class="details" id="createAccountTicket">createAccountTicket(body=None)</code>
Craig Citro065b5302014-08-14 00:47:23 -070094 <pre>Creates an account ticket.
95
96Args:
Dan O'Mearadd494642020-05-01 07:42:23 -070097 body: object, The request body.
Craig Citro065b5302014-08-14 00:47:23 -070098 The object takes the form of:
99
100{ # JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700101 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800102 &quot;redirectUri&quot;: &quot;A String&quot;, # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.
103 &quot;id&quot;: &quot;A String&quot;, # Account ticket ID used to access the account ticket.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700104 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800105 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
106 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
107 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
108 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700109 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800110 &quot;enhancedECommerceTracking&quot;: True or False, # Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled.
111 &quot;timezone&quot;: &quot;A String&quot;, # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database.
112 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
113 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
114 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
115 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
116 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
117 },
118 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
119 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
120 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
121 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
122 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
123 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
124 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
125 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
126 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
127 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
128 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
129 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
130 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
131 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
132 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
133 # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700134 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
135 &quot;effective&quot;: [ # All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.
136 &quot;A String&quot;,
137 ],
138 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700139 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800140 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700141 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700142 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700143 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700144 &quot;name&quot;: &quot;A String&quot;, # Account name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800145 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
146 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
147 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700148 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700149 &quot;permissions&quot;: { # Permissions the user has for this account.
150 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
151 &quot;A String&quot;,
152 ],
153 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800154 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
155 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
156 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
157 },
158 &quot;id&quot;: &quot;A String&quot;, # Account ID.
159 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700160 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800161 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
162 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
163 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
164 # This property cannot be set on insert.
165 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
166 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
167 &quot;dataRetentionResetOnNewActivity&quot;: True or False, # Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period).
168 # Set to false to delete data associated with the user identifier automatically after the rentention period.
169 # This property cannot be set on insert.
170 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
171 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
172 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
173 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
174 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
175 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
176 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
177 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
178 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
179 },
180 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
181 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
182 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
183 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
184 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
185 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
186 },
187 &quot;permissions&quot;: { # Permissions the user has for this web property.
188 &quot;effective&quot;: [ # All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.
189 &quot;A String&quot;,
190 ],
191 },
192 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
193 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
194 },
Craig Citro065b5302014-08-14 00:47:23 -0700195 }
196
197
198Returns:
199 An object of the form:
200
201 { # JSON template for an Analytics account ticket. The account ticket consists of the ticket ID and the basic information for the account, property and profile.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700202 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 &quot;redirectUri&quot;: &quot;A String&quot;, # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL.
204 &quot;id&quot;: &quot;A String&quot;, # Account ticket ID used to access the account ticket.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700205 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800206 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
207 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
208 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
209 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700210 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800211 &quot;enhancedECommerceTracking&quot;: True or False, # Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled.
212 &quot;timezone&quot;: &quot;A String&quot;, # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database.
213 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
214 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
215 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
216 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
217 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
218 },
219 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
220 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
221 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
222 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
223 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
224 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
225 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
226 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
227 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
228 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
229 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
230 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
231 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
232 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
233 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
234 # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700235 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
236 &quot;effective&quot;: [ # All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.
237 &quot;A String&quot;,
238 ],
239 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700240 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800241 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700242 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700243 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700244 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700245 &quot;name&quot;: &quot;A String&quot;, # Account name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800246 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
247 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
248 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700249 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700250 &quot;permissions&quot;: { # Permissions the user has for this account.
251 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
252 &quot;A String&quot;,
253 ],
254 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800255 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
256 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
257 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
258 },
259 &quot;id&quot;: &quot;A String&quot;, # Account ID.
260 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700261 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800262 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
263 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
264 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
265 # This property cannot be set on insert.
266 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
267 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
268 &quot;dataRetentionResetOnNewActivity&quot;: True or False, # Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period).
269 # Set to false to delete data associated with the user identifier automatically after the rentention period.
270 # This property cannot be set on insert.
271 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
272 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
273 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
274 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
275 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
276 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
277 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
278 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
279 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
280 },
281 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
282 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
283 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
284 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
285 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
286 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
287 },
288 &quot;permissions&quot;: { # Permissions the user has for this web property.
289 &quot;effective&quot;: [ # All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.
290 &quot;A String&quot;,
291 ],
292 },
293 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
294 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
295 },
Craig Citro065b5302014-08-14 00:47:23 -0700296 }</pre>
297</div>
298
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700299<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700300 <code class="details" id="createAccountTree">createAccountTree(body=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700301 <pre>Provision account.
302
303Args:
Dan O'Mearadd494642020-05-01 07:42:23 -0700304 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700305 The object takes the form of:
306
307{ # JSON template for an Analytics account tree requests. The account tree request is used in the provisioning api to create an account, property, and view (profile). It contains the basic information required to make these fields.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800308 &quot;websiteUrl&quot;: &quot;A String&quot;,
309 &quot;accountName&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700310 &quot;webpropertyName&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700311 &quot;timezone&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700312 &quot;kind&quot;: &quot;analytics#accountTreeRequest&quot;, # Resource type for account ticket.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800313 &quot;profileName&quot;: &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700314 }
315
316
317Returns:
318 An object of the form:
319
320 { # JSON template for an Analytics account tree response. The account tree response is used in the provisioning api to return the result of creating an account, property, and view (profile).
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800321 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
322 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
323 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
324 # This property cannot be set on insert.
325 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
326 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
327 &quot;dataRetentionResetOnNewActivity&quot;: True or False, # Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period).
328 # Set to false to delete data associated with the user identifier automatically after the rentention period.
329 # This property cannot be set on insert.
330 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
331 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
332 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
333 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
334 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
335 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
336 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
337 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
338 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
339 },
340 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
341 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
342 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
343 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
344 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
345 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
346 },
347 &quot;permissions&quot;: { # Permissions the user has for this web property.
348 &quot;effective&quot;: [ # All the permissions that the user has for this web property. These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent account.
349 &quot;A String&quot;,
350 ],
351 },
352 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
353 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700354 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800355 &quot;kind&quot;: &quot;analytics#accountTreeResponse&quot;, # Resource type for account ticket.
356 &quot;account&quot;: { # JSON template for Analytics account entry. # The account created.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700357 &quot;name&quot;: &quot;A String&quot;, # Account name.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800358 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
359 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
360 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700361 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700362 &quot;permissions&quot;: { # Permissions the user has for this account.
363 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
364 &quot;A String&quot;,
365 ],
366 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800367 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
368 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
369 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
370 },
371 &quot;id&quot;: &quot;A String&quot;, # Account ID.
372 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700373 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700374 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800375 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
376 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
377 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
378 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700379 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800380 &quot;enhancedECommerceTracking&quot;: True or False, # Indicates whether enhanced ecommerce tracking is enabled for this view (profile). This property can only be enabled if ecommerce tracking is enabled.
381 &quot;timezone&quot;: &quot;A String&quot;, # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database.
382 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
383 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
384 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
385 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
386 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
387 },
388 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
389 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
390 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
391 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
392 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
393 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
394 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
395 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
396 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
397 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
398 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
399 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
400 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
401 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
402 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
403 # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700404 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
405 &quot;effective&quot;: [ # All the permissions that the user has for this view (profile). These include any implied permissions (e.g., EDIT implies VIEW) or inherited permissions from the parent web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700406 &quot;A String&quot;,
407 ],
408 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700409 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800410 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700411 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
Bu Sun Kim65020912020-05-20 12:08:20 -0700412 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700413 }</pre>
414</div>
415
Craig Citro065b5302014-08-14 00:47:23 -0700416</body></html>