John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [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.management.html">management</a> . <a href="analytics_v3.management.profiles.html">profiles</a></h1> |
| 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
| 78 | <code><a href="#delete">delete(accountId, webPropertyId, profileId)</a></code></p> |
| 79 | <p class="firstline">Deletes a view (profile).</p> |
| 80 | <p class="toc_element"> |
| 81 | <code><a href="#get">get(accountId, webPropertyId, profileId)</a></code></p> |
| 82 | <p class="firstline">Gets a view (profile) to which the user has access.</p> |
| 83 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 84 | <code><a href="#insert">insert(accountId, webPropertyId, body=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 85 | <p class="firstline">Create a new view (profile).</p> |
| 86 | <p class="toc_element"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 87 | <code><a href="#list">list(accountId, webPropertyId, max_results=None, start_index=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 88 | <p class="firstline">Lists views (profiles) to which the user has access.</p> |
| 89 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 90 | <code><a href="#patch">patch(accountId, webPropertyId, profileId, body=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 91 | <p class="firstline">Updates an existing view (profile). This method supports patch semantics.</p> |
| 92 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 93 | <code><a href="#update">update(accountId, webPropertyId, profileId, body=None)</a></code></p> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 94 | <p class="firstline">Updates an existing view (profile).</p> |
| 95 | <h3>Method Details</h3> |
| 96 | <div class="method"> |
| 97 | <code class="details" id="delete">delete(accountId, webPropertyId, profileId)</code> |
| 98 | <pre>Deletes a view (profile). |
| 99 | |
| 100 | Args: |
| 101 | accountId: string, Account ID to delete the view (profile) for. (required) |
| 102 | webPropertyId: string, Web property ID to delete the view (profile) for. (required) |
| 103 | profileId: string, ID of the view (profile) to be deleted. (required) |
| 104 | </pre> |
| 105 | </div> |
| 106 | |
| 107 | <div class="method"> |
| 108 | <code class="details" id="get">get(accountId, webPropertyId, profileId)</code> |
| 109 | <pre>Gets a view (profile) to which the user has access. |
| 110 | |
| 111 | Args: |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 112 | accountId: string, Account ID to retrieve the view (profile) for. (required) |
| 113 | webPropertyId: string, Web property ID to retrieve the view (profile) for. (required) |
| 114 | profileId: string, View (Profile) ID to retrieve the view (profile) for. (required) |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 115 | |
| 116 | Returns: |
| 117 | An object of the form: |
| 118 | |
| 119 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 120 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 121 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 122 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 123 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 124 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 125 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 126 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 127 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 128 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 129 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 130 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 131 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 132 | "id": "A String", # View (Profile) ID. |
| 133 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 134 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 135 | "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. |
| 136 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 137 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 138 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 139 | "updated": "A String", # Time this view (profile) was last modified. |
| 140 | "name": "A String", # Name of this view (profile). |
| 141 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 142 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 143 | "href": "A String", # Link to the list of goals for this view (profile). |
| 144 | "type": "analytics#goals", # Value is "analytics#goals". |
| 145 | }, |
| 146 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 147 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 148 | "permissions": { # Permissions the user has for this view (profile). |
| 149 | "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. |
| 150 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 151 | ], |
| 152 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 153 | "selfLink": "A String", # Link for this view (profile). |
| 154 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 155 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 156 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 157 | }</pre> |
| 158 | </div> |
| 159 | |
| 160 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 161 | <code class="details" id="insert">insert(accountId, webPropertyId, body=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 162 | <pre>Create a new view (profile). |
| 163 | |
| 164 | Args: |
| 165 | accountId: string, Account ID to create the view (profile) for. (required) |
| 166 | webPropertyId: string, Web property ID to create the view (profile) for. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 167 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 168 | The object takes the form of: |
| 169 | |
| 170 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 171 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 172 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 173 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 174 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 175 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 176 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 177 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 178 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 179 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 180 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 181 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 182 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 183 | "id": "A String", # View (Profile) ID. |
| 184 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 185 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 186 | "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. |
| 187 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 188 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 189 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 190 | "updated": "A String", # Time this view (profile) was last modified. |
| 191 | "name": "A String", # Name of this view (profile). |
| 192 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 193 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 194 | "href": "A String", # Link to the list of goals for this view (profile). |
| 195 | "type": "analytics#goals", # Value is "analytics#goals". |
| 196 | }, |
| 197 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 198 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 199 | "permissions": { # Permissions the user has for this view (profile). |
| 200 | "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. |
| 201 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 202 | ], |
| 203 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 204 | "selfLink": "A String", # Link for this view (profile). |
| 205 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 206 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 207 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 208 | } |
| 209 | |
| 210 | |
| 211 | Returns: |
| 212 | An object of the form: |
| 213 | |
| 214 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 215 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 216 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 217 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 218 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 219 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 220 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 221 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 222 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 223 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 224 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 225 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 226 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 227 | "id": "A String", # View (Profile) ID. |
| 228 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 229 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 230 | "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. |
| 231 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 232 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 233 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 234 | "updated": "A String", # Time this view (profile) was last modified. |
| 235 | "name": "A String", # Name of this view (profile). |
| 236 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 237 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 238 | "href": "A String", # Link to the list of goals for this view (profile). |
| 239 | "type": "analytics#goals", # Value is "analytics#goals". |
| 240 | }, |
| 241 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 242 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 243 | "permissions": { # Permissions the user has for this view (profile). |
| 244 | "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. |
| 245 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 246 | ], |
| 247 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 248 | "selfLink": "A String", # Link for this view (profile). |
| 249 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 250 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 251 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 252 | }</pre> |
| 253 | </div> |
| 254 | |
| 255 | <div class="method"> |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 256 | <code class="details" id="list">list(accountId, webPropertyId, max_results=None, start_index=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 257 | <pre>Lists views (profiles) to which the user has access. |
| 258 | |
| 259 | Args: |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 260 | accountId: string, Account ID for the view (profiles) to retrieve. Can either be a specific account ID or '~all', which refers to all the accounts to which the user has access. (required) |
| 261 | webPropertyId: string, Web property ID for the views (profiles) to retrieve. Can either be a specific web property ID or '~all', which refers to all the web properties to which the user has access. (required) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 262 | max_results: integer, The maximum number of views (profiles) to include in this response. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 263 | start_index: integer, An index of the first entity to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 264 | |
| 265 | Returns: |
| 266 | An object of the form: |
| 267 | |
| 268 | { # A view (profile) collection lists Analytics views (profiles) to which the user has access. Each resource in the collection corresponds to a single Analytics view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 269 | "items": [ # A list of views (profiles). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 270 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 271 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 272 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 273 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 274 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 275 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 276 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 277 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 278 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 279 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 280 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 281 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 282 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 283 | "id": "A String", # View (Profile) ID. |
| 284 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 285 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 286 | "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. |
| 287 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 288 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 289 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 290 | "updated": "A String", # Time this view (profile) was last modified. |
| 291 | "name": "A String", # Name of this view (profile). |
| 292 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 293 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 294 | "href": "A String", # Link to the list of goals for this view (profile). |
| 295 | "type": "analytics#goals", # Value is "analytics#goals". |
| 296 | }, |
| 297 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 298 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 299 | "permissions": { # Permissions the user has for this view (profile). |
| 300 | "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. |
| 301 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 302 | ], |
| 303 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 304 | "selfLink": "A String", # Link for this view (profile). |
| 305 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 306 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 307 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 308 | }, |
| 309 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 310 | "username": "A String", # Email ID of the authenticated user |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 311 | "startIndex": 42, # The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 312 | "previousLink": "A String", # Link to previous page for this view (profile) collection. |
| 313 | "totalResults": 42, # The total number of results for the query, regardless of the number of results in the response. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 314 | "kind": "analytics#profiles", # Collection type. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 315 | "itemsPerPage": 42, # The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter. |
| 316 | "nextLink": "A String", # Link to next page for this view (profile) collection. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 317 | }</pre> |
| 318 | </div> |
| 319 | |
| 320 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 321 | <code class="details" id="patch">patch(accountId, webPropertyId, profileId, body=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 322 | <pre>Updates an existing view (profile). This method supports patch semantics. |
| 323 | |
| 324 | Args: |
| 325 | accountId: string, Account ID to which the view (profile) belongs (required) |
| 326 | webPropertyId: string, Web property ID to which the view (profile) belongs (required) |
| 327 | profileId: string, ID of the view (profile) to be updated. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 328 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 329 | The object takes the form of: |
| 330 | |
| 331 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 332 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 333 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 334 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 335 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 336 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 337 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 338 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 339 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 340 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 341 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 342 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 343 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 344 | "id": "A String", # View (Profile) ID. |
| 345 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 346 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 347 | "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. |
| 348 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 349 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 350 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 351 | "updated": "A String", # Time this view (profile) was last modified. |
| 352 | "name": "A String", # Name of this view (profile). |
| 353 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 354 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 355 | "href": "A String", # Link to the list of goals for this view (profile). |
| 356 | "type": "analytics#goals", # Value is "analytics#goals". |
| 357 | }, |
| 358 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 359 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 360 | "permissions": { # Permissions the user has for this view (profile). |
| 361 | "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. |
| 362 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 363 | ], |
| 364 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 365 | "selfLink": "A String", # Link for this view (profile). |
| 366 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 367 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 368 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 369 | } |
| 370 | |
| 371 | |
| 372 | Returns: |
| 373 | An object of the form: |
| 374 | |
| 375 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 376 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 377 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 378 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 379 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 380 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 381 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 382 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 383 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 384 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 385 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 386 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 387 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 388 | "id": "A String", # View (Profile) ID. |
| 389 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 390 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 391 | "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. |
| 392 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 393 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 394 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 395 | "updated": "A String", # Time this view (profile) was last modified. |
| 396 | "name": "A String", # Name of this view (profile). |
| 397 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 398 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 399 | "href": "A String", # Link to the list of goals for this view (profile). |
| 400 | "type": "analytics#goals", # Value is "analytics#goals". |
| 401 | }, |
| 402 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 403 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 404 | "permissions": { # Permissions the user has for this view (profile). |
| 405 | "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. |
| 406 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 407 | ], |
| 408 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 409 | "selfLink": "A String", # Link for this view (profile). |
| 410 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 411 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 412 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 413 | }</pre> |
| 414 | </div> |
| 415 | |
| 416 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 417 | <code class="details" id="update">update(accountId, webPropertyId, profileId, body=None)</code> |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 418 | <pre>Updates an existing view (profile). |
| 419 | |
| 420 | Args: |
| 421 | accountId: string, Account ID to which the view (profile) belongs (required) |
| 422 | webPropertyId: string, Web property ID to which the view (profile) belongs (required) |
| 423 | profileId: string, ID of the view (profile) to be updated. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 424 | body: object, The request body. |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 425 | The object takes the form of: |
| 426 | |
| 427 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 428 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 429 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 430 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 431 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 432 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 433 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 434 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 435 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 436 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 437 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 438 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 439 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 440 | "id": "A String", # View (Profile) ID. |
| 441 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 442 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 443 | "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. |
| 444 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 445 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 446 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 447 | "updated": "A String", # Time this view (profile) was last modified. |
| 448 | "name": "A String", # Name of this view (profile). |
| 449 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 450 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 451 | "href": "A String", # Link to the list of goals for this view (profile). |
| 452 | "type": "analytics#goals", # Value is "analytics#goals". |
| 453 | }, |
| 454 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 455 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 456 | "permissions": { # Permissions the user has for this view (profile). |
| 457 | "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. |
| 458 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 459 | ], |
| 460 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 461 | "selfLink": "A String", # Link for this view (profile). |
| 462 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 463 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 464 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 465 | } |
| 466 | |
| 467 | |
| 468 | Returns: |
| 469 | An object of the form: |
| 470 | |
| 471 | { # JSON template for an Analytics view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 472 | "excludeQueryParameters": "A String", # The query parameters that are excluded from this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 473 | "internalWebPropertyId": "A String", # Internal ID for the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 474 | "parentLink": { # Parent link for this view (profile). Points to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 475 | "type": "analytics#webproperty", # Value is "analytics#webproperty". |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame] | 476 | "href": "A String", # Link to the web property to which this view (profile) belongs. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 477 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 478 | "botFilteringEnabled": True or False, # Indicates whether bot filtering is enabled for this view (profile). |
| 479 | "created": "A String", # Time this view (profile) was created. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 480 | "currency": "A String", # The currency type associated with this view (profile), defaults to USD. The supported values are: |
Jon Wayne Parrott | dc6c1ef | 2016-10-14 11:04:30 -0700 | [diff] [blame] | 481 | # USD, JPY, EUR, GBP, AUD, KRW, BRL, CNY, DKK, RUB, SEK, NOK, PLN, TRY, TWD, HKD, THB, IDR, ARS, MXN, VND, PHP, INR, CHF, CAD, CZK, NZD, HUF, BGN, LTL, ZAR, UAH, AED, BOB, CLP, COP, EGP, HRK, ILS, MAD, MYR, PEN, PKR, RON, RSD, SAR, SGD, VEF, LVL |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 482 | "stripSiteSearchQueryParameters": True or False, # Whether or not Analytics will strip search query parameters from the URLs in your reports. |
| 483 | "siteSearchCategoryParameters": "A String", # Site search category parameters for this view (profile). |
| 484 | "id": "A String", # View (Profile) ID. |
| 485 | "type": "A String", # View (Profile) type. Supported types: WEB or APP. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 486 | "stripSiteSearchCategoryParameters": True or False, # Whether or not Analytics will strip search category parameters from the URLs in your reports. |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 487 | "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. |
| 488 | "timezone": "A String", # Time zone for which this view (profile) has been configured. Time zones are identified by strings from the TZ database. |
| 489 | "accountId": "A String", # Account ID to which this view (profile) belongs. |
| 490 | "siteSearchQueryParameters": "A String", # The site search query parameters for this view (profile). |
| 491 | "updated": "A String", # Time this view (profile) was last modified. |
| 492 | "name": "A String", # Name of this view (profile). |
| 493 | "kind": "analytics#profile", # Resource type for Analytics view (profile). |
| 494 | "childLink": { # Child link for this view (profile). Points to the list of goals for this view (profile). |
| 495 | "href": "A String", # Link to the list of goals for this view (profile). |
| 496 | "type": "analytics#goals", # Value is "analytics#goals". |
| 497 | }, |
| 498 | "webPropertyId": "A String", # Web property ID of the form UA-XXXXX-YY to which this view (profile) belongs. |
| 499 | "websiteUrl": "A String", # Website URL for this view (profile). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 500 | "permissions": { # Permissions the user has for this view (profile). |
| 501 | "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. |
| 502 | "A String", |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 503 | ], |
| 504 | }, |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 505 | "selfLink": "A String", # Link for this view (profile). |
| 506 | "starred": True or False, # Indicates whether this view (profile) is starred or not. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 507 | "defaultPage": "A String", # Default page for this view (profile). |
Bu Sun Kim | d059ad8 | 2020-07-22 17:02:09 -0700 | [diff] [blame] | 508 | "eCommerceTracking": True or False, # Indicates whether ecommerce tracking is enabled for this view (profile). |
John Asmuth | 614db98 | 2014-04-24 15:46:26 -0400 | [diff] [blame] | 509 | }</pre> |
| 510 | </div> |
| 511 | |
| 512 | </body></html> |