blob: 62bb21a2ef5b20034291753014a2ee6e60b2d361 [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 Kimd059ad82020-07-22 17:02:09 -0700101 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700102 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
103 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
104 &quot;name&quot;: &quot;A String&quot;, # Account name.
105 &quot;permissions&quot;: { # Permissions the user has for this account.
106 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
107 &quot;A String&quot;,
108 ],
109 },
110 &quot;id&quot;: &quot;A String&quot;, # Account ID.
111 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
112 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
113 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
114 },
115 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
116 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
117 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
118 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
119 },
120 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700121 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
122 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
123 # This property cannot be set on insert.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700124 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700125 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700126 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700127 &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 -0700128 },
129 &quot;permissions&quot;: { # Permissions the user has for this web property.
130 &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.
131 &quot;A String&quot;,
132 ],
133 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700134 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700135 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700136 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
137 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
138 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
139 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
140 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
141 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
142 },
143 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
144 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
145 &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).
146 # Set to false to delete data associated with the user identifier automatically after the rentention period.
147 # This property cannot be set on insert.
148 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
149 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
150 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
151 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
152 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
153 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700154 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700155 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
156 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
157 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
158 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
159 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
160 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
161 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
162 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
163 # 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
164 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
165 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
166 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
167 },
168 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
169 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
170 &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 Kim4ed7d3f2020-05-27 12:20:54 -0700171 &quot;A String&quot;,
172 ],
173 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
175 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
176 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
177 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
178 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
179 &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.
180 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
181 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
182 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
183 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
184 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
185 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
186 &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.
187 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
188 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
189 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
190 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700191 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700192 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700193 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700194 &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.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700202 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700203 &quot;account&quot;: { # JSON template for Analytics account entry. # Account for this ticket.
204 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
205 &quot;name&quot;: &quot;A String&quot;, # Account name.
206 &quot;permissions&quot;: { # Permissions the user has for this account.
207 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
208 &quot;A String&quot;,
209 ],
210 },
211 &quot;id&quot;: &quot;A String&quot;, # Account ID.
212 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
213 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
214 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
215 },
216 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
217 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
218 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
219 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
220 },
221 &quot;kind&quot;: &quot;analytics#accountTicket&quot;, # Resource type for account ticket.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700222 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
223 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
224 # This property cannot be set on insert.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700225 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700226 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700227 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700228 &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 -0700229 },
230 &quot;permissions&quot;: { # Permissions the user has for this web property.
231 &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.
232 &quot;A String&quot;,
233 ],
234 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700235 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700236 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700237 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
238 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
239 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
240 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
241 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
242 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
243 },
244 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
245 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
246 &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).
247 # Set to false to delete data associated with the user identifier automatically after the rentention period.
248 # This property cannot be set on insert.
249 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
250 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
251 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
252 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
253 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
254 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700255 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700256 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
257 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
258 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
259 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
260 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
261 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
262 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
263 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
264 # 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
265 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
266 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
267 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
268 },
269 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
270 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
271 &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 Kim4ed7d3f2020-05-27 12:20:54 -0700272 &quot;A String&quot;,
273 ],
274 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700275 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
276 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
277 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
278 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
279 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
280 &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.
281 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
282 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
283 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
284 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
285 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
286 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
287 &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.
288 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
289 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
290 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
291 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700292 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700293 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700294 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700295 &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.
Bu Sun Kim65020912020-05-20 12:08:20 -0700308 &quot;timezone&quot;: &quot;A String&quot;,
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700309 &quot;accountName&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700310 &quot;webpropertyName&quot;: &quot;A String&quot;,
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700311 &quot;websiteUrl&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700312 &quot;kind&quot;: &quot;analytics#accountTreeRequest&quot;, # Resource type for account ticket.
313 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700321 &quot;profile&quot;: { # JSON template for an Analytics view (profile). # View (Profile) for the account.
322 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for the web property to which this view (profile) belongs.
323 &quot;name&quot;: &quot;A String&quot;, # Name of this view (profile).
324 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this view (profile) belongs.
325 &quot;created&quot;: &quot;A String&quot;, # Time this view (profile) was created.
326 &quot;eCommerceTracking&quot;: True or False, # Indicates whether ecommerce tracking is enabled for this view (profile).
327 &quot;defaultPage&quot;: &quot;A String&quot;, # Default page for this view (profile).
328 &quot;currency&quot;: &quot;A String&quot;, # The currency type associated with this view (profile), defaults to USD. The supported values are:
329 # 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
330 &quot;parentLink&quot;: { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs.
331 &quot;type&quot;: &quot;analytics#webproperty&quot;, # Value is &quot;analytics#webproperty&quot;.
332 &quot;href&quot;: &quot;A String&quot;, # Link to the web property to which this view (profile) belongs.
333 },
334 &quot;excludeQueryParameters&quot;: &quot;A String&quot;, # The query parameters that are excluded from this view (profile).
335 &quot;permissions&quot;: { # Permissions the user has for this view (profile).
336 &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.
337 &quot;A String&quot;,
338 ],
339 },
340 &quot;siteSearchQueryParameters&quot;: &quot;A String&quot;, # The site search query parameters for this view (profile).
341 &quot;type&quot;: &quot;A String&quot;, # View (Profile) type. Supported types: WEB or APP.
342 &quot;webPropertyId&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs.
343 &quot;updated&quot;: &quot;A String&quot;, # Time this view (profile) was last modified.
344 &quot;botFilteringEnabled&quot;: True or False, # Indicates whether bot filtering is enabled for this view (profile).
345 &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.
346 &quot;stripSiteSearchCategoryParameters&quot;: True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports.
347 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website URL for this view (profile).
348 &quot;stripSiteSearchQueryParameters&quot;: True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports.
349 &quot;kind&quot;: &quot;analytics#profile&quot;, # Resource type for Analytics view (profile).
350 &quot;starred&quot;: True or False, # Indicates whether this view (profile) is starred or not.
351 &quot;id&quot;: &quot;A String&quot;, # View (Profile) ID.
352 &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.
353 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this view (profile).
354 &quot;childLink&quot;: { # Child link for this view (profile). Points to the list of goals for this view (profile).
355 &quot;type&quot;: &quot;analytics#goals&quot;, # Value is &quot;analytics#goals&quot;.
356 &quot;href&quot;: &quot;A String&quot;, # Link to the list of goals for this view (profile).
357 },
358 &quot;siteSearchCategoryParameters&quot;: &quot;A String&quot;, # Site search category parameters for this view (profile).
359 },
360 &quot;kind&quot;: &quot;analytics#accountTreeResponse&quot;, # Resource type for account ticket.
361 &quot;account&quot;: { # JSON template for Analytics account entry. # The account created.
362 &quot;updated&quot;: &quot;A String&quot;, # Time the account was last modified.
363 &quot;name&quot;: &quot;A String&quot;, # Account name.
364 &quot;permissions&quot;: { # Permissions the user has for this account.
365 &quot;effective&quot;: [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW).
366 &quot;A String&quot;,
367 ],
368 },
369 &quot;id&quot;: &quot;A String&quot;, # Account ID.
370 &quot;childLink&quot;: { # Child link for an account entry. Points to the list of web properties for this account.
371 &quot;href&quot;: &quot;A String&quot;, # Link to the list of web properties for this account.
372 &quot;type&quot;: &quot;analytics#webproperties&quot;, # Type of the child link. Its value is &quot;analytics#webproperties&quot;.
373 },
374 &quot;created&quot;: &quot;A String&quot;, # Time the account was created.
375 &quot;kind&quot;: &quot;analytics#account&quot;, # Resource type for Analytics account.
376 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this account.
377 &quot;starred&quot;: True or False, # Indicates whether this account is starred or not.
378 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700379 &quot;webproperty&quot;: { # JSON template for an Analytics web property. # Web property for the account.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700380 &quot;dataRetentionTtl&quot;: &quot;A String&quot;, # The length of time for which user and event data is retained.
381 # This property cannot be set on insert.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700382 &quot;selfLink&quot;: &quot;A String&quot;, # Link for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700383 &quot;childLink&quot;: { # Child link for this web property. Points to the list of views (profiles) for this web property.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700384 &quot;type&quot;: &quot;analytics#profiles&quot;, # Type of the parent link. Its value is &quot;analytics#profiles&quot;.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700385 &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 -0700386 },
387 &quot;permissions&quot;: { # Permissions the user has for this web property.
388 &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.
389 &quot;A String&quot;,
390 ],
391 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700392 &quot;id&quot;: &quot;A String&quot;, # Web property ID of the form UA-XXXXX-YY.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700393 &quot;kind&quot;: &quot;analytics#webproperty&quot;, # Resource type for Analytics WebProperty.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700394 &quot;industryVertical&quot;: &quot;A String&quot;, # The industry vertical/category selected for this web property.
395 &quot;internalWebPropertyId&quot;: &quot;A String&quot;, # Internal ID for this web property.
396 &quot;defaultProfileId&quot;: &quot;A String&quot;, # Default view (profile) ID.
397 &quot;parentLink&quot;: { # Parent link for this web property. Points to the account to which this web property belongs.
398 &quot;href&quot;: &quot;A String&quot;, # Link to the account for this web property.
399 &quot;type&quot;: &quot;analytics#account&quot;, # Type of the parent link. Its value is &quot;analytics#account&quot;.
Bu Sun Kim65020912020-05-20 12:08:20 -0700400 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700401 &quot;name&quot;: &quot;A String&quot;, # Name of this web property.
402 &quot;level&quot;: &quot;A String&quot;, # Level for this web property. Possible values are STANDARD or PREMIUM.
403 &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).
404 # Set to false to delete data associated with the user identifier automatically after the rentention period.
405 # This property cannot be set on insert.
406 &quot;starred&quot;: True or False, # Indicates whether this web property is starred or not.
407 &quot;created&quot;: &quot;A String&quot;, # Time this web property was created.
408 &quot;updated&quot;: &quot;A String&quot;, # Time this web property was last modified.
409 &quot;websiteUrl&quot;: &quot;A String&quot;, # Website url for this web property.
410 &quot;profileCount&quot;: 42, # View (Profile) count for this web property.
411 &quot;accountId&quot;: &quot;A String&quot;, # Account ID to which this web property belongs.
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>