blob: 21a69ec7bffce05757a8673e62b92ba657151dba [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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800101 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
102 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
103 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
104 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
105 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800106 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800107 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
108 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
109 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
110 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
111 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
112 # 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
113 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
114 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
115 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
116 },
117 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
118 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
119 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
120 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
121 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
122 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
123 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
124 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
125 &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.
126 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
127 &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.
128 &quot;A String&quot;,
129 ],
130 },
131 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
132 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
133 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
134 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
135 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
136 &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.
137 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
138 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
139 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800140 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800141 &quot;name&quot;: &quot;A String&quot;, # Account name.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800142 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
143 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
144 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800145 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800146 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800147 &quot;permissions&quot;: { # Permissions the user has for this account.
148 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800149 &quot;A String&quot;,
150 ],
151 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800152 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
153 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
154 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
155 },
156 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800157 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800158 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800159 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
160 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
161 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
162 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
163 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
164 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
165 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800166 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800167 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
168 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
169 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
170 },
171 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
172 &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).
173 # Set to false to delete data associated with the user identifier automatically after the rentention period.
174 # This property cannot be set on insert.
175 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
176 &quot;permissions&quot;: { # Permissions the user has for this web property.
177 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800178 &quot;A String&quot;,
179 ],
180 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800181 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
182 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
183 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
184 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
185 # This property cannot be set on insert.
186 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
187 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
188 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
189 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
190 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
191 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800192 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800193 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
194 &quot;id&quot;: &quot;A String&quot;, # Account ticket ID used to access the account ticket.
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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800202 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
203 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
204 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
205 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
206 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800207 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800208 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
209 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
210 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
211 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
212 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
213 # 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
214 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
215 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
216 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
217 },
218 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
219 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
220 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
221 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
222 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
223 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
224 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
225 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
226 &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.
227 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
228 &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.
229 &quot;A String&quot;,
230 ],
231 },
232 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
233 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
234 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
235 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
236 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
237 &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.
238 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
239 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
240 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800241 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800242 &quot;name&quot;: &quot;A String&quot;, # Account name.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800243 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
244 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
245 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800246 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800247 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800248 &quot;permissions&quot;: { # Permissions the user has for this account.
249 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800250 &quot;A String&quot;,
251 ],
252 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800253 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
254 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
255 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
256 },
257 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800258 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800259 &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.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800260 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
261 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
262 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
263 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
264 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
265 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
266 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800267 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800268 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
269 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
270 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
271 },
272 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
273 &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).
274 # Set to false to delete data associated with the user identifier automatically after the rentention period.
275 # This property cannot be set on insert.
276 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
277 &quot;permissions&quot;: { # Permissions the user has for this web property.
278 &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.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800279 &quot;A String&quot;,
280 ],
281 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800282 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
283 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
284 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
285 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
286 # This property cannot be set on insert.
287 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
288 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
289 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
290 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
291 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
292 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800293 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800294 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
295 &quot;id&quot;: &quot;A String&quot;, # Account ticket ID used to access the account ticket.
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 Bot0bf565c2020-12-09 08:56:03 -0800308 &quot;websiteUrl&quot;: &quot;A String&quot;,
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700309 &quot;kind&quot;: &quot;analytics#accountTreeRequest&quot;, # Resource type for account ticket.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800310 &quot;accountName&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800311 &quot;webpropertyName&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800312 &quot;profileName&quot;: &quot;A String&quot;,
313 &quot;timezone&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 Bot0d561ef2020-11-25 07:50:41 -0800321 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800322 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
323 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800324 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800325 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800326 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800327 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700328 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800329 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
330 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
331 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
332 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800333 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800334 &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).
335 # Set to false to delete data associated with the user identifier automatically after the rentention period.
336 # This property cannot be set on insert.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800337 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
338 &quot;permissions&quot;: { # Permissions the user has for this web property.
339 &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.
340 &quot;A String&quot;,
341 ],
342 },
343 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
344 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
345 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
346 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
347 # This property cannot be set on insert.
348 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
349 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
350 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
351 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
352 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
353 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kim65020912020-05-20 12:08:20 -0700354 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800355 &quot;kind&quot;: &quot;analytics#accountTreeResponse&quot;, # Resource type for account ticket.
356 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
357 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
358 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
359 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
360 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
361 },
362 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
363 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
364 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
365 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
366 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
367 # 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
368 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
369 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
370 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
371 },
372 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
373 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
374 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
375 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
376 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
377 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
378 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
379 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
380 &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.
381 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
382 &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.
383 &quot;A String&quot;,
384 ],
385 },
386 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
387 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
388 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
389 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
390 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
391 &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.
392 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
393 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
394 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800395 &quot;account&quot;: { # JSON template for Analytics account entry. # The account created.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800396 &quot;name&quot;: &quot;A String&quot;, # Account name.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800397 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
398 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
399 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800400 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800401 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800402 &quot;permissions&quot;: { # Permissions the user has for this account.
403 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800404 &quot;A String&quot;,
405 ],
406 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800407 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
408 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
409 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
410 },
411 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800412 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700413 }</pre>
414</div>
415
Craig Citro065b5302014-08-14 00:47:23 -0700416</body></html>