blob: cc9ff8a47850d65ba2769b56ad3f62bbd915717d [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 Botc2228be2020-11-24 15:48:03 -0800101 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800102 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800103 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
104 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
105 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
106 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800107 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800108 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
109 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
110 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
111 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
112 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
113 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
114 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800115 &quot;permissions&quot;: { # Permissions the user has for this web property.
116 &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.
117 &quot;A String&quot;,
118 ],
119 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800120 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
121 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
122 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
123 },
124 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800125 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800126 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800127 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800128 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
129 # This property cannot be set on insert.
130 &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).
131 # Set to false to delete data associated with the user identifier automatically after the rentention period.
132 # This property cannot be set on insert.
133 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800134 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800135 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
136 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
137 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
138 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
139 &quot;name&quot;: &quot;A String&quot;, # Account name.
140 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
141 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
142 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
143 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
144 },
145 &quot;permissions&quot;: { # Permissions the user has for this account.
146 &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 -0800147 &quot;A String&quot;,
148 ],
149 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800150 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
151 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
152 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800153 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800154 &quot;id&quot;: &quot;A String&quot;, # Account ticket ID used to access the account ticket.
155 &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.
156 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
157 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
158 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
159 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
160 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
161 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
162 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
163 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
164 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
165 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
166 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
167 },
168 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
169 &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.
170 &quot;A String&quot;,
171 ],
172 },
173 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
174 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
175 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
176 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
177 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
178 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
179 &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.
180 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
181 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
182 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
183 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
184 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
185 },
186 &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.
187 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
188 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
189 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
190 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
191 # 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
192 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
193 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
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.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800202 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800203 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800204 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
205 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
206 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
207 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800208 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800209 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
210 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
211 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
212 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
213 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
214 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
215 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800216 &quot;permissions&quot;: { # Permissions the user has for this web property.
217 &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.
218 &quot;A String&quot;,
219 ],
220 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800221 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
222 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
223 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
224 },
225 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800226 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800227 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800228 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800229 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
230 # This property cannot be set on insert.
231 &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).
232 # Set to false to delete data associated with the user identifier automatically after the rentention period.
233 # This property cannot be set on insert.
234 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800235 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800236 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
237 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
238 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
239 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
240 &quot;name&quot;: &quot;A String&quot;, # Account name.
241 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
242 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
243 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
244 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
245 },
246 &quot;permissions&quot;: { # Permissions the user has for this account.
247 &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 -0800248 &quot;A String&quot;,
249 ],
250 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800251 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
252 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
253 &quot;id&quot;: &quot;A String&quot;, # Account ID.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800254 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800255 &quot;id&quot;: &quot;A String&quot;, # Account ticket ID used to access the account ticket.
256 &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.
257 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
258 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
259 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
260 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
261 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
262 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
263 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
264 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
265 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
266 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
267 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
268 },
269 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
270 &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.
271 &quot;A String&quot;,
272 ],
273 },
274 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
275 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
276 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
277 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
278 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
279 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
280 &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.
281 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
282 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
283 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
284 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
285 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
286 },
287 &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.
288 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
289 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
290 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
291 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
292 # 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
293 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
294 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700308 &quot;kind&quot;: &quot;analytics#accountTreeRequest&quot;, # Resource type for account ticket.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800309 &quot;timezone&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800310 &quot;profileName&quot;: &quot;A String&quot;,
311 &quot;accountName&quot;: &quot;A String&quot;,
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800312 &quot;webpropertyName&quot;: &quot;A String&quot;,
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800313 &quot;websiteUrl&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 Botb6971b02020-11-26 17:16:03 -0800321 &quot;kind&quot;: &quot;analytics#accountTreeResponse&quot;, # Resource type for account ticket.
322 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
323 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
324 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
325 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
326 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
327 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
328 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
329 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
330 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
331 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
332 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
333 },
334 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
335 &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.
336 &quot;A String&quot;,
337 ],
338 },
339 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
340 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
341 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
342 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
343 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
344 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
345 &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.
346 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
347 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
348 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
349 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
350 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
351 },
352 &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.
353 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
354 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
355 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
356 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
357 # 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
358 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
359 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700360 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800361 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800362 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800363 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
364 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
365 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
366 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800367 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800368 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
369 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
370 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
371 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
372 &quot;href&quot;: &quot;A String&quot;, # Link to the list of views (profiles) for this web property.
373 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
374 },
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800375 &quot;permissions&quot;: { # Permissions the user has for this web property.
376 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700377 &quot;A String&quot;,
378 ],
379 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800380 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
381 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
382 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
383 },
384 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800385 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800386 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800387 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800388 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
389 # This property cannot be set on insert.
390 &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).
391 # Set to false to delete data associated with the user identifier automatically after the rentention period.
392 # This property cannot be set on insert.
393 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700394 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800395 &quot;account&quot;: { # JSON template for Analytics account entry. # The account created.
396 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
397 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
398 &quot;name&quot;: &quot;A String&quot;, # Account name.
399 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
400 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
401 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
402 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
403 },
404 &quot;permissions&quot;: { # Permissions the user has for this account.
405 &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 -0800406 &quot;A String&quot;,
407 ],
408 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800409 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
410 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
411 &quot;id&quot;: &quot;A String&quot;, # Account ID.
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>