Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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 Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 78 | <code><a href="#close">close()</a></code></p> |
| 79 | <p class="firstline">Close httplib2 connections.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#createAccountTicket">createAccountTicket(body=None)</a></code></p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 82 | <p class="firstline">Creates an account ticket.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 83 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 84 | <code><a href="#createAccountTree">createAccountTree(body=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 85 | <p class="firstline">Provision account.</p> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 86 | <h3>Method Details</h3> |
| 87 | <div class="method"> |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 88 | <code class="details" id="close">close()</code> |
| 89 | <pre>Close httplib2 connections.</pre> |
| 90 | </div> |
| 91 | |
| 92 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 93 | <code class="details" id="createAccountTicket">createAccountTicket(body=None)</code> |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 94 | <pre>Creates an account ticket. |
| 95 | |
| 96 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 97 | body: object, The request body. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 98 | 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 Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 101 | "kind": "analytics#accountTicket", # Resource type for account ticket. |
| 102 | "webproperty": { # JSON template for an Analytics web property. # Web property for the account. |
| 103 | "starred": True or False, # Indicates whether this web property is starred or not. |
| 104 | "level": "A String", # Level for this web property. Possible values are STANDARD or PREMIUM. |
| 105 | "dataRetentionTtl": "A String", # The length of time for which user and event data is retained. |
| 106 | # This property cannot be set on insert. |
| 107 | "profileCount": 42, # View (Profile) count for this web property. |
| 108 | "kind": "analytics#webproperty", # Resource type for Analytics WebProperty. |
| 109 | "accountId": "A String", # Account ID to which this web property belongs. |
| 110 | "internalWebPropertyId": "A String", # Internal ID for this web property. |
| 111 | "defaultProfileId": "A String", # Default view (profile) ID. |
| 112 | "created": "A String", # Time this web property was created. |
| 113 | "updated": "A String", # Time this web property was last modified. |
| 114 | "permissions": { # Permissions the user has for this web property. |
| 115 | "effective": [ # 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. |
| 116 | "A String", |
| 117 | ], |
| 118 | }, |
| 119 | "industryVertical": "A String", # The industry vertical/category selected for this web property. |
| 120 | "childLink": { # Child link for this web property. Points to the list of views (profiles) for this web property. |
| 121 | "type": "analytics#profiles", # Type of the parent link. Its value is "analytics#profiles". |
| 122 | "href": "A String", # Link to the list of views (profiles) for this web property. |
| 123 | }, |
| 124 | "selfLink": "A String", # Link for this web property. |
| 125 | "websiteUrl": "A String", # Website url for this web property. |
| 126 | "dataRetentionResetOnNewActivity": 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). |
| 127 | # Set to false to delete data associated with the user identifier automatically after the rentention period. |
| 128 | # This property cannot be set on insert. |
| 129 | "name": "A String", # Name of this web property. |
| 130 | "id": "A String", # Web property ID of the form UA-XXXXX-YY. |
| 131 | "parentLink": { # Parent link for this web property. Points to the account to which this web property belongs. |
| 132 | "type": "analytics#account", # Type of the parent link. Its value is "analytics#account". |
| 133 | "href": "A String", # Link to the account for this web property. |
| 134 | }, |
| 135 | }, |
| 136 | "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account. |
| 137 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
| 138 | "enhancedECommerceTracking": 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. |
| 139 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
| 140 | "selfLink": "A String", # Link for this view (profile). |
| 141 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 142 | "defaultPage": "A String", # Default page for this view (profile). |
| 143 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 144 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 145 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
| 146 | "id": "A String", # View (Profile) ID. |
| 147 | "permissions": { # Permissions the user has for this view (profile). |
| 148 | "effective": [ # 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. |
| 149 | "A String", |
| 150 | ], |
| 151 | }, |
| 152 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 153 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
| 154 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 155 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
| 156 | # 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 |
| 157 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 158 | "name": "A String", # Name of this view (profile). |
| 159 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
| 160 | "updated": "A String", # Time this view (profile) was last modified. |
| 161 | "created": "A String", # Time this view (profile) was created. |
| 162 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 163 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
| 164 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 165 | "websiteUrl": "A String", # Website URL for this view (profile). |
| 166 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 167 | "type": "analytics#goals", # Value is "analytics#goals". |
| 168 | "href": "A String", # Link to the list of goals for this view (profile). |
| 169 | }, |
| 170 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
| 171 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
| 172 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
| 173 | }, |
| 174 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 175 | "redirectUri": "A String", # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 176 | "account": { # JSON template for Analytics account entry. # Account for this ticket. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 177 | "starred": True or False, # Indicates whether this account is starred or not. |
| 178 | "kind": "analytics#account", # Resource type for Analytics account. |
| 179 | "id": "A String", # Account ID. |
| 180 | "selfLink": "A String", # Link for this account. |
| 181 | "created": "A String", # Time the account was created. |
| 182 | "childLink": { # Child link for an account entry. Points to the list of web properties for this account. |
| 183 | "type": "analytics#webproperties", # Type of the child link. Its value is "analytics#webproperties". |
| 184 | "href": "A String", # Link to the list of web properties for this account. |
| 185 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 186 | "name": "A String", # Account name. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 187 | "updated": "A String", # Time the account was last modified. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 188 | "permissions": { # Permissions the user has for this account. |
| 189 | "effective": [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW). |
| 190 | "A String", |
| 191 | ], |
| 192 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 193 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 194 | "id": "A String", # Account ticket ID used to access the account ticket. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 195 | } |
| 196 | |
| 197 | |
| 198 | Returns: |
| 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 Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 202 | "kind": "analytics#accountTicket", # Resource type for account ticket. |
| 203 | "webproperty": { # JSON template for an Analytics web property. # Web property for the account. |
| 204 | "starred": True or False, # Indicates whether this web property is starred or not. |
| 205 | "level": "A String", # Level for this web property. Possible values are STANDARD or PREMIUM. |
| 206 | "dataRetentionTtl": "A String", # The length of time for which user and event data is retained. |
| 207 | # This property cannot be set on insert. |
| 208 | "profileCount": 42, # View (Profile) count for this web property. |
| 209 | "kind": "analytics#webproperty", # Resource type for Analytics WebProperty. |
| 210 | "accountId": "A String", # Account ID to which this web property belongs. |
| 211 | "internalWebPropertyId": "A String", # Internal ID for this web property. |
| 212 | "defaultProfileId": "A String", # Default view (profile) ID. |
| 213 | "created": "A String", # Time this web property was created. |
| 214 | "updated": "A String", # Time this web property was last modified. |
| 215 | "permissions": { # Permissions the user has for this web property. |
| 216 | "effective": [ # 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. |
| 217 | "A String", |
| 218 | ], |
| 219 | }, |
| 220 | "industryVertical": "A String", # The industry vertical/category selected for this web property. |
| 221 | "childLink": { # Child link for this web property. Points to the list of views (profiles) for this web property. |
| 222 | "type": "analytics#profiles", # Type of the parent link. Its value is "analytics#profiles". |
| 223 | "href": "A String", # Link to the list of views (profiles) for this web property. |
| 224 | }, |
| 225 | "selfLink": "A String", # Link for this web property. |
| 226 | "websiteUrl": "A String", # Website url for this web property. |
| 227 | "dataRetentionResetOnNewActivity": 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). |
| 228 | # Set to false to delete data associated with the user identifier automatically after the rentention period. |
| 229 | # This property cannot be set on insert. |
| 230 | "name": "A String", # Name of this web property. |
| 231 | "id": "A String", # Web property ID of the form UA-XXXXX-YY. |
| 232 | "parentLink": { # Parent link for this web property. Points to the account to which this web property belongs. |
| 233 | "type": "analytics#account", # Type of the parent link. Its value is "analytics#account". |
| 234 | "href": "A String", # Link to the account for this web property. |
| 235 | }, |
| 236 | }, |
| 237 | "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account. |
| 238 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
| 239 | "enhancedECommerceTracking": 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. |
| 240 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
| 241 | "selfLink": "A String", # Link for this view (profile). |
| 242 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 243 | "defaultPage": "A String", # Default page for this view (profile). |
| 244 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 245 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 246 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
| 247 | "id": "A String", # View (Profile) ID. |
| 248 | "permissions": { # Permissions the user has for this view (profile). |
| 249 | "effective": [ # 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. |
| 250 | "A String", |
| 251 | ], |
| 252 | }, |
| 253 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 254 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
| 255 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 256 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
| 257 | # 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 |
| 258 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 259 | "name": "A String", # Name of this view (profile). |
| 260 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
| 261 | "updated": "A String", # Time this view (profile) was last modified. |
| 262 | "created": "A String", # Time this view (profile) was created. |
| 263 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 264 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
| 265 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 266 | "websiteUrl": "A String", # Website URL for this view (profile). |
| 267 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 268 | "type": "analytics#goals", # Value is "analytics#goals". |
| 269 | "href": "A String", # Link to the list of goals for this view (profile). |
| 270 | }, |
| 271 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
| 272 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
| 273 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
| 274 | }, |
| 275 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 276 | "redirectUri": "A String", # Redirect URI where the user will be sent after accepting Terms of Service. Must be configured in APIs console as a callback URL. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 277 | "account": { # JSON template for Analytics account entry. # Account for this ticket. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 278 | "starred": True or False, # Indicates whether this account is starred or not. |
| 279 | "kind": "analytics#account", # Resource type for Analytics account. |
| 280 | "id": "A String", # Account ID. |
| 281 | "selfLink": "A String", # Link for this account. |
| 282 | "created": "A String", # Time the account was created. |
| 283 | "childLink": { # Child link for an account entry. Points to the list of web properties for this account. |
| 284 | "type": "analytics#webproperties", # Type of the child link. Its value is "analytics#webproperties". |
| 285 | "href": "A String", # Link to the list of web properties for this account. |
| 286 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 287 | "name": "A String", # Account name. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 288 | "updated": "A String", # Time the account was last modified. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 289 | "permissions": { # Permissions the user has for this account. |
| 290 | "effective": [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW). |
| 291 | "A String", |
| 292 | ], |
| 293 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 294 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 295 | "id": "A String", # Account ticket ID used to access the account ticket. |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 296 | }</pre> |
| 297 | </div> |
| 298 | |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 299 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 300 | <code class="details" id="createAccountTree">createAccountTree(body=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 301 | <pre>Provision account. |
| 302 | |
| 303 | Args: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 304 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 305 | 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. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 308 | "webpropertyName": "A String", |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 309 | "timezone": "A String", |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 310 | "websiteUrl": "A String", |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 311 | "profileName": "A String", |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 312 | "kind": "analytics#accountTreeRequest", # Resource type for account ticket. |
| 313 | "accountName": "A String", |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 314 | } |
| 315 | |
| 316 | |
| 317 | Returns: |
| 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 Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 321 | "account": { # JSON template for Analytics account entry. # The account created. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 322 | "starred": True or False, # Indicates whether this account is starred or not. |
| 323 | "kind": "analytics#account", # Resource type for Analytics account. |
| 324 | "id": "A String", # Account ID. |
| 325 | "selfLink": "A String", # Link for this account. |
| 326 | "created": "A String", # Time the account was created. |
| 327 | "childLink": { # Child link for an account entry. Points to the list of web properties for this account. |
| 328 | "type": "analytics#webproperties", # Type of the child link. Its value is "analytics#webproperties". |
| 329 | "href": "A String", # Link to the list of web properties for this account. |
| 330 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 331 | "name": "A String", # Account name. |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 332 | "updated": "A String", # Time the account was last modified. |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 333 | "permissions": { # Permissions the user has for this account. |
| 334 | "effective": [ # All the permissions that the user has for this account. These include any implied permissions (e.g., EDIT implies VIEW). |
| 335 | "A String", |
| 336 | ], |
| 337 | }, |
Dmitry Frenkel | 3e17f89 | 2020-10-06 16:46:05 -0700 | [diff] [blame] | 338 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 339 | "kind": "analytics#accountTreeResponse", # Resource type for account ticket. |
| 340 | "profile": { # JSON template for an Analytics view (profile). # View (Profile) for the account. |
| 341 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
| 342 | "enhancedECommerceTracking": 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. |
| 343 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
| 344 | "selfLink": "A String", # Link for this view (profile). |
| 345 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 346 | "defaultPage": "A String", # Default page for this view (profile). |
| 347 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 348 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 349 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
| 350 | "id": "A String", # View (Profile) ID. |
| 351 | "permissions": { # Permissions the user has for this view (profile). |
| 352 | "effective": [ # 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 Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 353 | "A String", |
| 354 | ], |
| 355 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 356 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 357 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
| 358 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 359 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
| 360 | # 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 |
| 361 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 362 | "name": "A String", # Name of this view (profile). |
| 363 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
| 364 | "updated": "A String", # Time this view (profile) was last modified. |
| 365 | "created": "A String", # Time this view (profile) was created. |
| 366 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 367 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
| 368 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 369 | "websiteUrl": "A String", # Website URL for this view (profile). |
| 370 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 371 | "type": "analytics#goals", # Value is "analytics#goals". |
| 372 | "href": "A String", # Link to the list of goals for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 373 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 374 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
| 375 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
| 376 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
| 377 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 378 | }, |
Bu Sun Kim | 673ec5c | 2020-11-16 11:05:03 -0700 | [diff] [blame^] | 379 | "webproperty": { # JSON template for an Analytics web property. # Web property for the account. |
| 380 | "starred": True or False, # Indicates whether this web property is starred or not. |
| 381 | "level": "A String", # Level for this web property. Possible values are STANDARD or PREMIUM. |
| 382 | "dataRetentionTtl": "A String", # The length of time for which user and event data is retained. |
| 383 | # This property cannot be set on insert. |
| 384 | "profileCount": 42, # View (Profile) count for this web property. |
| 385 | "kind": "analytics#webproperty", # Resource type for Analytics WebProperty. |
| 386 | "accountId": "A String", # Account ID to which this web property belongs. |
| 387 | "internalWebPropertyId": "A String", # Internal ID for this web property. |
| 388 | "defaultProfileId": "A String", # Default view (profile) ID. |
| 389 | "created": "A String", # Time this web property was created. |
| 390 | "updated": "A String", # Time this web property was last modified. |
| 391 | "permissions": { # Permissions the user has for this web property. |
| 392 | "effective": [ # 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. |
| 393 | "A String", |
| 394 | ], |
| 395 | }, |
| 396 | "industryVertical": "A String", # The industry vertical/category selected for this web property. |
| 397 | "childLink": { # Child link for this web property. Points to the list of views (profiles) for this web property. |
| 398 | "type": "analytics#profiles", # Type of the parent link. Its value is "analytics#profiles". |
| 399 | "href": "A String", # Link to the list of views (profiles) for this web property. |
| 400 | }, |
| 401 | "selfLink": "A String", # Link for this web property. |
| 402 | "websiteUrl": "A String", # Website url for this web property. |
| 403 | "dataRetentionResetOnNewActivity": 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 | "name": "A String", # Name of this web property. |
| 407 | "id": "A String", # Web property ID of the form UA-XXXXX-YY. |
| 408 | "parentLink": { # Parent link for this web property. Points to the account to which this web property belongs. |
| 409 | "type": "analytics#account", # Type of the parent link. Its value is "analytics#account". |
| 410 | "href": "A String", # Link to the account for this web property. |
| 411 | }, |
| 412 | }, |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 413 | }</pre> |
| 414 | </div> |
| 415 | |
Craig Citro | 065b530 | 2014-08-14 00:47:23 -0700 | [diff] [blame] | 416 | </body></html> |