OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/analytics": { |
| 6 "description": "View and manage your Google Analytics data" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/analytics.edit": { |
| 9 "description": "Edit Google Analytics management entities" |
| 10 }, |
| 11 "https://www.googleapis.com/auth/analytics.manage.users": { |
| 12 "description": "Manage Google Analytics Account users by ema
il address" |
| 13 }, |
| 14 "https://www.googleapis.com/auth/analytics.provision": { |
| 15 "description": "Create a new Google Analytics account along
with its default property and view" |
| 16 }, |
| 17 "https://www.googleapis.com/auth/analytics.readonly": { |
| 18 "description": "View your Google Analytics data" |
| 19 } |
| 20 } |
| 21 } |
| 22 }, |
| 23 "basePath": "/analytics/v3/", |
| 24 "baseUrl": "https://www.googleapis.com/analytics/v3/", |
| 25 "batchPath": "batch", |
| 26 "description": "View and manage your Google Analytics data", |
| 27 "discoveryVersion": "v1", |
| 28 "documentationLink": "https://developers.google.com/analytics/", |
| 29 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/SYGRjopRmK4Bczs5VKxKJQKTU8s\"", |
| 30 "icons": { |
| 31 "x16": "http://www.google.com/images/icons/product/analytics-16.png", |
| 32 "x32": "http://www.google.com/images/icons/product/analytics-32.png" |
| 33 }, |
| 34 "id": "analytics:v3", |
| 35 "kind": "discovery#restDescription", |
| 36 "name": "analytics", |
| 37 "ownerDomain": "google.com", |
| 38 "ownerName": "Google", |
| 39 "parameters": { |
| 40 "alt": { |
| 41 "default": "json", |
| 42 "description": "Data format for the response.", |
| 43 "enum": [ |
| 44 "json" |
| 45 ], |
| 46 "enumDescriptions": [ |
| 47 "Responses with Content-Type of application/json" |
| 48 ], |
| 49 "location": "query", |
| 50 "type": "string" |
| 51 }, |
| 52 "fields": { |
| 53 "description": "Selector specifying which fields to include in a par
tial response.", |
| 54 "location": "query", |
| 55 "type": "string" |
| 56 }, |
| 57 "key": { |
| 58 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 59 "location": "query", |
| 60 "type": "string" |
| 61 }, |
| 62 "oauth_token": { |
| 63 "description": "OAuth 2.0 token for the current user.", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
| 67 "prettyPrint": { |
| 68 "default": "false", |
| 69 "description": "Returns response with indentations and line breaks."
, |
| 70 "location": "query", |
| 71 "type": "boolean" |
| 72 }, |
| 73 "quotaUser": { |
| 74 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters. Overrides userIp if both are provided.", |
| 75 "location": "query", |
| 76 "type": "string" |
| 77 }, |
| 78 "userIp": { |
| 79 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 80 "location": "query", |
| 81 "type": "string" |
| 82 } |
| 83 }, |
| 84 "protocol": "rest", |
| 85 "resources": { |
| 86 "data": { |
| 87 "resources": { |
| 88 "ga": { |
| 89 "methods": { |
| 90 "get": { |
| 91 "description": "Returns Analytics data for a view (p
rofile).", |
| 92 "httpMethod": "GET", |
| 93 "id": "analytics.data.ga.get", |
| 94 "parameterOrder": [ |
| 95 "ids", |
| 96 "start-date", |
| 97 "end-date", |
| 98 "metrics" |
| 99 ], |
| 100 "parameters": { |
| 101 "dimensions": { |
| 102 "description": "A comma-separated list of An
alytics dimensions. E.g., 'ga:browser,ga:city'.", |
| 103 "location": "query", |
| 104 "pattern": "(ga:.+)?", |
| 105 "type": "string" |
| 106 }, |
| 107 "end-date": { |
| 108 "description": "End date for fetching Analyt
ics data. Request can should specify an end date formatted as YYYY-MM-DD, or as
a relative date (e.g., today, yesterday, or 7daysAgo). The default value is yest
erday.", |
| 109 "location": "query", |
| 110 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today
|yesterday|[0-9]+(daysAgo)", |
| 111 "required": true, |
| 112 "type": "string" |
| 113 }, |
| 114 "filters": { |
| 115 "description": "A comma-separated list of di
mension or metric filters to be applied to Analytics data.", |
| 116 "location": "query", |
| 117 "pattern": "ga:.+", |
| 118 "type": "string" |
| 119 }, |
| 120 "ids": { |
| 121 "description": "Unique table ID for retrievi
ng Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics
view (profile) ID.", |
| 122 "location": "query", |
| 123 "pattern": "ga:[0-9]+", |
| 124 "required": true, |
| 125 "type": "string" |
| 126 }, |
| 127 "max-results": { |
| 128 "description": "The maximum number of entrie
s to include in this feed.", |
| 129 "format": "int32", |
| 130 "location": "query", |
| 131 "type": "integer" |
| 132 }, |
| 133 "metrics": { |
| 134 "description": "A comma-separated list of An
alytics metrics. E.g., 'ga:sessions,ga:pageviews'. At least one metric must be s
pecified.", |
| 135 "location": "query", |
| 136 "pattern": "ga:.+", |
| 137 "required": true, |
| 138 "type": "string" |
| 139 }, |
| 140 "output": { |
| 141 "description": "The selected format for the
response. Default format is JSON.", |
| 142 "enum": [ |
| 143 "dataTable", |
| 144 "json" |
| 145 ], |
| 146 "enumDescriptions": [ |
| 147 "Returns the response in Google Charts D
ata Table format. This is useful in creating visualization using Google Charts."
, |
| 148 "Returns the response in standard JSON f
ormat." |
| 149 ], |
| 150 "location": "query", |
| 151 "type": "string" |
| 152 }, |
| 153 "samplingLevel": { |
| 154 "description": "The desired sampling level."
, |
| 155 "enum": [ |
| 156 "DEFAULT", |
| 157 "FASTER", |
| 158 "HIGHER_PRECISION" |
| 159 ], |
| 160 "enumDescriptions": [ |
| 161 "Returns response with a sample size tha
t balances speed and accuracy.", |
| 162 "Returns a fast response with a smaller
sample size.", |
| 163 "Returns a more accurate response using
a large sample size, but this may result in the response being slower." |
| 164 ], |
| 165 "location": "query", |
| 166 "type": "string" |
| 167 }, |
| 168 "segment": { |
| 169 "description": "An Analytics segment to be a
pplied to data.", |
| 170 "location": "query", |
| 171 "type": "string" |
| 172 }, |
| 173 "sort": { |
| 174 "description": "A comma-separated list of di
mensions or metrics that determine the sort order for Analytics data.", |
| 175 "location": "query", |
| 176 "pattern": "(-)?ga:.+", |
| 177 "type": "string" |
| 178 }, |
| 179 "start-date": { |
| 180 "description": "Start date for fetching Anal
ytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a r
elative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAg
o.", |
| 181 "location": "query", |
| 182 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today
|yesterday|[0-9]+(daysAgo)", |
| 183 "required": true, |
| 184 "type": "string" |
| 185 }, |
| 186 "start-index": { |
| 187 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 188 "format": "int32", |
| 189 "location": "query", |
| 190 "minimum": "1", |
| 191 "type": "integer" |
| 192 } |
| 193 }, |
| 194 "path": "data/ga", |
| 195 "response": { |
| 196 "$ref": "GaData" |
| 197 }, |
| 198 "scopes": [ |
| 199 "https://www.googleapis.com/auth/analytics", |
| 200 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 201 ] |
| 202 } |
| 203 } |
| 204 }, |
| 205 "mcf": { |
| 206 "methods": { |
| 207 "get": { |
| 208 "description": "Returns Analytics Multi-Channel Funn
els data for a view (profile).", |
| 209 "httpMethod": "GET", |
| 210 "id": "analytics.data.mcf.get", |
| 211 "parameterOrder": [ |
| 212 "ids", |
| 213 "start-date", |
| 214 "end-date", |
| 215 "metrics" |
| 216 ], |
| 217 "parameters": { |
| 218 "dimensions": { |
| 219 "description": "A comma-separated list of Mu
lti-Channel Funnels dimensions. E.g., 'mcf:source,mcf:medium'.", |
| 220 "location": "query", |
| 221 "pattern": "(mcf:.+)?", |
| 222 "type": "string" |
| 223 }, |
| 224 "end-date": { |
| 225 "description": "End date for fetching Analyt
ics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a rel
ative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAgo.
", |
| 226 "location": "query", |
| 227 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today
|yesterday|[0-9]+(daysAgo)", |
| 228 "required": true, |
| 229 "type": "string" |
| 230 }, |
| 231 "filters": { |
| 232 "description": "A comma-separated list of di
mension or metric filters to be applied to the Analytics data.", |
| 233 "location": "query", |
| 234 "pattern": "mcf:.+", |
| 235 "type": "string" |
| 236 }, |
| 237 "ids": { |
| 238 "description": "Unique table ID for retrievi
ng Analytics data. Table ID is of the form ga:XXXX, where XXXX is the Analytics
view (profile) ID.", |
| 239 "location": "query", |
| 240 "pattern": "ga:[0-9]+", |
| 241 "required": true, |
| 242 "type": "string" |
| 243 }, |
| 244 "max-results": { |
| 245 "description": "The maximum number of entrie
s to include in this feed.", |
| 246 "format": "int32", |
| 247 "location": "query", |
| 248 "type": "integer" |
| 249 }, |
| 250 "metrics": { |
| 251 "description": "A comma-separated list of Mu
lti-Channel Funnels metrics. E.g., 'mcf:totalConversions,mcf:totalConversionValu
e'. At least one metric must be specified.", |
| 252 "location": "query", |
| 253 "pattern": "mcf:.+", |
| 254 "required": true, |
| 255 "type": "string" |
| 256 }, |
| 257 "samplingLevel": { |
| 258 "description": "The desired sampling level."
, |
| 259 "enum": [ |
| 260 "DEFAULT", |
| 261 "FASTER", |
| 262 "HIGHER_PRECISION" |
| 263 ], |
| 264 "enumDescriptions": [ |
| 265 "Returns response with a sample size tha
t balances speed and accuracy.", |
| 266 "Returns a fast response with a smaller
sample size.", |
| 267 "Returns a more accurate response using
a large sample size, but this may result in the response being slower." |
| 268 ], |
| 269 "location": "query", |
| 270 "type": "string" |
| 271 }, |
| 272 "sort": { |
| 273 "description": "A comma-separated list of di
mensions or metrics that determine the sort order for the Analytics data.", |
| 274 "location": "query", |
| 275 "pattern": "(-)?mcf:.+", |
| 276 "type": "string" |
| 277 }, |
| 278 "start-date": { |
| 279 "description": "Start date for fetching Anal
ytics data. Requests can specify a start date formatted as YYYY-MM-DD, or as a r
elative date (e.g., today, yesterday, or 7daysAgo). The default value is 7daysAg
o.", |
| 280 "location": "query", |
| 281 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}|today
|yesterday|[0-9]+(daysAgo)", |
| 282 "required": true, |
| 283 "type": "string" |
| 284 }, |
| 285 "start-index": { |
| 286 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 287 "format": "int32", |
| 288 "location": "query", |
| 289 "minimum": "1", |
| 290 "type": "integer" |
| 291 } |
| 292 }, |
| 293 "path": "data/mcf", |
| 294 "response": { |
| 295 "$ref": "McfData" |
| 296 }, |
| 297 "scopes": [ |
| 298 "https://www.googleapis.com/auth/analytics", |
| 299 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 300 ] |
| 301 } |
| 302 } |
| 303 }, |
| 304 "realtime": { |
| 305 "methods": { |
| 306 "get": { |
| 307 "description": "Returns real time data for a view (p
rofile).", |
| 308 "httpMethod": "GET", |
| 309 "id": "analytics.data.realtime.get", |
| 310 "parameterOrder": [ |
| 311 "ids", |
| 312 "metrics" |
| 313 ], |
| 314 "parameters": { |
| 315 "dimensions": { |
| 316 "description": "A comma-separated list of re
al time dimensions. E.g., 'rt:medium,rt:city'.", |
| 317 "location": "query", |
| 318 "pattern": "(ga:.+)|(rt:.+)", |
| 319 "type": "string" |
| 320 }, |
| 321 "filters": { |
| 322 "description": "A comma-separated list of di
mension or metric filters to be applied to real time data.", |
| 323 "location": "query", |
| 324 "pattern": "(ga:.+)|(rt:.+)", |
| 325 "type": "string" |
| 326 }, |
| 327 "ids": { |
| 328 "description": "Unique table ID for retrievi
ng real time data. Table ID is of the form ga:XXXX, where XXXX is the Analytics
view (profile) ID.", |
| 329 "location": "query", |
| 330 "pattern": "ga:[0-9]+", |
| 331 "required": true, |
| 332 "type": "string" |
| 333 }, |
| 334 "max-results": { |
| 335 "description": "The maximum number of entrie
s to include in this feed.", |
| 336 "format": "int32", |
| 337 "location": "query", |
| 338 "type": "integer" |
| 339 }, |
| 340 "metrics": { |
| 341 "description": "A comma-separated list of re
al time metrics. E.g., 'rt:activeUsers'. At least one metric must be specified."
, |
| 342 "location": "query", |
| 343 "pattern": "(ga:.+)|(rt:.+)", |
| 344 "required": true, |
| 345 "type": "string" |
| 346 }, |
| 347 "sort": { |
| 348 "description": "A comma-separated list of di
mensions or metrics that determine the sort order for real time data.", |
| 349 "location": "query", |
| 350 "pattern": "(-)?((ga:.+)|(rt:.+))", |
| 351 "type": "string" |
| 352 } |
| 353 }, |
| 354 "path": "data/realtime", |
| 355 "response": { |
| 356 "$ref": "RealtimeData" |
| 357 }, |
| 358 "scopes": [ |
| 359 "https://www.googleapis.com/auth/analytics", |
| 360 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 361 ] |
| 362 } |
| 363 } |
| 364 } |
| 365 } |
| 366 }, |
| 367 "management": { |
| 368 "resources": { |
| 369 "accountSummaries": { |
| 370 "methods": { |
| 371 "list": { |
| 372 "description": "Lists account summaries (lightweight
tree comprised of accounts/properties/profiles) to which the user has access.", |
| 373 "httpMethod": "GET", |
| 374 "id": "analytics.management.accountSummaries.list", |
| 375 "parameters": { |
| 376 "max-results": { |
| 377 "description": "The maximum number of filter
s to include in this response.", |
| 378 "format": "int32", |
| 379 "location": "query", |
| 380 "type": "integer" |
| 381 }, |
| 382 "start-index": { |
| 383 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 384 "format": "int32", |
| 385 "location": "query", |
| 386 "minimum": "1", |
| 387 "type": "integer" |
| 388 } |
| 389 }, |
| 390 "path": "management/accountSummaries", |
| 391 "response": { |
| 392 "$ref": "AccountSummaries" |
| 393 }, |
| 394 "scopes": [ |
| 395 "https://www.googleapis.com/auth/analytics.edit"
, |
| 396 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 397 ] |
| 398 } |
| 399 } |
| 400 }, |
| 401 "accountUserLinks": { |
| 402 "methods": { |
| 403 "delete": { |
| 404 "description": "Removes a user from the given accoun
t.", |
| 405 "httpMethod": "DELETE", |
| 406 "id": "analytics.management.accountUserLinks.delete"
, |
| 407 "parameterOrder": [ |
| 408 "accountId", |
| 409 "linkId" |
| 410 ], |
| 411 "parameters": { |
| 412 "accountId": { |
| 413 "description": "Account ID to delete the use
r link for.", |
| 414 "location": "path", |
| 415 "required": true, |
| 416 "type": "string" |
| 417 }, |
| 418 "linkId": { |
| 419 "description": "Link ID to delete the user l
ink for.", |
| 420 "location": "path", |
| 421 "required": true, |
| 422 "type": "string" |
| 423 } |
| 424 }, |
| 425 "path": "management/accounts/{accountId}/entityUserL
inks/{linkId}", |
| 426 "scopes": [ |
| 427 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 428 ] |
| 429 }, |
| 430 "insert": { |
| 431 "description": "Adds a new user to the given account
.", |
| 432 "httpMethod": "POST", |
| 433 "id": "analytics.management.accountUserLinks.insert"
, |
| 434 "parameterOrder": [ |
| 435 "accountId" |
| 436 ], |
| 437 "parameters": { |
| 438 "accountId": { |
| 439 "description": "Account ID to create the use
r link for.", |
| 440 "location": "path", |
| 441 "required": true, |
| 442 "type": "string" |
| 443 } |
| 444 }, |
| 445 "path": "management/accounts/{accountId}/entityUserL
inks", |
| 446 "request": { |
| 447 "$ref": "EntityUserLink" |
| 448 }, |
| 449 "response": { |
| 450 "$ref": "EntityUserLink" |
| 451 }, |
| 452 "scopes": [ |
| 453 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 454 ] |
| 455 }, |
| 456 "list": { |
| 457 "description": "Lists account-user links for a given
account.", |
| 458 "httpMethod": "GET", |
| 459 "id": "analytics.management.accountUserLinks.list", |
| 460 "parameterOrder": [ |
| 461 "accountId" |
| 462 ], |
| 463 "parameters": { |
| 464 "accountId": { |
| 465 "description": "Account ID to retrieve the u
ser links for.", |
| 466 "location": "path", |
| 467 "required": true, |
| 468 "type": "string" |
| 469 }, |
| 470 "max-results": { |
| 471 "description": "The maximum number of accoun
t-user links to include in this response.", |
| 472 "format": "int32", |
| 473 "location": "query", |
| 474 "type": "integer" |
| 475 }, |
| 476 "start-index": { |
| 477 "description": "An index of the first accoun
t-user link to retrieve. Use this parameter as a pagination mechanism along with
the max-results parameter.", |
| 478 "format": "int32", |
| 479 "location": "query", |
| 480 "minimum": "1", |
| 481 "type": "integer" |
| 482 } |
| 483 }, |
| 484 "path": "management/accounts/{accountId}/entityUserL
inks", |
| 485 "response": { |
| 486 "$ref": "EntityUserLinks" |
| 487 }, |
| 488 "scopes": [ |
| 489 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 490 ] |
| 491 }, |
| 492 "update": { |
| 493 "description": "Updates permissions for an existing
user on the given account.", |
| 494 "httpMethod": "PUT", |
| 495 "id": "analytics.management.accountUserLinks.update"
, |
| 496 "parameterOrder": [ |
| 497 "accountId", |
| 498 "linkId" |
| 499 ], |
| 500 "parameters": { |
| 501 "accountId": { |
| 502 "description": "Account ID to update the acc
ount-user link for.", |
| 503 "location": "path", |
| 504 "required": true, |
| 505 "type": "string" |
| 506 }, |
| 507 "linkId": { |
| 508 "description": "Link ID to update the accoun
t-user link for.", |
| 509 "location": "path", |
| 510 "required": true, |
| 511 "type": "string" |
| 512 } |
| 513 }, |
| 514 "path": "management/accounts/{accountId}/entityUserL
inks/{linkId}", |
| 515 "request": { |
| 516 "$ref": "EntityUserLink" |
| 517 }, |
| 518 "response": { |
| 519 "$ref": "EntityUserLink" |
| 520 }, |
| 521 "scopes": [ |
| 522 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 523 ] |
| 524 } |
| 525 } |
| 526 }, |
| 527 "accounts": { |
| 528 "methods": { |
| 529 "list": { |
| 530 "description": "Lists all accounts to which the user
has access.", |
| 531 "httpMethod": "GET", |
| 532 "id": "analytics.management.accounts.list", |
| 533 "parameters": { |
| 534 "max-results": { |
| 535 "description": "The maximum number of accoun
ts to include in this response.", |
| 536 "format": "int32", |
| 537 "location": "query", |
| 538 "type": "integer" |
| 539 }, |
| 540 "start-index": { |
| 541 "description": "An index of the first accoun
t to retrieve. Use this parameter as a pagination mechanism along with the max-r
esults parameter.", |
| 542 "format": "int32", |
| 543 "location": "query", |
| 544 "minimum": "1", |
| 545 "type": "integer" |
| 546 } |
| 547 }, |
| 548 "path": "management/accounts", |
| 549 "response": { |
| 550 "$ref": "Accounts" |
| 551 }, |
| 552 "scopes": [ |
| 553 "https://www.googleapis.com/auth/analytics", |
| 554 "https://www.googleapis.com/auth/analytics.edit"
, |
| 555 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 556 ] |
| 557 } |
| 558 } |
| 559 }, |
| 560 "customDataSources": { |
| 561 "methods": { |
| 562 "list": { |
| 563 "description": "List custom data sources to which th
e user has access.", |
| 564 "httpMethod": "GET", |
| 565 "id": "analytics.management.customDataSources.list", |
| 566 "parameterOrder": [ |
| 567 "accountId", |
| 568 "webPropertyId" |
| 569 ], |
| 570 "parameters": { |
| 571 "accountId": { |
| 572 "description": "Account Id for the custom da
ta sources to retrieve.", |
| 573 "location": "path", |
| 574 "pattern": "\\d+", |
| 575 "required": true, |
| 576 "type": "string" |
| 577 }, |
| 578 "max-results": { |
| 579 "description": "The maximum number of custom
data sources to include in this response.", |
| 580 "format": "int32", |
| 581 "location": "query", |
| 582 "minimum": "1", |
| 583 "type": "integer" |
| 584 }, |
| 585 "start-index": { |
| 586 "description": "A 1-based index of the first
custom data source to retrieve. Use this parameter as a pagination mechanism al
ong with the max-results parameter.", |
| 587 "format": "int32", |
| 588 "location": "query", |
| 589 "minimum": "1", |
| 590 "type": "integer" |
| 591 }, |
| 592 "webPropertyId": { |
| 593 "description": "Web property Id for the cust
om data sources to retrieve.", |
| 594 "location": "path", |
| 595 "pattern": "UA-(\\d+)-(\\d+)", |
| 596 "required": true, |
| 597 "type": "string" |
| 598 } |
| 599 }, |
| 600 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources", |
| 601 "response": { |
| 602 "$ref": "CustomDataSources" |
| 603 }, |
| 604 "scopes": [ |
| 605 "https://www.googleapis.com/auth/analytics", |
| 606 "https://www.googleapis.com/auth/analytics.edit"
, |
| 607 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 608 ] |
| 609 } |
| 610 } |
| 611 }, |
| 612 "dailyUploads": { |
| 613 "methods": { |
| 614 "delete": { |
| 615 "description": "Delete uploaded data for the given d
ate.", |
| 616 "httpMethod": "DELETE", |
| 617 "id": "analytics.management.dailyUploads.delete", |
| 618 "parameterOrder": [ |
| 619 "accountId", |
| 620 "webPropertyId", |
| 621 "customDataSourceId", |
| 622 "date", |
| 623 "type" |
| 624 ], |
| 625 "parameters": { |
| 626 "accountId": { |
| 627 "description": "Account Id associated with d
aily upload delete.", |
| 628 "location": "path", |
| 629 "pattern": "[0-9]+", |
| 630 "required": true, |
| 631 "type": "string" |
| 632 }, |
| 633 "customDataSourceId": { |
| 634 "description": "Custom data source Id associ
ated with daily upload delete.", |
| 635 "location": "path", |
| 636 "required": true, |
| 637 "type": "string" |
| 638 }, |
| 639 "date": { |
| 640 "description": "Date for which data is to be
deleted. Date should be formatted as YYYY-MM-DD.", |
| 641 "location": "path", |
| 642 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", |
| 643 "required": true, |
| 644 "type": "string" |
| 645 }, |
| 646 "type": { |
| 647 "description": "Type of data for this delete
.", |
| 648 "enum": [ |
| 649 "cost" |
| 650 ], |
| 651 "enumDescriptions": [ |
| 652 "Value for specifying cost data upload." |
| 653 ], |
| 654 "location": "query", |
| 655 "required": true, |
| 656 "type": "string" |
| 657 }, |
| 658 "webPropertyId": { |
| 659 "description": "Web property Id associated w
ith daily upload delete.", |
| 660 "location": "path", |
| 661 "pattern": "UA-[0-9]+-[0-9]+", |
| 662 "required": true, |
| 663 "type": "string" |
| 664 } |
| 665 }, |
| 666 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}", |
| 667 "scopes": [ |
| 668 "https://www.googleapis.com/auth/analytics", |
| 669 "https://www.googleapis.com/auth/analytics.edit" |
| 670 ] |
| 671 }, |
| 672 "list": { |
| 673 "description": "List daily uploads to which the user
has access.", |
| 674 "httpMethod": "GET", |
| 675 "id": "analytics.management.dailyUploads.list", |
| 676 "parameterOrder": [ |
| 677 "accountId", |
| 678 "webPropertyId", |
| 679 "customDataSourceId", |
| 680 "start-date", |
| 681 "end-date" |
| 682 ], |
| 683 "parameters": { |
| 684 "accountId": { |
| 685 "description": "Account Id for the daily upl
oads to retrieve.", |
| 686 "location": "path", |
| 687 "pattern": "\\d+", |
| 688 "required": true, |
| 689 "type": "string" |
| 690 }, |
| 691 "customDataSourceId": { |
| 692 "description": "Custom data source Id for da
ily uploads to retrieve.", |
| 693 "location": "path", |
| 694 "pattern": ".{22}", |
| 695 "required": true, |
| 696 "type": "string" |
| 697 }, |
| 698 "end-date": { |
| 699 "description": "End date of the form YYYY-MM
-DD.", |
| 700 "location": "query", |
| 701 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", |
| 702 "required": true, |
| 703 "type": "string" |
| 704 }, |
| 705 "max-results": { |
| 706 "description": "The maximum number of custom
data sources to include in this response.", |
| 707 "format": "int32", |
| 708 "location": "query", |
| 709 "minimum": "1", |
| 710 "type": "integer" |
| 711 }, |
| 712 "start-date": { |
| 713 "description": "Start date of the form YYYY-
MM-DD.", |
| 714 "location": "query", |
| 715 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", |
| 716 "required": true, |
| 717 "type": "string" |
| 718 }, |
| 719 "start-index": { |
| 720 "description": "A 1-based index of the first
daily upload to retrieve. Use this parameter as a pagination mechanism along wi
th the max-results parameter.", |
| 721 "format": "int32", |
| 722 "location": "query", |
| 723 "minimum": "1", |
| 724 "type": "integer" |
| 725 }, |
| 726 "webPropertyId": { |
| 727 "description": "Web property Id for the dail
y uploads to retrieve.", |
| 728 "location": "path", |
| 729 "pattern": "UA-(\\d+)-(\\d+)", |
| 730 "required": true, |
| 731 "type": "string" |
| 732 } |
| 733 }, |
| 734 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads", |
| 735 "response": { |
| 736 "$ref": "DailyUploads" |
| 737 }, |
| 738 "scopes": [ |
| 739 "https://www.googleapis.com/auth/analytics", |
| 740 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 741 ] |
| 742 }, |
| 743 "upload": { |
| 744 "description": "Update/Overwrite data for a custom d
ata source.", |
| 745 "httpMethod": "POST", |
| 746 "id": "analytics.management.dailyUploads.upload", |
| 747 "mediaUpload": { |
| 748 "accept": [ |
| 749 "application/octet-stream" |
| 750 ], |
| 751 "maxSize": "5MB", |
| 752 "protocols": { |
| 753 "resumable": { |
| 754 "multipart": true, |
| 755 "path": "/resumable/upload/analytics/v3/
management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/
{customDataSourceId}/dailyUploads/{date}/uploads" |
| 756 }, |
| 757 "simple": { |
| 758 "multipart": true, |
| 759 "path": "/upload/analytics/v3/management
/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDat
aSourceId}/dailyUploads/{date}/uploads" |
| 760 } |
| 761 } |
| 762 }, |
| 763 "parameterOrder": [ |
| 764 "accountId", |
| 765 "webPropertyId", |
| 766 "customDataSourceId", |
| 767 "date", |
| 768 "appendNumber", |
| 769 "type" |
| 770 ], |
| 771 "parameters": { |
| 772 "accountId": { |
| 773 "description": "Account Id associated with d
aily upload.", |
| 774 "location": "path", |
| 775 "pattern": "\\d+", |
| 776 "required": true, |
| 777 "type": "string" |
| 778 }, |
| 779 "appendNumber": { |
| 780 "description": "Append number for this uploa
d indexed from 1.", |
| 781 "format": "int32", |
| 782 "location": "query", |
| 783 "maximum": "20", |
| 784 "minimum": "1", |
| 785 "required": true, |
| 786 "type": "integer" |
| 787 }, |
| 788 "customDataSourceId": { |
| 789 "description": "Custom data source Id to whi
ch the data being uploaded belongs.", |
| 790 "location": "path", |
| 791 "required": true, |
| 792 "type": "string" |
| 793 }, |
| 794 "date": { |
| 795 "description": "Date for which data is uploa
ded. Date should be formatted as YYYY-MM-DD.", |
| 796 "location": "path", |
| 797 "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", |
| 798 "required": true, |
| 799 "type": "string" |
| 800 }, |
| 801 "reset": { |
| 802 "default": "false", |
| 803 "description": "Reset/Overwrite all previous
appends for this date and start over with this file as the first upload.", |
| 804 "location": "query", |
| 805 "type": "boolean" |
| 806 }, |
| 807 "type": { |
| 808 "description": "Type of data for this upload
.", |
| 809 "enum": [ |
| 810 "cost" |
| 811 ], |
| 812 "enumDescriptions": [ |
| 813 "Value for specifying cost data upload." |
| 814 ], |
| 815 "location": "query", |
| 816 "required": true, |
| 817 "type": "string" |
| 818 }, |
| 819 "webPropertyId": { |
| 820 "description": "Web property Id associated w
ith daily upload.", |
| 821 "location": "path", |
| 822 "pattern": "UA-\\d+-\\d+", |
| 823 "required": true, |
| 824 "type": "string" |
| 825 } |
| 826 }, |
| 827 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/up
loads", |
| 828 "response": { |
| 829 "$ref": "DailyUploadAppend" |
| 830 }, |
| 831 "scopes": [ |
| 832 "https://www.googleapis.com/auth/analytics", |
| 833 "https://www.googleapis.com/auth/analytics.edit" |
| 834 ], |
| 835 "supportsMediaUpload": true |
| 836 } |
| 837 } |
| 838 }, |
| 839 "experiments": { |
| 840 "methods": { |
| 841 "delete": { |
| 842 "description": "Delete an experiment.", |
| 843 "httpMethod": "DELETE", |
| 844 "id": "analytics.management.experiments.delete", |
| 845 "parameterOrder": [ |
| 846 "accountId", |
| 847 "webPropertyId", |
| 848 "profileId", |
| 849 "experimentId" |
| 850 ], |
| 851 "parameters": { |
| 852 "accountId": { |
| 853 "description": "Account ID to which the expe
riment belongs", |
| 854 "location": "path", |
| 855 "required": true, |
| 856 "type": "string" |
| 857 }, |
| 858 "experimentId": { |
| 859 "description": "ID of the experiment to dele
te", |
| 860 "location": "path", |
| 861 "required": true, |
| 862 "type": "string" |
| 863 }, |
| 864 "profileId": { |
| 865 "description": "View (Profile) ID to which t
he experiment belongs", |
| 866 "location": "path", |
| 867 "required": true, |
| 868 "type": "string" |
| 869 }, |
| 870 "webPropertyId": { |
| 871 "description": "Web property ID to which the
experiment belongs", |
| 872 "location": "path", |
| 873 "required": true, |
| 874 "type": "string" |
| 875 } |
| 876 }, |
| 877 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", |
| 878 "scopes": [ |
| 879 "https://www.googleapis.com/auth/analytics", |
| 880 "https://www.googleapis.com/auth/analytics.edit" |
| 881 ] |
| 882 }, |
| 883 "get": { |
| 884 "description": "Returns an experiment to which the u
ser has access.", |
| 885 "httpMethod": "GET", |
| 886 "id": "analytics.management.experiments.get", |
| 887 "parameterOrder": [ |
| 888 "accountId", |
| 889 "webPropertyId", |
| 890 "profileId", |
| 891 "experimentId" |
| 892 ], |
| 893 "parameters": { |
| 894 "accountId": { |
| 895 "description": "Account ID to retrieve the e
xperiment for.", |
| 896 "location": "path", |
| 897 "required": true, |
| 898 "type": "string" |
| 899 }, |
| 900 "experimentId": { |
| 901 "description": "Experiment ID to retrieve th
e experiment for.", |
| 902 "location": "path", |
| 903 "required": true, |
| 904 "type": "string" |
| 905 }, |
| 906 "profileId": { |
| 907 "description": "View (Profile) ID to retriev
e the experiment for.", |
| 908 "location": "path", |
| 909 "required": true, |
| 910 "type": "string" |
| 911 }, |
| 912 "webPropertyId": { |
| 913 "description": "Web property ID to retrieve
the experiment for.", |
| 914 "location": "path", |
| 915 "required": true, |
| 916 "type": "string" |
| 917 } |
| 918 }, |
| 919 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", |
| 920 "response": { |
| 921 "$ref": "Experiment" |
| 922 }, |
| 923 "scopes": [ |
| 924 "https://www.googleapis.com/auth/analytics", |
| 925 "https://www.googleapis.com/auth/analytics.edit"
, |
| 926 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 927 ] |
| 928 }, |
| 929 "insert": { |
| 930 "description": "Create a new experiment.", |
| 931 "httpMethod": "POST", |
| 932 "id": "analytics.management.experiments.insert", |
| 933 "parameterOrder": [ |
| 934 "accountId", |
| 935 "webPropertyId", |
| 936 "profileId" |
| 937 ], |
| 938 "parameters": { |
| 939 "accountId": { |
| 940 "description": "Account ID to create the exp
eriment for.", |
| 941 "location": "path", |
| 942 "required": true, |
| 943 "type": "string" |
| 944 }, |
| 945 "profileId": { |
| 946 "description": "View (Profile) ID to create
the experiment for.", |
| 947 "location": "path", |
| 948 "required": true, |
| 949 "type": "string" |
| 950 }, |
| 951 "webPropertyId": { |
| 952 "description": "Web property ID to create th
e experiment for.", |
| 953 "location": "path", |
| 954 "required": true, |
| 955 "type": "string" |
| 956 } |
| 957 }, |
| 958 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/experiments", |
| 959 "request": { |
| 960 "$ref": "Experiment" |
| 961 }, |
| 962 "response": { |
| 963 "$ref": "Experiment" |
| 964 }, |
| 965 "scopes": [ |
| 966 "https://www.googleapis.com/auth/analytics", |
| 967 "https://www.googleapis.com/auth/analytics.edit" |
| 968 ] |
| 969 }, |
| 970 "list": { |
| 971 "description": "Lists experiments to which the user
has access.", |
| 972 "httpMethod": "GET", |
| 973 "id": "analytics.management.experiments.list", |
| 974 "parameterOrder": [ |
| 975 "accountId", |
| 976 "webPropertyId", |
| 977 "profileId" |
| 978 ], |
| 979 "parameters": { |
| 980 "accountId": { |
| 981 "description": "Account ID to retrieve exper
iments for.", |
| 982 "location": "path", |
| 983 "pattern": "\\d+", |
| 984 "required": true, |
| 985 "type": "string" |
| 986 }, |
| 987 "max-results": { |
| 988 "description": "The maximum number of experi
ments to include in this response.", |
| 989 "format": "int32", |
| 990 "location": "query", |
| 991 "type": "integer" |
| 992 }, |
| 993 "profileId": { |
| 994 "description": "View (Profile) ID to retriev
e experiments for.", |
| 995 "location": "path", |
| 996 "pattern": "\\d+", |
| 997 "required": true, |
| 998 "type": "string" |
| 999 }, |
| 1000 "start-index": { |
| 1001 "description": "An index of the first experi
ment to retrieve. Use this parameter as a pagination mechanism along with the ma
x-results parameter.", |
| 1002 "format": "int32", |
| 1003 "location": "query", |
| 1004 "minimum": "1", |
| 1005 "type": "integer" |
| 1006 }, |
| 1007 "webPropertyId": { |
| 1008 "description": "Web property ID to retrieve
experiments for.", |
| 1009 "location": "path", |
| 1010 "pattern": "UA-(\\d+)-(\\d+)", |
| 1011 "required": true, |
| 1012 "type": "string" |
| 1013 } |
| 1014 }, |
| 1015 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/experiments", |
| 1016 "response": { |
| 1017 "$ref": "Experiments" |
| 1018 }, |
| 1019 "scopes": [ |
| 1020 "https://www.googleapis.com/auth/analytics", |
| 1021 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1022 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1023 ] |
| 1024 }, |
| 1025 "patch": { |
| 1026 "description": "Update an existing experiment. This
method supports patch semantics.", |
| 1027 "httpMethod": "PATCH", |
| 1028 "id": "analytics.management.experiments.patch", |
| 1029 "parameterOrder": [ |
| 1030 "accountId", |
| 1031 "webPropertyId", |
| 1032 "profileId", |
| 1033 "experimentId" |
| 1034 ], |
| 1035 "parameters": { |
| 1036 "accountId": { |
| 1037 "description": "Account ID of the experiment
to update.", |
| 1038 "location": "path", |
| 1039 "required": true, |
| 1040 "type": "string" |
| 1041 }, |
| 1042 "experimentId": { |
| 1043 "description": "Experiment ID of the experim
ent to update.", |
| 1044 "location": "path", |
| 1045 "required": true, |
| 1046 "type": "string" |
| 1047 }, |
| 1048 "profileId": { |
| 1049 "description": "View (Profile) ID of the exp
eriment to update.", |
| 1050 "location": "path", |
| 1051 "required": true, |
| 1052 "type": "string" |
| 1053 }, |
| 1054 "webPropertyId": { |
| 1055 "description": "Web property ID of the exper
iment to update.", |
| 1056 "location": "path", |
| 1057 "required": true, |
| 1058 "type": "string" |
| 1059 } |
| 1060 }, |
| 1061 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", |
| 1062 "request": { |
| 1063 "$ref": "Experiment" |
| 1064 }, |
| 1065 "response": { |
| 1066 "$ref": "Experiment" |
| 1067 }, |
| 1068 "scopes": [ |
| 1069 "https://www.googleapis.com/auth/analytics", |
| 1070 "https://www.googleapis.com/auth/analytics.edit" |
| 1071 ] |
| 1072 }, |
| 1073 "update": { |
| 1074 "description": "Update an existing experiment.", |
| 1075 "httpMethod": "PUT", |
| 1076 "id": "analytics.management.experiments.update", |
| 1077 "parameterOrder": [ |
| 1078 "accountId", |
| 1079 "webPropertyId", |
| 1080 "profileId", |
| 1081 "experimentId" |
| 1082 ], |
| 1083 "parameters": { |
| 1084 "accountId": { |
| 1085 "description": "Account ID of the experiment
to update.", |
| 1086 "location": "path", |
| 1087 "required": true, |
| 1088 "type": "string" |
| 1089 }, |
| 1090 "experimentId": { |
| 1091 "description": "Experiment ID of the experim
ent to update.", |
| 1092 "location": "path", |
| 1093 "required": true, |
| 1094 "type": "string" |
| 1095 }, |
| 1096 "profileId": { |
| 1097 "description": "View (Profile) ID of the exp
eriment to update.", |
| 1098 "location": "path", |
| 1099 "required": true, |
| 1100 "type": "string" |
| 1101 }, |
| 1102 "webPropertyId": { |
| 1103 "description": "Web property ID of the exper
iment to update.", |
| 1104 "location": "path", |
| 1105 "required": true, |
| 1106 "type": "string" |
| 1107 } |
| 1108 }, |
| 1109 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/experiments/{experimentId}", |
| 1110 "request": { |
| 1111 "$ref": "Experiment" |
| 1112 }, |
| 1113 "response": { |
| 1114 "$ref": "Experiment" |
| 1115 }, |
| 1116 "scopes": [ |
| 1117 "https://www.googleapis.com/auth/analytics", |
| 1118 "https://www.googleapis.com/auth/analytics.edit" |
| 1119 ] |
| 1120 } |
| 1121 } |
| 1122 }, |
| 1123 "filters": { |
| 1124 "methods": { |
| 1125 "delete": { |
| 1126 "description": "Delete a filter.", |
| 1127 "httpMethod": "DELETE", |
| 1128 "id": "analytics.management.filters.delete", |
| 1129 "parameterOrder": [ |
| 1130 "accountId", |
| 1131 "filterId" |
| 1132 ], |
| 1133 "parameters": { |
| 1134 "accountId": { |
| 1135 "description": "Account ID to delete the fil
ter for.", |
| 1136 "location": "path", |
| 1137 "required": true, |
| 1138 "type": "string" |
| 1139 }, |
| 1140 "filterId": { |
| 1141 "description": "ID of the filter to be delet
ed.", |
| 1142 "location": "path", |
| 1143 "required": true, |
| 1144 "type": "string" |
| 1145 } |
| 1146 }, |
| 1147 "path": "management/accounts/{accountId}/filters/{fi
lterId}", |
| 1148 "response": { |
| 1149 "$ref": "Filter" |
| 1150 }, |
| 1151 "scopes": [ |
| 1152 "https://www.googleapis.com/auth/analytics.edit" |
| 1153 ] |
| 1154 }, |
| 1155 "get": { |
| 1156 "description": "Returns a filters to which the user
has access.", |
| 1157 "httpMethod": "GET", |
| 1158 "id": "analytics.management.filters.get", |
| 1159 "parameterOrder": [ |
| 1160 "accountId", |
| 1161 "filterId" |
| 1162 ], |
| 1163 "parameters": { |
| 1164 "accountId": { |
| 1165 "description": "Account ID to retrieve filte
rs for.", |
| 1166 "location": "path", |
| 1167 "required": true, |
| 1168 "type": "string" |
| 1169 }, |
| 1170 "filterId": { |
| 1171 "description": "Filter ID to retrieve filter
s for.", |
| 1172 "location": "path", |
| 1173 "required": true, |
| 1174 "type": "string" |
| 1175 } |
| 1176 }, |
| 1177 "path": "management/accounts/{accountId}/filters/{fi
lterId}", |
| 1178 "response": { |
| 1179 "$ref": "Filter" |
| 1180 }, |
| 1181 "scopes": [ |
| 1182 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1183 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1184 ] |
| 1185 }, |
| 1186 "insert": { |
| 1187 "description": "Create a new filter.", |
| 1188 "httpMethod": "POST", |
| 1189 "id": "analytics.management.filters.insert", |
| 1190 "parameterOrder": [ |
| 1191 "accountId" |
| 1192 ], |
| 1193 "parameters": { |
| 1194 "accountId": { |
| 1195 "description": "Account ID to create filter
for.", |
| 1196 "location": "path", |
| 1197 "required": true, |
| 1198 "type": "string" |
| 1199 } |
| 1200 }, |
| 1201 "path": "management/accounts/{accountId}/filters", |
| 1202 "request": { |
| 1203 "$ref": "Filter" |
| 1204 }, |
| 1205 "response": { |
| 1206 "$ref": "Filter" |
| 1207 }, |
| 1208 "scopes": [ |
| 1209 "https://www.googleapis.com/auth/analytics.edit" |
| 1210 ] |
| 1211 }, |
| 1212 "list": { |
| 1213 "description": "Lists all filters for an account", |
| 1214 "httpMethod": "GET", |
| 1215 "id": "analytics.management.filters.list", |
| 1216 "parameterOrder": [ |
| 1217 "accountId" |
| 1218 ], |
| 1219 "parameters": { |
| 1220 "accountId": { |
| 1221 "description": "Account ID to retrieve filte
rs for.", |
| 1222 "location": "path", |
| 1223 "pattern": "\\d+", |
| 1224 "required": true, |
| 1225 "type": "string" |
| 1226 }, |
| 1227 "max-results": { |
| 1228 "description": "The maximum number of filter
s to include in this response.", |
| 1229 "format": "int32", |
| 1230 "location": "query", |
| 1231 "type": "integer" |
| 1232 }, |
| 1233 "start-index": { |
| 1234 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 1235 "format": "int32", |
| 1236 "location": "query", |
| 1237 "minimum": "1", |
| 1238 "type": "integer" |
| 1239 } |
| 1240 }, |
| 1241 "path": "management/accounts/{accountId}/filters", |
| 1242 "response": { |
| 1243 "$ref": "Filters" |
| 1244 }, |
| 1245 "scopes": [ |
| 1246 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1247 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1248 ] |
| 1249 }, |
| 1250 "patch": { |
| 1251 "description": "Updates an existing filter. This met
hod supports patch semantics.", |
| 1252 "httpMethod": "PATCH", |
| 1253 "id": "analytics.management.filters.patch", |
| 1254 "parameterOrder": [ |
| 1255 "accountId", |
| 1256 "filterId" |
| 1257 ], |
| 1258 "parameters": { |
| 1259 "accountId": { |
| 1260 "description": "Account ID to which the filt
er belongs.", |
| 1261 "location": "path", |
| 1262 "required": true, |
| 1263 "type": "string" |
| 1264 }, |
| 1265 "filterId": { |
| 1266 "description": "ID of the filter to be updat
ed.", |
| 1267 "location": "path", |
| 1268 "required": true, |
| 1269 "type": "string" |
| 1270 } |
| 1271 }, |
| 1272 "path": "management/accounts/{accountId}/filters/{fi
lterId}", |
| 1273 "request": { |
| 1274 "$ref": "Filter" |
| 1275 }, |
| 1276 "response": { |
| 1277 "$ref": "Filter" |
| 1278 }, |
| 1279 "scopes": [ |
| 1280 "https://www.googleapis.com/auth/analytics.edit" |
| 1281 ] |
| 1282 }, |
| 1283 "update": { |
| 1284 "description": "Updates an existing filter.", |
| 1285 "httpMethod": "PUT", |
| 1286 "id": "analytics.management.filters.update", |
| 1287 "parameterOrder": [ |
| 1288 "accountId", |
| 1289 "filterId" |
| 1290 ], |
| 1291 "parameters": { |
| 1292 "accountId": { |
| 1293 "description": "Account ID to which the filt
er belongs.", |
| 1294 "location": "path", |
| 1295 "required": true, |
| 1296 "type": "string" |
| 1297 }, |
| 1298 "filterId": { |
| 1299 "description": "ID of the filter to be updat
ed.", |
| 1300 "location": "path", |
| 1301 "required": true, |
| 1302 "type": "string" |
| 1303 } |
| 1304 }, |
| 1305 "path": "management/accounts/{accountId}/filters/{fi
lterId}", |
| 1306 "request": { |
| 1307 "$ref": "Filter" |
| 1308 }, |
| 1309 "response": { |
| 1310 "$ref": "Filter" |
| 1311 }, |
| 1312 "scopes": [ |
| 1313 "https://www.googleapis.com/auth/analytics.edit" |
| 1314 ] |
| 1315 } |
| 1316 } |
| 1317 }, |
| 1318 "goals": { |
| 1319 "methods": { |
| 1320 "get": { |
| 1321 "description": "Gets a goal to which the user has ac
cess.", |
| 1322 "httpMethod": "GET", |
| 1323 "id": "analytics.management.goals.get", |
| 1324 "parameterOrder": [ |
| 1325 "accountId", |
| 1326 "webPropertyId", |
| 1327 "profileId", |
| 1328 "goalId" |
| 1329 ], |
| 1330 "parameters": { |
| 1331 "accountId": { |
| 1332 "description": "Account ID to retrieve the g
oal for.", |
| 1333 "location": "path", |
| 1334 "required": true, |
| 1335 "type": "string" |
| 1336 }, |
| 1337 "goalId": { |
| 1338 "description": "Goal ID to retrieve the goal
for.", |
| 1339 "location": "path", |
| 1340 "required": true, |
| 1341 "type": "string" |
| 1342 }, |
| 1343 "profileId": { |
| 1344 "description": "View (Profile) ID to retriev
e the goal for.", |
| 1345 "location": "path", |
| 1346 "required": true, |
| 1347 "type": "string" |
| 1348 }, |
| 1349 "webPropertyId": { |
| 1350 "description": "Web property ID to retrieve
the goal for.", |
| 1351 "location": "path", |
| 1352 "required": true, |
| 1353 "type": "string" |
| 1354 } |
| 1355 }, |
| 1356 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/goals/{goalId}", |
| 1357 "response": { |
| 1358 "$ref": "Goal" |
| 1359 }, |
| 1360 "scopes": [ |
| 1361 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1362 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1363 ] |
| 1364 }, |
| 1365 "insert": { |
| 1366 "description": "Create a new goal.", |
| 1367 "httpMethod": "POST", |
| 1368 "id": "analytics.management.goals.insert", |
| 1369 "parameterOrder": [ |
| 1370 "accountId", |
| 1371 "webPropertyId", |
| 1372 "profileId" |
| 1373 ], |
| 1374 "parameters": { |
| 1375 "accountId": { |
| 1376 "description": "Account ID to create the goa
l for.", |
| 1377 "location": "path", |
| 1378 "required": true, |
| 1379 "type": "string" |
| 1380 }, |
| 1381 "profileId": { |
| 1382 "description": "View (Profile) ID to create
the goal for.", |
| 1383 "location": "path", |
| 1384 "required": true, |
| 1385 "type": "string" |
| 1386 }, |
| 1387 "webPropertyId": { |
| 1388 "description": "Web property ID to create th
e goal for.", |
| 1389 "location": "path", |
| 1390 "required": true, |
| 1391 "type": "string" |
| 1392 } |
| 1393 }, |
| 1394 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/goals", |
| 1395 "request": { |
| 1396 "$ref": "Goal" |
| 1397 }, |
| 1398 "response": { |
| 1399 "$ref": "Goal" |
| 1400 }, |
| 1401 "scopes": [ |
| 1402 "https://www.googleapis.com/auth/analytics.edit" |
| 1403 ] |
| 1404 }, |
| 1405 "list": { |
| 1406 "description": "Lists goals to which the user has ac
cess.", |
| 1407 "httpMethod": "GET", |
| 1408 "id": "analytics.management.goals.list", |
| 1409 "parameterOrder": [ |
| 1410 "accountId", |
| 1411 "webPropertyId", |
| 1412 "profileId" |
| 1413 ], |
| 1414 "parameters": { |
| 1415 "accountId": { |
| 1416 "description": "Account ID to retrieve goals
for. Can either be a specific account ID or '~all', which refers to all the acc
ounts that user has access to.", |
| 1417 "location": "path", |
| 1418 "required": true, |
| 1419 "type": "string" |
| 1420 }, |
| 1421 "max-results": { |
| 1422 "description": "The maximum number of goals
to include in this response.", |
| 1423 "format": "int32", |
| 1424 "location": "query", |
| 1425 "type": "integer" |
| 1426 }, |
| 1427 "profileId": { |
| 1428 "description": "View (Profile) ID to retriev
e goals for. Can either be a specific view (profile) ID or '~all', which refers
to all the views (profiles) that user has access to.", |
| 1429 "location": "path", |
| 1430 "required": true, |
| 1431 "type": "string" |
| 1432 }, |
| 1433 "start-index": { |
| 1434 "description": "An index of the first goal t
o retrieve. Use this parameter as a pagination mechanism along with the max-resu
lts parameter.", |
| 1435 "format": "int32", |
| 1436 "location": "query", |
| 1437 "minimum": "1", |
| 1438 "type": "integer" |
| 1439 }, |
| 1440 "webPropertyId": { |
| 1441 "description": "Web property ID to retrieve
goals for. Can either be a specific web property ID or '~all', which refers to a
ll the web properties that user has access to.", |
| 1442 "location": "path", |
| 1443 "required": true, |
| 1444 "type": "string" |
| 1445 } |
| 1446 }, |
| 1447 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/goals", |
| 1448 "response": { |
| 1449 "$ref": "Goals" |
| 1450 }, |
| 1451 "scopes": [ |
| 1452 "https://www.googleapis.com/auth/analytics", |
| 1453 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1454 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1455 ] |
| 1456 }, |
| 1457 "patch": { |
| 1458 "description": "Updates an existing view (profile).
This method supports patch semantics.", |
| 1459 "httpMethod": "PATCH", |
| 1460 "id": "analytics.management.goals.patch", |
| 1461 "parameterOrder": [ |
| 1462 "accountId", |
| 1463 "webPropertyId", |
| 1464 "profileId", |
| 1465 "goalId" |
| 1466 ], |
| 1467 "parameters": { |
| 1468 "accountId": { |
| 1469 "description": "Account ID to update the goa
l.", |
| 1470 "location": "path", |
| 1471 "required": true, |
| 1472 "type": "string" |
| 1473 }, |
| 1474 "goalId": { |
| 1475 "description": "Index of the goal to be upda
ted.", |
| 1476 "location": "path", |
| 1477 "required": true, |
| 1478 "type": "string" |
| 1479 }, |
| 1480 "profileId": { |
| 1481 "description": "View (Profile) ID to update
the goal.", |
| 1482 "location": "path", |
| 1483 "required": true, |
| 1484 "type": "string" |
| 1485 }, |
| 1486 "webPropertyId": { |
| 1487 "description": "Web property ID to update th
e goal.", |
| 1488 "location": "path", |
| 1489 "required": true, |
| 1490 "type": "string" |
| 1491 } |
| 1492 }, |
| 1493 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/goals/{goalId}", |
| 1494 "request": { |
| 1495 "$ref": "Goal" |
| 1496 }, |
| 1497 "response": { |
| 1498 "$ref": "Goal" |
| 1499 }, |
| 1500 "scopes": [ |
| 1501 "https://www.googleapis.com/auth/analytics.edit" |
| 1502 ] |
| 1503 }, |
| 1504 "update": { |
| 1505 "description": "Updates an existing view (profile)."
, |
| 1506 "httpMethod": "PUT", |
| 1507 "id": "analytics.management.goals.update", |
| 1508 "parameterOrder": [ |
| 1509 "accountId", |
| 1510 "webPropertyId", |
| 1511 "profileId", |
| 1512 "goalId" |
| 1513 ], |
| 1514 "parameters": { |
| 1515 "accountId": { |
| 1516 "description": "Account ID to update the goa
l.", |
| 1517 "location": "path", |
| 1518 "required": true, |
| 1519 "type": "string" |
| 1520 }, |
| 1521 "goalId": { |
| 1522 "description": "Index of the goal to be upda
ted.", |
| 1523 "location": "path", |
| 1524 "required": true, |
| 1525 "type": "string" |
| 1526 }, |
| 1527 "profileId": { |
| 1528 "description": "View (Profile) ID to update
the goal.", |
| 1529 "location": "path", |
| 1530 "required": true, |
| 1531 "type": "string" |
| 1532 }, |
| 1533 "webPropertyId": { |
| 1534 "description": "Web property ID to update th
e goal.", |
| 1535 "location": "path", |
| 1536 "required": true, |
| 1537 "type": "string" |
| 1538 } |
| 1539 }, |
| 1540 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/goals/{goalId}", |
| 1541 "request": { |
| 1542 "$ref": "Goal" |
| 1543 }, |
| 1544 "response": { |
| 1545 "$ref": "Goal" |
| 1546 }, |
| 1547 "scopes": [ |
| 1548 "https://www.googleapis.com/auth/analytics.edit" |
| 1549 ] |
| 1550 } |
| 1551 } |
| 1552 }, |
| 1553 "profileFilterLinks": { |
| 1554 "methods": { |
| 1555 "delete": { |
| 1556 "description": "Delete a profile filter link.", |
| 1557 "httpMethod": "DELETE", |
| 1558 "id": "analytics.management.profileFilterLinks.delet
e", |
| 1559 "parameterOrder": [ |
| 1560 "accountId", |
| 1561 "webPropertyId", |
| 1562 "profileId", |
| 1563 "linkId" |
| 1564 ], |
| 1565 "parameters": { |
| 1566 "accountId": { |
| 1567 "description": "Account ID to which the prof
ile filter link belongs.", |
| 1568 "location": "path", |
| 1569 "pattern": "\\d+", |
| 1570 "required": true, |
| 1571 "type": "string" |
| 1572 }, |
| 1573 "linkId": { |
| 1574 "description": "ID of the profile filter lin
k to delete.", |
| 1575 "location": "path", |
| 1576 "pattern": "\\d+:\\d+", |
| 1577 "required": true, |
| 1578 "type": "string" |
| 1579 }, |
| 1580 "profileId": { |
| 1581 "description": "Profile ID to which the filt
er link belongs.", |
| 1582 "location": "path", |
| 1583 "pattern": "\\d+", |
| 1584 "required": true, |
| 1585 "type": "string" |
| 1586 }, |
| 1587 "webPropertyId": { |
| 1588 "description": "Web property Id to which the
profile filter link belongs.", |
| 1589 "location": "path", |
| 1590 "pattern": "UA-(\\d+)-(\\d+)", |
| 1591 "required": true, |
| 1592 "type": "string" |
| 1593 } |
| 1594 }, |
| 1595 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", |
| 1596 "scopes": [ |
| 1597 "https://www.googleapis.com/auth/analytics.edit" |
| 1598 ] |
| 1599 }, |
| 1600 "get": { |
| 1601 "description": "Returns a single profile filter link
.", |
| 1602 "httpMethod": "GET", |
| 1603 "id": "analytics.management.profileFilterLinks.get", |
| 1604 "parameterOrder": [ |
| 1605 "accountId", |
| 1606 "webPropertyId", |
| 1607 "profileId", |
| 1608 "linkId" |
| 1609 ], |
| 1610 "parameters": { |
| 1611 "accountId": { |
| 1612 "description": "Account ID to retrieve profi
le filter link for.", |
| 1613 "location": "path", |
| 1614 "pattern": "\\d+", |
| 1615 "required": true, |
| 1616 "type": "string" |
| 1617 }, |
| 1618 "linkId": { |
| 1619 "description": "ID of the profile filter lin
k.", |
| 1620 "location": "path", |
| 1621 "pattern": "\\d+:\\d+", |
| 1622 "required": true, |
| 1623 "type": "string" |
| 1624 }, |
| 1625 "profileId": { |
| 1626 "description": "Profile ID to retrieve filte
r link for.", |
| 1627 "location": "path", |
| 1628 "pattern": "\\d+", |
| 1629 "required": true, |
| 1630 "type": "string" |
| 1631 }, |
| 1632 "webPropertyId": { |
| 1633 "description": "Web property Id to retrieve
profile filter link for.", |
| 1634 "location": "path", |
| 1635 "pattern": "UA-(\\d+)-(\\d+)", |
| 1636 "required": true, |
| 1637 "type": "string" |
| 1638 } |
| 1639 }, |
| 1640 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", |
| 1641 "response": { |
| 1642 "$ref": "ProfileFilterLink" |
| 1643 }, |
| 1644 "scopes": [ |
| 1645 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1646 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1647 ] |
| 1648 }, |
| 1649 "insert": { |
| 1650 "description": "Create a new profile filter link.", |
| 1651 "httpMethod": "POST", |
| 1652 "id": "analytics.management.profileFilterLinks.inser
t", |
| 1653 "parameterOrder": [ |
| 1654 "accountId", |
| 1655 "webPropertyId", |
| 1656 "profileId" |
| 1657 ], |
| 1658 "parameters": { |
| 1659 "accountId": { |
| 1660 "description": "Account ID to create profile
filter link for.", |
| 1661 "location": "path", |
| 1662 "pattern": "\\d+", |
| 1663 "required": true, |
| 1664 "type": "string" |
| 1665 }, |
| 1666 "profileId": { |
| 1667 "description": "Profile ID to create filter
link for.", |
| 1668 "location": "path", |
| 1669 "pattern": "\\d+", |
| 1670 "required": true, |
| 1671 "type": "string" |
| 1672 }, |
| 1673 "webPropertyId": { |
| 1674 "description": "Web property Id to create pr
ofile filter link for.", |
| 1675 "location": "path", |
| 1676 "pattern": "UA-(\\d+)-(\\d+)", |
| 1677 "required": true, |
| 1678 "type": "string" |
| 1679 } |
| 1680 }, |
| 1681 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/profileFilterLinks", |
| 1682 "request": { |
| 1683 "$ref": "ProfileFilterLink" |
| 1684 }, |
| 1685 "response": { |
| 1686 "$ref": "ProfileFilterLink" |
| 1687 }, |
| 1688 "scopes": [ |
| 1689 "https://www.googleapis.com/auth/analytics.edit" |
| 1690 ] |
| 1691 }, |
| 1692 "list": { |
| 1693 "description": "Lists all profile filter links for a
profile.", |
| 1694 "httpMethod": "GET", |
| 1695 "id": "analytics.management.profileFilterLinks.list"
, |
| 1696 "parameterOrder": [ |
| 1697 "accountId", |
| 1698 "webPropertyId", |
| 1699 "profileId" |
| 1700 ], |
| 1701 "parameters": { |
| 1702 "accountId": { |
| 1703 "description": "Account ID to retrieve profi
le filter links for.", |
| 1704 "location": "path", |
| 1705 "pattern": "\\d+", |
| 1706 "required": true, |
| 1707 "type": "string" |
| 1708 }, |
| 1709 "max-results": { |
| 1710 "description": "The maximum number of profil
e filter links to include in this response.", |
| 1711 "format": "int32", |
| 1712 "location": "query", |
| 1713 "type": "integer" |
| 1714 }, |
| 1715 "profileId": { |
| 1716 "description": "Profile ID to retrieve filte
r links for. Can either be a specific profile ID or '~all', which refers to all
the profiles that user has access to.", |
| 1717 "location": "path", |
| 1718 "required": true, |
| 1719 "type": "string" |
| 1720 }, |
| 1721 "start-index": { |
| 1722 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 1723 "format": "int32", |
| 1724 "location": "query", |
| 1725 "minimum": "1", |
| 1726 "type": "integer" |
| 1727 }, |
| 1728 "webPropertyId": { |
| 1729 "description": "Web property Id for profile
filter links for. Can either be a specific web property ID or '~all', which refe
rs to all the web properties that user has access to.", |
| 1730 "location": "path", |
| 1731 "required": true, |
| 1732 "type": "string" |
| 1733 } |
| 1734 }, |
| 1735 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/profileFilterLinks", |
| 1736 "response": { |
| 1737 "$ref": "ProfileFilterLinks" |
| 1738 }, |
| 1739 "scopes": [ |
| 1740 "https://www.googleapis.com/auth/analytics.edit"
, |
| 1741 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 1742 ] |
| 1743 }, |
| 1744 "patch": { |
| 1745 "description": "Update an existing profile filter li
nk. This method supports patch semantics.", |
| 1746 "httpMethod": "PATCH", |
| 1747 "id": "analytics.management.profileFilterLinks.patch
", |
| 1748 "parameterOrder": [ |
| 1749 "accountId", |
| 1750 "webPropertyId", |
| 1751 "profileId", |
| 1752 "linkId" |
| 1753 ], |
| 1754 "parameters": { |
| 1755 "accountId": { |
| 1756 "description": "Account ID to which profile
filter link belongs.", |
| 1757 "location": "path", |
| 1758 "pattern": "\\d+", |
| 1759 "required": true, |
| 1760 "type": "string" |
| 1761 }, |
| 1762 "linkId": { |
| 1763 "description": "ID of the profile filter lin
k to be updated.", |
| 1764 "location": "path", |
| 1765 "pattern": "\\d+:\\d+", |
| 1766 "required": true, |
| 1767 "type": "string" |
| 1768 }, |
| 1769 "profileId": { |
| 1770 "description": "Profile ID to which filter l
ink belongs", |
| 1771 "location": "path", |
| 1772 "pattern": "\\d+", |
| 1773 "required": true, |
| 1774 "type": "string" |
| 1775 }, |
| 1776 "webPropertyId": { |
| 1777 "description": "Web property Id to which pro
file filter link belongs", |
| 1778 "location": "path", |
| 1779 "pattern": "UA-(\\d+)-(\\d+)", |
| 1780 "required": true, |
| 1781 "type": "string" |
| 1782 } |
| 1783 }, |
| 1784 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", |
| 1785 "request": { |
| 1786 "$ref": "ProfileFilterLink" |
| 1787 }, |
| 1788 "response": { |
| 1789 "$ref": "ProfileFilterLink" |
| 1790 }, |
| 1791 "scopes": [ |
| 1792 "https://www.googleapis.com/auth/analytics.edit" |
| 1793 ] |
| 1794 }, |
| 1795 "update": { |
| 1796 "description": "Update an existing profile filter li
nk.", |
| 1797 "httpMethod": "PUT", |
| 1798 "id": "analytics.management.profileFilterLinks.updat
e", |
| 1799 "parameterOrder": [ |
| 1800 "accountId", |
| 1801 "webPropertyId", |
| 1802 "profileId", |
| 1803 "linkId" |
| 1804 ], |
| 1805 "parameters": { |
| 1806 "accountId": { |
| 1807 "description": "Account ID to which profile
filter link belongs.", |
| 1808 "location": "path", |
| 1809 "pattern": "\\d+", |
| 1810 "required": true, |
| 1811 "type": "string" |
| 1812 }, |
| 1813 "linkId": { |
| 1814 "description": "ID of the profile filter lin
k to be updated.", |
| 1815 "location": "path", |
| 1816 "pattern": "\\d+:\\d+", |
| 1817 "required": true, |
| 1818 "type": "string" |
| 1819 }, |
| 1820 "profileId": { |
| 1821 "description": "Profile ID to which filter l
ink belongs", |
| 1822 "location": "path", |
| 1823 "pattern": "\\d+", |
| 1824 "required": true, |
| 1825 "type": "string" |
| 1826 }, |
| 1827 "webPropertyId": { |
| 1828 "description": "Web property Id to which pro
file filter link belongs", |
| 1829 "location": "path", |
| 1830 "pattern": "UA-(\\d+)-(\\d+)", |
| 1831 "required": true, |
| 1832 "type": "string" |
| 1833 } |
| 1834 }, |
| 1835 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/profileFilterLinks/{linkId}", |
| 1836 "request": { |
| 1837 "$ref": "ProfileFilterLink" |
| 1838 }, |
| 1839 "response": { |
| 1840 "$ref": "ProfileFilterLink" |
| 1841 }, |
| 1842 "scopes": [ |
| 1843 "https://www.googleapis.com/auth/analytics.edit" |
| 1844 ] |
| 1845 } |
| 1846 } |
| 1847 }, |
| 1848 "profileUserLinks": { |
| 1849 "methods": { |
| 1850 "delete": { |
| 1851 "description": "Removes a user from the given view (
profile).", |
| 1852 "httpMethod": "DELETE", |
| 1853 "id": "analytics.management.profileUserLinks.delete"
, |
| 1854 "parameterOrder": [ |
| 1855 "accountId", |
| 1856 "webPropertyId", |
| 1857 "profileId", |
| 1858 "linkId" |
| 1859 ], |
| 1860 "parameters": { |
| 1861 "accountId": { |
| 1862 "description": "Account ID to delete the use
r link for.", |
| 1863 "location": "path", |
| 1864 "required": true, |
| 1865 "type": "string" |
| 1866 }, |
| 1867 "linkId": { |
| 1868 "description": "Link ID to delete the user l
ink for.", |
| 1869 "location": "path", |
| 1870 "required": true, |
| 1871 "type": "string" |
| 1872 }, |
| 1873 "profileId": { |
| 1874 "description": "View (Profile) ID to delete
the user link for.", |
| 1875 "location": "path", |
| 1876 "required": true, |
| 1877 "type": "string" |
| 1878 }, |
| 1879 "webPropertyId": { |
| 1880 "description": "Web Property ID to delete th
e user link for.", |
| 1881 "location": "path", |
| 1882 "required": true, |
| 1883 "type": "string" |
| 1884 } |
| 1885 }, |
| 1886 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", |
| 1887 "scopes": [ |
| 1888 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 1889 ] |
| 1890 }, |
| 1891 "insert": { |
| 1892 "description": "Adds a new user to the given view (p
rofile).", |
| 1893 "httpMethod": "POST", |
| 1894 "id": "analytics.management.profileUserLinks.insert"
, |
| 1895 "parameterOrder": [ |
| 1896 "accountId", |
| 1897 "webPropertyId", |
| 1898 "profileId" |
| 1899 ], |
| 1900 "parameters": { |
| 1901 "accountId": { |
| 1902 "description": "Account ID to create the use
r link for.", |
| 1903 "location": "path", |
| 1904 "required": true, |
| 1905 "type": "string" |
| 1906 }, |
| 1907 "profileId": { |
| 1908 "description": "View (Profile) ID to create
the user link for.", |
| 1909 "location": "path", |
| 1910 "required": true, |
| 1911 "type": "string" |
| 1912 }, |
| 1913 "webPropertyId": { |
| 1914 "description": "Web Property ID to create th
e user link for.", |
| 1915 "location": "path", |
| 1916 "required": true, |
| 1917 "type": "string" |
| 1918 } |
| 1919 }, |
| 1920 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/entityUserLinks", |
| 1921 "request": { |
| 1922 "$ref": "EntityUserLink" |
| 1923 }, |
| 1924 "response": { |
| 1925 "$ref": "EntityUserLink" |
| 1926 }, |
| 1927 "scopes": [ |
| 1928 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 1929 ] |
| 1930 }, |
| 1931 "list": { |
| 1932 "description": "Lists profile-user links for a given
view (profile).", |
| 1933 "httpMethod": "GET", |
| 1934 "id": "analytics.management.profileUserLinks.list", |
| 1935 "parameterOrder": [ |
| 1936 "accountId", |
| 1937 "webPropertyId", |
| 1938 "profileId" |
| 1939 ], |
| 1940 "parameters": { |
| 1941 "accountId": { |
| 1942 "description": "Account ID which the given v
iew (profile) belongs to.", |
| 1943 "location": "path", |
| 1944 "required": true, |
| 1945 "type": "string" |
| 1946 }, |
| 1947 "max-results": { |
| 1948 "description": "The maximum number of profil
e-user links to include in this response.", |
| 1949 "format": "int32", |
| 1950 "location": "query", |
| 1951 "type": "integer" |
| 1952 }, |
| 1953 "profileId": { |
| 1954 "description": "View (Profile) ID to retriev
e the profile-user links for. Can either be a specific profile ID or '~all', whi
ch refers to all the profiles that user has access to.", |
| 1955 "location": "path", |
| 1956 "required": true, |
| 1957 "type": "string" |
| 1958 }, |
| 1959 "start-index": { |
| 1960 "description": "An index of the first profil
e-user link to retrieve. Use this parameter as a pagination mechanism along with
the max-results parameter.", |
| 1961 "format": "int32", |
| 1962 "location": "query", |
| 1963 "minimum": "1", |
| 1964 "type": "integer" |
| 1965 }, |
| 1966 "webPropertyId": { |
| 1967 "description": "Web Property ID which the gi
ven view (profile) belongs to. Can either be a specific web property ID or '~all
', which refers to all the web properties that user has access to.", |
| 1968 "location": "path", |
| 1969 "required": true, |
| 1970 "type": "string" |
| 1971 } |
| 1972 }, |
| 1973 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/entityUserLinks", |
| 1974 "response": { |
| 1975 "$ref": "EntityUserLinks" |
| 1976 }, |
| 1977 "scopes": [ |
| 1978 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 1979 ] |
| 1980 }, |
| 1981 "update": { |
| 1982 "description": "Updates permissions for an existing
user on the given view (profile).", |
| 1983 "httpMethod": "PUT", |
| 1984 "id": "analytics.management.profileUserLinks.update"
, |
| 1985 "parameterOrder": [ |
| 1986 "accountId", |
| 1987 "webPropertyId", |
| 1988 "profileId", |
| 1989 "linkId" |
| 1990 ], |
| 1991 "parameters": { |
| 1992 "accountId": { |
| 1993 "description": "Account ID to update the use
r link for.", |
| 1994 "location": "path", |
| 1995 "required": true, |
| 1996 "type": "string" |
| 1997 }, |
| 1998 "linkId": { |
| 1999 "description": "Link ID to update the user l
ink for.", |
| 2000 "location": "path", |
| 2001 "required": true, |
| 2002 "type": "string" |
| 2003 }, |
| 2004 "profileId": { |
| 2005 "description": "View (Profile ID) to update
the user link for.", |
| 2006 "location": "path", |
| 2007 "required": true, |
| 2008 "type": "string" |
| 2009 }, |
| 2010 "webPropertyId": { |
| 2011 "description": "Web Property ID to update th
e user link for.", |
| 2012 "location": "path", |
| 2013 "required": true, |
| 2014 "type": "string" |
| 2015 } |
| 2016 }, |
| 2017 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/entityUserLinks/{linkId}", |
| 2018 "request": { |
| 2019 "$ref": "EntityUserLink" |
| 2020 }, |
| 2021 "response": { |
| 2022 "$ref": "EntityUserLink" |
| 2023 }, |
| 2024 "scopes": [ |
| 2025 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 2026 ] |
| 2027 } |
| 2028 } |
| 2029 }, |
| 2030 "profiles": { |
| 2031 "methods": { |
| 2032 "delete": { |
| 2033 "description": "Deletes a view (profile).", |
| 2034 "httpMethod": "DELETE", |
| 2035 "id": "analytics.management.profiles.delete", |
| 2036 "parameterOrder": [ |
| 2037 "accountId", |
| 2038 "webPropertyId", |
| 2039 "profileId" |
| 2040 ], |
| 2041 "parameters": { |
| 2042 "accountId": { |
| 2043 "description": "Account ID to delete the vie
w (profile) for.", |
| 2044 "location": "path", |
| 2045 "required": true, |
| 2046 "type": "string" |
| 2047 }, |
| 2048 "profileId": { |
| 2049 "description": "ID of the view (profile) to
be deleted.", |
| 2050 "location": "path", |
| 2051 "required": true, |
| 2052 "type": "string" |
| 2053 }, |
| 2054 "webPropertyId": { |
| 2055 "description": "Web property ID to delete th
e view (profile) for.", |
| 2056 "location": "path", |
| 2057 "required": true, |
| 2058 "type": "string" |
| 2059 } |
| 2060 }, |
| 2061 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}", |
| 2062 "scopes": [ |
| 2063 "https://www.googleapis.com/auth/analytics.edit" |
| 2064 ] |
| 2065 }, |
| 2066 "get": { |
| 2067 "description": "Gets a view (profile) to which the u
ser has access.", |
| 2068 "httpMethod": "GET", |
| 2069 "id": "analytics.management.profiles.get", |
| 2070 "parameterOrder": [ |
| 2071 "accountId", |
| 2072 "webPropertyId", |
| 2073 "profileId" |
| 2074 ], |
| 2075 "parameters": { |
| 2076 "accountId": { |
| 2077 "description": "Account ID to retrieve the g
oal for.", |
| 2078 "location": "path", |
| 2079 "pattern": "[0-9]+", |
| 2080 "required": true, |
| 2081 "type": "string" |
| 2082 }, |
| 2083 "profileId": { |
| 2084 "description": "View (Profile) ID to retriev
e the goal for.", |
| 2085 "location": "path", |
| 2086 "pattern": "[0-9]+", |
| 2087 "required": true, |
| 2088 "type": "string" |
| 2089 }, |
| 2090 "webPropertyId": { |
| 2091 "description": "Web property ID to retrieve
the goal for.", |
| 2092 "location": "path", |
| 2093 "pattern": "UA-[0-9]+-[0-9]+", |
| 2094 "required": true, |
| 2095 "type": "string" |
| 2096 } |
| 2097 }, |
| 2098 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}", |
| 2099 "response": { |
| 2100 "$ref": "Profile" |
| 2101 }, |
| 2102 "scopes": [ |
| 2103 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2104 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2105 ] |
| 2106 }, |
| 2107 "insert": { |
| 2108 "description": "Create a new view (profile).", |
| 2109 "httpMethod": "POST", |
| 2110 "id": "analytics.management.profiles.insert", |
| 2111 "parameterOrder": [ |
| 2112 "accountId", |
| 2113 "webPropertyId" |
| 2114 ], |
| 2115 "parameters": { |
| 2116 "accountId": { |
| 2117 "description": "Account ID to create the vie
w (profile) for.", |
| 2118 "location": "path", |
| 2119 "required": true, |
| 2120 "type": "string" |
| 2121 }, |
| 2122 "webPropertyId": { |
| 2123 "description": "Web property ID to create th
e view (profile) for.", |
| 2124 "location": "path", |
| 2125 "required": true, |
| 2126 "type": "string" |
| 2127 } |
| 2128 }, |
| 2129 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles", |
| 2130 "request": { |
| 2131 "$ref": "Profile" |
| 2132 }, |
| 2133 "response": { |
| 2134 "$ref": "Profile" |
| 2135 }, |
| 2136 "scopes": [ |
| 2137 "https://www.googleapis.com/auth/analytics.edit" |
| 2138 ] |
| 2139 }, |
| 2140 "list": { |
| 2141 "description": "Lists views (profiles) to which the
user has access.", |
| 2142 "httpMethod": "GET", |
| 2143 "id": "analytics.management.profiles.list", |
| 2144 "parameterOrder": [ |
| 2145 "accountId", |
| 2146 "webPropertyId" |
| 2147 ], |
| 2148 "parameters": { |
| 2149 "accountId": { |
| 2150 "description": "Account ID for the view (pro
files) to retrieve. Can either be a specific account ID or '~all', which refers
to all the accounts to which the user has access.", |
| 2151 "location": "path", |
| 2152 "required": true, |
| 2153 "type": "string" |
| 2154 }, |
| 2155 "max-results": { |
| 2156 "description": "The maximum number of views
(profiles) to include in this response.", |
| 2157 "format": "int32", |
| 2158 "location": "query", |
| 2159 "type": "integer" |
| 2160 }, |
| 2161 "start-index": { |
| 2162 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 2163 "format": "int32", |
| 2164 "location": "query", |
| 2165 "minimum": "1", |
| 2166 "type": "integer" |
| 2167 }, |
| 2168 "webPropertyId": { |
| 2169 "description": "Web property ID for the view
s (profiles) to retrieve. Can either be a specific web property ID or '~all', wh
ich refers to all the web properties to which the user has access.", |
| 2170 "location": "path", |
| 2171 "required": true, |
| 2172 "type": "string" |
| 2173 } |
| 2174 }, |
| 2175 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles", |
| 2176 "response": { |
| 2177 "$ref": "Profiles" |
| 2178 }, |
| 2179 "scopes": [ |
| 2180 "https://www.googleapis.com/auth/analytics", |
| 2181 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2182 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2183 ] |
| 2184 }, |
| 2185 "patch": { |
| 2186 "description": "Updates an existing view (profile).
This method supports patch semantics.", |
| 2187 "httpMethod": "PATCH", |
| 2188 "id": "analytics.management.profiles.patch", |
| 2189 "parameterOrder": [ |
| 2190 "accountId", |
| 2191 "webPropertyId", |
| 2192 "profileId" |
| 2193 ], |
| 2194 "parameters": { |
| 2195 "accountId": { |
| 2196 "description": "Account ID to which the view
(profile) belongs", |
| 2197 "location": "path", |
| 2198 "required": true, |
| 2199 "type": "string" |
| 2200 }, |
| 2201 "profileId": { |
| 2202 "description": "ID of the view (profile) to
be updated.", |
| 2203 "location": "path", |
| 2204 "required": true, |
| 2205 "type": "string" |
| 2206 }, |
| 2207 "webPropertyId": { |
| 2208 "description": "Web property ID to which the
view (profile) belongs", |
| 2209 "location": "path", |
| 2210 "required": true, |
| 2211 "type": "string" |
| 2212 } |
| 2213 }, |
| 2214 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}", |
| 2215 "request": { |
| 2216 "$ref": "Profile" |
| 2217 }, |
| 2218 "response": { |
| 2219 "$ref": "Profile" |
| 2220 }, |
| 2221 "scopes": [ |
| 2222 "https://www.googleapis.com/auth/analytics.edit" |
| 2223 ] |
| 2224 }, |
| 2225 "update": { |
| 2226 "description": "Updates an existing view (profile)."
, |
| 2227 "httpMethod": "PUT", |
| 2228 "id": "analytics.management.profiles.update", |
| 2229 "parameterOrder": [ |
| 2230 "accountId", |
| 2231 "webPropertyId", |
| 2232 "profileId" |
| 2233 ], |
| 2234 "parameters": { |
| 2235 "accountId": { |
| 2236 "description": "Account ID to which the view
(profile) belongs", |
| 2237 "location": "path", |
| 2238 "required": true, |
| 2239 "type": "string" |
| 2240 }, |
| 2241 "profileId": { |
| 2242 "description": "ID of the view (profile) to
be updated.", |
| 2243 "location": "path", |
| 2244 "required": true, |
| 2245 "type": "string" |
| 2246 }, |
| 2247 "webPropertyId": { |
| 2248 "description": "Web property ID to which the
view (profile) belongs", |
| 2249 "location": "path", |
| 2250 "required": true, |
| 2251 "type": "string" |
| 2252 } |
| 2253 }, |
| 2254 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}", |
| 2255 "request": { |
| 2256 "$ref": "Profile" |
| 2257 }, |
| 2258 "response": { |
| 2259 "$ref": "Profile" |
| 2260 }, |
| 2261 "scopes": [ |
| 2262 "https://www.googleapis.com/auth/analytics.edit" |
| 2263 ] |
| 2264 } |
| 2265 } |
| 2266 }, |
| 2267 "segments": { |
| 2268 "methods": { |
| 2269 "list": { |
| 2270 "description": "Lists segments to which the user has
access.", |
| 2271 "httpMethod": "GET", |
| 2272 "id": "analytics.management.segments.list", |
| 2273 "parameters": { |
| 2274 "max-results": { |
| 2275 "description": "The maximum number of segmen
ts to include in this response.", |
| 2276 "format": "int32", |
| 2277 "location": "query", |
| 2278 "type": "integer" |
| 2279 }, |
| 2280 "start-index": { |
| 2281 "description": "An index of the first segmen
t to retrieve. Use this parameter as a pagination mechanism along with the max-r
esults parameter.", |
| 2282 "format": "int32", |
| 2283 "location": "query", |
| 2284 "minimum": "1", |
| 2285 "type": "integer" |
| 2286 } |
| 2287 }, |
| 2288 "path": "management/segments", |
| 2289 "response": { |
| 2290 "$ref": "Segments" |
| 2291 }, |
| 2292 "scopes": [ |
| 2293 "https://www.googleapis.com/auth/analytics", |
| 2294 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2295 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2296 ] |
| 2297 } |
| 2298 } |
| 2299 }, |
| 2300 "unsampledReports": { |
| 2301 "methods": { |
| 2302 "get": { |
| 2303 "description": "Returns a single unsampled report.", |
| 2304 "httpMethod": "GET", |
| 2305 "id": "analytics.management.unsampledReports.get", |
| 2306 "parameterOrder": [ |
| 2307 "accountId", |
| 2308 "webPropertyId", |
| 2309 "profileId", |
| 2310 "unsampledReportId" |
| 2311 ], |
| 2312 "parameters": { |
| 2313 "accountId": { |
| 2314 "description": "Account ID to retrieve unsam
pled report for.", |
| 2315 "location": "path", |
| 2316 "required": true, |
| 2317 "type": "string" |
| 2318 }, |
| 2319 "profileId": { |
| 2320 "description": "View (Profile) ID to retriev
e unsampled report for.", |
| 2321 "location": "path", |
| 2322 "required": true, |
| 2323 "type": "string" |
| 2324 }, |
| 2325 "unsampledReportId": { |
| 2326 "description": "ID of the unsampled report t
o retrieve.", |
| 2327 "location": "path", |
| 2328 "required": true, |
| 2329 "type": "string" |
| 2330 }, |
| 2331 "webPropertyId": { |
| 2332 "description": "Web property ID to retrieve
unsampled reports for.", |
| 2333 "location": "path", |
| 2334 "required": true, |
| 2335 "type": "string" |
| 2336 } |
| 2337 }, |
| 2338 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/unsampledReports/{unsampledReportId}", |
| 2339 "response": { |
| 2340 "$ref": "UnsampledReport" |
| 2341 }, |
| 2342 "scopes": [ |
| 2343 "https://www.googleapis.com/auth/analytics", |
| 2344 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2345 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2346 ] |
| 2347 }, |
| 2348 "insert": { |
| 2349 "description": "Create a new unsampled report.", |
| 2350 "httpMethod": "POST", |
| 2351 "id": "analytics.management.unsampledReports.insert"
, |
| 2352 "parameterOrder": [ |
| 2353 "accountId", |
| 2354 "webPropertyId", |
| 2355 "profileId" |
| 2356 ], |
| 2357 "parameters": { |
| 2358 "accountId": { |
| 2359 "description": "Account ID to create the uns
ampled report for.", |
| 2360 "location": "path", |
| 2361 "required": true, |
| 2362 "type": "string" |
| 2363 }, |
| 2364 "profileId": { |
| 2365 "description": "View (Profile) ID to create
the unsampled report for.", |
| 2366 "location": "path", |
| 2367 "required": true, |
| 2368 "type": "string" |
| 2369 }, |
| 2370 "webPropertyId": { |
| 2371 "description": "Web property ID to create th
e unsampled report for.", |
| 2372 "location": "path", |
| 2373 "required": true, |
| 2374 "type": "string" |
| 2375 } |
| 2376 }, |
| 2377 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/unsampledReports", |
| 2378 "request": { |
| 2379 "$ref": "UnsampledReport" |
| 2380 }, |
| 2381 "response": { |
| 2382 "$ref": "UnsampledReport" |
| 2383 }, |
| 2384 "scopes": [ |
| 2385 "https://www.googleapis.com/auth/analytics", |
| 2386 "https://www.googleapis.com/auth/analytics.edit" |
| 2387 ] |
| 2388 }, |
| 2389 "list": { |
| 2390 "description": "Lists unsampled reports to which the
user has access.", |
| 2391 "httpMethod": "GET", |
| 2392 "id": "analytics.management.unsampledReports.list", |
| 2393 "parameterOrder": [ |
| 2394 "accountId", |
| 2395 "webPropertyId", |
| 2396 "profileId" |
| 2397 ], |
| 2398 "parameters": { |
| 2399 "accountId": { |
| 2400 "description": "Account ID to retrieve unsam
pled reports for. Must be a specific account ID, ~all is not supported.", |
| 2401 "location": "path", |
| 2402 "required": true, |
| 2403 "type": "string" |
| 2404 }, |
| 2405 "max-results": { |
| 2406 "description": "The maximum number of unsamp
led reports to include in this response.", |
| 2407 "format": "int32", |
| 2408 "location": "query", |
| 2409 "type": "integer" |
| 2410 }, |
| 2411 "profileId": { |
| 2412 "description": "View (Profile) ID to retriev
e unsampled reports for. Must be a specific view (profile) ID, ~all is not suppo
rted.", |
| 2413 "location": "path", |
| 2414 "required": true, |
| 2415 "type": "string" |
| 2416 }, |
| 2417 "start-index": { |
| 2418 "description": "An index of the first unsamp
led report to retrieve. Use this parameter as a pagination mechanism along with
the max-results parameter.", |
| 2419 "format": "int32", |
| 2420 "location": "query", |
| 2421 "minimum": "1", |
| 2422 "type": "integer" |
| 2423 }, |
| 2424 "webPropertyId": { |
| 2425 "description": "Web property ID to retrieve
unsampled reports for. Must be a specific web property ID, ~all is not supported
.", |
| 2426 "location": "path", |
| 2427 "required": true, |
| 2428 "type": "string" |
| 2429 } |
| 2430 }, |
| 2431 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/profiles/{profileId}/unsampledReports", |
| 2432 "response": { |
| 2433 "$ref": "UnsampledReports" |
| 2434 }, |
| 2435 "scopes": [ |
| 2436 "https://www.googleapis.com/auth/analytics", |
| 2437 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2438 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2439 ] |
| 2440 } |
| 2441 } |
| 2442 }, |
| 2443 "uploads": { |
| 2444 "methods": { |
| 2445 "deleteUploadData": { |
| 2446 "description": "Delete data associated with a previo
us upload.", |
| 2447 "httpMethod": "POST", |
| 2448 "id": "analytics.management.uploads.deleteUploadData
", |
| 2449 "parameterOrder": [ |
| 2450 "accountId", |
| 2451 "webPropertyId", |
| 2452 "customDataSourceId" |
| 2453 ], |
| 2454 "parameters": { |
| 2455 "accountId": { |
| 2456 "description": "Account Id for the uploads t
o be deleted.", |
| 2457 "location": "path", |
| 2458 "pattern": "\\d+", |
| 2459 "required": true, |
| 2460 "type": "string" |
| 2461 }, |
| 2462 "customDataSourceId": { |
| 2463 "description": "Custom data source Id for th
e uploads to be deleted.", |
| 2464 "location": "path", |
| 2465 "pattern": ".{22}", |
| 2466 "required": true, |
| 2467 "type": "string" |
| 2468 }, |
| 2469 "webPropertyId": { |
| 2470 "description": "Web property Id for the uplo
ads to be deleted.", |
| 2471 "location": "path", |
| 2472 "pattern": "UA-(\\d+)-(\\d+)", |
| 2473 "required": true, |
| 2474 "type": "string" |
| 2475 } |
| 2476 }, |
| 2477 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/deleteUploadData", |
| 2478 "request": { |
| 2479 "$ref": "AnalyticsDataimportDeleteUploadDataRequ
est" |
| 2480 }, |
| 2481 "scopes": [ |
| 2482 "https://www.googleapis.com/auth/analytics", |
| 2483 "https://www.googleapis.com/auth/analytics.edit" |
| 2484 ] |
| 2485 }, |
| 2486 "get": { |
| 2487 "description": "List uploads to which the user has a
ccess.", |
| 2488 "httpMethod": "GET", |
| 2489 "id": "analytics.management.uploads.get", |
| 2490 "parameterOrder": [ |
| 2491 "accountId", |
| 2492 "webPropertyId", |
| 2493 "customDataSourceId", |
| 2494 "uploadId" |
| 2495 ], |
| 2496 "parameters": { |
| 2497 "accountId": { |
| 2498 "description": "Account Id for the upload to
retrieve.", |
| 2499 "location": "path", |
| 2500 "pattern": "\\d+", |
| 2501 "required": true, |
| 2502 "type": "string" |
| 2503 }, |
| 2504 "customDataSourceId": { |
| 2505 "description": "Custom data source Id for up
load to retrieve.", |
| 2506 "location": "path", |
| 2507 "pattern": ".{22}", |
| 2508 "required": true, |
| 2509 "type": "string" |
| 2510 }, |
| 2511 "uploadId": { |
| 2512 "description": "Upload Id to retrieve.", |
| 2513 "location": "path", |
| 2514 "pattern": ".{22}", |
| 2515 "required": true, |
| 2516 "type": "string" |
| 2517 }, |
| 2518 "webPropertyId": { |
| 2519 "description": "Web property Id for the uplo
ad to retrieve.", |
| 2520 "location": "path", |
| 2521 "pattern": "UA-(\\d+)-(\\d+)", |
| 2522 "required": true, |
| 2523 "type": "string" |
| 2524 } |
| 2525 }, |
| 2526 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/uploads/{uploadId}", |
| 2527 "response": { |
| 2528 "$ref": "Upload" |
| 2529 }, |
| 2530 "scopes": [ |
| 2531 "https://www.googleapis.com/auth/analytics", |
| 2532 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2533 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2534 ] |
| 2535 }, |
| 2536 "list": { |
| 2537 "description": "List uploads to which the user has a
ccess.", |
| 2538 "httpMethod": "GET", |
| 2539 "id": "analytics.management.uploads.list", |
| 2540 "parameterOrder": [ |
| 2541 "accountId", |
| 2542 "webPropertyId", |
| 2543 "customDataSourceId" |
| 2544 ], |
| 2545 "parameters": { |
| 2546 "accountId": { |
| 2547 "description": "Account Id for the uploads t
o retrieve.", |
| 2548 "location": "path", |
| 2549 "pattern": "\\d+", |
| 2550 "required": true, |
| 2551 "type": "string" |
| 2552 }, |
| 2553 "customDataSourceId": { |
| 2554 "description": "Custom data source Id for up
loads to retrieve.", |
| 2555 "location": "path", |
| 2556 "pattern": ".{22}", |
| 2557 "required": true, |
| 2558 "type": "string" |
| 2559 }, |
| 2560 "max-results": { |
| 2561 "description": "The maximum number of upload
s to include in this response.", |
| 2562 "format": "int32", |
| 2563 "location": "query", |
| 2564 "minimum": "1", |
| 2565 "type": "integer" |
| 2566 }, |
| 2567 "start-index": { |
| 2568 "description": "A 1-based index of the first
upload to retrieve. Use this parameter as a pagination mechanism along with the
max-results parameter.", |
| 2569 "format": "int32", |
| 2570 "location": "query", |
| 2571 "minimum": "1", |
| 2572 "type": "integer" |
| 2573 }, |
| 2574 "webPropertyId": { |
| 2575 "description": "Web property Id for the uplo
ads to retrieve.", |
| 2576 "location": "path", |
| 2577 "pattern": "UA-(\\d+)-(\\d+)", |
| 2578 "required": true, |
| 2579 "type": "string" |
| 2580 } |
| 2581 }, |
| 2582 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", |
| 2583 "response": { |
| 2584 "$ref": "Uploads" |
| 2585 }, |
| 2586 "scopes": [ |
| 2587 "https://www.googleapis.com/auth/analytics", |
| 2588 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2589 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2590 ] |
| 2591 }, |
| 2592 "migrateDataImport": { |
| 2593 "description": "Migrate custom data source and data
imports to latest version.", |
| 2594 "httpMethod": "POST", |
| 2595 "id": "analytics.management.uploads.migrateDataImpor
t", |
| 2596 "parameterOrder": [ |
| 2597 "accountId", |
| 2598 "webPropertyId", |
| 2599 "customDataSourceId" |
| 2600 ], |
| 2601 "parameters": { |
| 2602 "accountId": { |
| 2603 "description": "Account Id for migration.", |
| 2604 "location": "path", |
| 2605 "pattern": "\\d+", |
| 2606 "required": true, |
| 2607 "type": "string" |
| 2608 }, |
| 2609 "customDataSourceId": { |
| 2610 "description": "Custom data source Id for mi
gration.", |
| 2611 "location": "path", |
| 2612 "pattern": ".{22}", |
| 2613 "required": true, |
| 2614 "type": "string" |
| 2615 }, |
| 2616 "webPropertyId": { |
| 2617 "description": "Web property Id for migratio
n.", |
| 2618 "location": "path", |
| 2619 "pattern": "UA-(\\d+)-(\\d+)", |
| 2620 "required": true, |
| 2621 "type": "string" |
| 2622 } |
| 2623 }, |
| 2624 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport", |
| 2625 "scopes": [ |
| 2626 "https://www.googleapis.com/auth/analytics", |
| 2627 "https://www.googleapis.com/auth/analytics.edit" |
| 2628 ] |
| 2629 }, |
| 2630 "uploadData": { |
| 2631 "description": "Upload data for a custom data source
.", |
| 2632 "httpMethod": "POST", |
| 2633 "id": "analytics.management.uploads.uploadData", |
| 2634 "mediaUpload": { |
| 2635 "accept": [ |
| 2636 "application/octet-stream" |
| 2637 ], |
| 2638 "maxSize": "1GB", |
| 2639 "protocols": { |
| 2640 "resumable": { |
| 2641 "multipart": true, |
| 2642 "path": "/resumable/upload/analytics/v3/
management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/
{customDataSourceId}/uploads" |
| 2643 }, |
| 2644 "simple": { |
| 2645 "multipart": true, |
| 2646 "path": "/upload/analytics/v3/management
/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDat
aSourceId}/uploads" |
| 2647 } |
| 2648 } |
| 2649 }, |
| 2650 "parameterOrder": [ |
| 2651 "accountId", |
| 2652 "webPropertyId", |
| 2653 "customDataSourceId" |
| 2654 ], |
| 2655 "parameters": { |
| 2656 "accountId": { |
| 2657 "description": "Account Id associated with t
he upload.", |
| 2658 "location": "path", |
| 2659 "pattern": "\\d+", |
| 2660 "required": true, |
| 2661 "type": "string" |
| 2662 }, |
| 2663 "customDataSourceId": { |
| 2664 "description": "Custom data source Id to whi
ch the data being uploaded belongs.", |
| 2665 "location": "path", |
| 2666 "required": true, |
| 2667 "type": "string" |
| 2668 }, |
| 2669 "webPropertyId": { |
| 2670 "description": "Web property UA-string assoc
iated with the upload.", |
| 2671 "location": "path", |
| 2672 "pattern": "UA-\\d+-\\d+", |
| 2673 "required": true, |
| 2674 "type": "string" |
| 2675 } |
| 2676 }, |
| 2677 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", |
| 2678 "response": { |
| 2679 "$ref": "Upload" |
| 2680 }, |
| 2681 "scopes": [ |
| 2682 "https://www.googleapis.com/auth/analytics", |
| 2683 "https://www.googleapis.com/auth/analytics.edit" |
| 2684 ], |
| 2685 "supportsMediaUpload": true |
| 2686 } |
| 2687 } |
| 2688 }, |
| 2689 "webPropertyAdWordsLinks": { |
| 2690 "methods": { |
| 2691 "delete": { |
| 2692 "description": "Deletes a web property-AdWords link.
", |
| 2693 "httpMethod": "DELETE", |
| 2694 "id": "analytics.management.webPropertyAdWordsLinks.
delete", |
| 2695 "parameterOrder": [ |
| 2696 "accountId", |
| 2697 "webPropertyId", |
| 2698 "webPropertyAdWordsLinkId" |
| 2699 ], |
| 2700 "parameters": { |
| 2701 "accountId": { |
| 2702 "description": "ID of the account which the
given web property belongs to.", |
| 2703 "location": "path", |
| 2704 "required": true, |
| 2705 "type": "string" |
| 2706 }, |
| 2707 "webPropertyAdWordsLinkId": { |
| 2708 "description": "Web property AdWords link ID
.", |
| 2709 "location": "path", |
| 2710 "required": true, |
| 2711 "type": "string" |
| 2712 }, |
| 2713 "webPropertyId": { |
| 2714 "description": "Web property ID to delete th
e AdWords link for.", |
| 2715 "location": "path", |
| 2716 "required": true, |
| 2717 "type": "string" |
| 2718 } |
| 2719 }, |
| 2720 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", |
| 2721 "scopes": [ |
| 2722 "https://www.googleapis.com/auth/analytics.edit" |
| 2723 ] |
| 2724 }, |
| 2725 "get": { |
| 2726 "description": "Returns a web property-AdWords link
to which the user has access.", |
| 2727 "httpMethod": "GET", |
| 2728 "id": "analytics.management.webPropertyAdWordsLinks.
get", |
| 2729 "parameterOrder": [ |
| 2730 "accountId", |
| 2731 "webPropertyId", |
| 2732 "webPropertyAdWordsLinkId" |
| 2733 ], |
| 2734 "parameters": { |
| 2735 "accountId": { |
| 2736 "description": "ID of the account which the
given web property belongs to.", |
| 2737 "location": "path", |
| 2738 "required": true, |
| 2739 "type": "string" |
| 2740 }, |
| 2741 "webPropertyAdWordsLinkId": { |
| 2742 "description": "Web property-AdWords link ID
.", |
| 2743 "location": "path", |
| 2744 "required": true, |
| 2745 "type": "string" |
| 2746 }, |
| 2747 "webPropertyId": { |
| 2748 "description": "Web property ID to retrieve
the AdWords link for.", |
| 2749 "location": "path", |
| 2750 "required": true, |
| 2751 "type": "string" |
| 2752 } |
| 2753 }, |
| 2754 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", |
| 2755 "response": { |
| 2756 "$ref": "EntityAdWordsLink" |
| 2757 }, |
| 2758 "scopes": [ |
| 2759 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2760 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2761 ] |
| 2762 }, |
| 2763 "insert": { |
| 2764 "description": "Creates a webProperty-AdWords link."
, |
| 2765 "httpMethod": "POST", |
| 2766 "id": "analytics.management.webPropertyAdWordsLinks.
insert", |
| 2767 "parameterOrder": [ |
| 2768 "accountId", |
| 2769 "webPropertyId" |
| 2770 ], |
| 2771 "parameters": { |
| 2772 "accountId": { |
| 2773 "description": "ID of the Google Analytics a
ccount to create the link for.", |
| 2774 "location": "path", |
| 2775 "required": true, |
| 2776 "type": "string" |
| 2777 }, |
| 2778 "webPropertyId": { |
| 2779 "description": "Web property ID to create th
e link for.", |
| 2780 "location": "path", |
| 2781 "required": true, |
| 2782 "type": "string" |
| 2783 } |
| 2784 }, |
| 2785 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityAdWordsLinks", |
| 2786 "request": { |
| 2787 "$ref": "EntityAdWordsLink" |
| 2788 }, |
| 2789 "response": { |
| 2790 "$ref": "EntityAdWordsLink" |
| 2791 }, |
| 2792 "scopes": [ |
| 2793 "https://www.googleapis.com/auth/analytics.edit" |
| 2794 ] |
| 2795 }, |
| 2796 "list": { |
| 2797 "description": "Lists webProperty-AdWords links for
a given web property.", |
| 2798 "httpMethod": "GET", |
| 2799 "id": "analytics.management.webPropertyAdWordsLinks.
list", |
| 2800 "parameterOrder": [ |
| 2801 "accountId", |
| 2802 "webPropertyId" |
| 2803 ], |
| 2804 "parameters": { |
| 2805 "accountId": { |
| 2806 "description": "ID of the account which the
given web property belongs to.", |
| 2807 "location": "path", |
| 2808 "pattern": "\\d+", |
| 2809 "required": true, |
| 2810 "type": "string" |
| 2811 }, |
| 2812 "max-results": { |
| 2813 "description": "The maximum number of webPro
perty-AdWords links to include in this response.", |
| 2814 "format": "int32", |
| 2815 "location": "query", |
| 2816 "type": "integer" |
| 2817 }, |
| 2818 "start-index": { |
| 2819 "description": "An index of the first webPro
perty-AdWords link to retrieve. Use this parameter as a pagination mechanism alo
ng with the max-results parameter.", |
| 2820 "format": "int32", |
| 2821 "location": "query", |
| 2822 "minimum": "1", |
| 2823 "type": "integer" |
| 2824 }, |
| 2825 "webPropertyId": { |
| 2826 "description": "Web property ID to retrieve
the AdWords links for.", |
| 2827 "location": "path", |
| 2828 "required": true, |
| 2829 "type": "string" |
| 2830 } |
| 2831 }, |
| 2832 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityAdWordsLinks", |
| 2833 "response": { |
| 2834 "$ref": "EntityAdWordsLinks" |
| 2835 }, |
| 2836 "scopes": [ |
| 2837 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2838 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2839 ] |
| 2840 }, |
| 2841 "patch": { |
| 2842 "description": "Updates an existing webProperty-AdWo
rds link. This method supports patch semantics.", |
| 2843 "httpMethod": "PATCH", |
| 2844 "id": "analytics.management.webPropertyAdWordsLinks.
patch", |
| 2845 "parameterOrder": [ |
| 2846 "accountId", |
| 2847 "webPropertyId", |
| 2848 "webPropertyAdWordsLinkId" |
| 2849 ], |
| 2850 "parameters": { |
| 2851 "accountId": { |
| 2852 "description": "ID of the account which the
given web property belongs to.", |
| 2853 "location": "path", |
| 2854 "required": true, |
| 2855 "type": "string" |
| 2856 }, |
| 2857 "webPropertyAdWordsLinkId": { |
| 2858 "description": "Web property-AdWords link ID
.", |
| 2859 "location": "path", |
| 2860 "required": true, |
| 2861 "type": "string" |
| 2862 }, |
| 2863 "webPropertyId": { |
| 2864 "description": "Web property ID to retrieve
the AdWords link for.", |
| 2865 "location": "path", |
| 2866 "required": true, |
| 2867 "type": "string" |
| 2868 } |
| 2869 }, |
| 2870 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", |
| 2871 "request": { |
| 2872 "$ref": "EntityAdWordsLink" |
| 2873 }, |
| 2874 "response": { |
| 2875 "$ref": "EntityAdWordsLink" |
| 2876 }, |
| 2877 "scopes": [ |
| 2878 "https://www.googleapis.com/auth/analytics.edit" |
| 2879 ] |
| 2880 }, |
| 2881 "update": { |
| 2882 "description": "Updates an existing webProperty-AdWo
rds link.", |
| 2883 "httpMethod": "PUT", |
| 2884 "id": "analytics.management.webPropertyAdWordsLinks.
update", |
| 2885 "parameterOrder": [ |
| 2886 "accountId", |
| 2887 "webPropertyId", |
| 2888 "webPropertyAdWordsLinkId" |
| 2889 ], |
| 2890 "parameters": { |
| 2891 "accountId": { |
| 2892 "description": "ID of the account which the
given web property belongs to.", |
| 2893 "location": "path", |
| 2894 "required": true, |
| 2895 "type": "string" |
| 2896 }, |
| 2897 "webPropertyAdWordsLinkId": { |
| 2898 "description": "Web property-AdWords link ID
.", |
| 2899 "location": "path", |
| 2900 "required": true, |
| 2901 "type": "string" |
| 2902 }, |
| 2903 "webPropertyId": { |
| 2904 "description": "Web property ID to retrieve
the AdWords link for.", |
| 2905 "location": "path", |
| 2906 "required": true, |
| 2907 "type": "string" |
| 2908 } |
| 2909 }, |
| 2910 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityAdWordsLinks/{webPropertyAdWordsLinkId}", |
| 2911 "request": { |
| 2912 "$ref": "EntityAdWordsLink" |
| 2913 }, |
| 2914 "response": { |
| 2915 "$ref": "EntityAdWordsLink" |
| 2916 }, |
| 2917 "scopes": [ |
| 2918 "https://www.googleapis.com/auth/analytics.edit" |
| 2919 ] |
| 2920 } |
| 2921 } |
| 2922 }, |
| 2923 "webproperties": { |
| 2924 "methods": { |
| 2925 "get": { |
| 2926 "description": "Gets a web property to which the use
r has access.", |
| 2927 "httpMethod": "GET", |
| 2928 "id": "analytics.management.webproperties.get", |
| 2929 "parameterOrder": [ |
| 2930 "accountId", |
| 2931 "webPropertyId" |
| 2932 ], |
| 2933 "parameters": { |
| 2934 "accountId": { |
| 2935 "description": "Account ID to retrieve the w
eb property for.", |
| 2936 "location": "path", |
| 2937 "pattern": "[0-9]+", |
| 2938 "required": true, |
| 2939 "type": "string" |
| 2940 }, |
| 2941 "webPropertyId": { |
| 2942 "description": "ID to retrieve the web prope
rty for.", |
| 2943 "location": "path", |
| 2944 "pattern": "UA-[0-9]+-[0-9]+", |
| 2945 "required": true, |
| 2946 "type": "string" |
| 2947 } |
| 2948 }, |
| 2949 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}", |
| 2950 "response": { |
| 2951 "$ref": "Webproperty" |
| 2952 }, |
| 2953 "scopes": [ |
| 2954 "https://www.googleapis.com/auth/analytics.edit"
, |
| 2955 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 2956 ] |
| 2957 }, |
| 2958 "insert": { |
| 2959 "description": "Create a new property if the account
has fewer than 20 properties. Web properties are visible in the Google Analytic
s interface only if they have at least one profile.", |
| 2960 "httpMethod": "POST", |
| 2961 "id": "analytics.management.webproperties.insert", |
| 2962 "parameterOrder": [ |
| 2963 "accountId" |
| 2964 ], |
| 2965 "parameters": { |
| 2966 "accountId": { |
| 2967 "description": "Account ID to create the web
property for.", |
| 2968 "location": "path", |
| 2969 "required": true, |
| 2970 "type": "string" |
| 2971 } |
| 2972 }, |
| 2973 "path": "management/accounts/{accountId}/webproperti
es", |
| 2974 "request": { |
| 2975 "$ref": "Webproperty" |
| 2976 }, |
| 2977 "response": { |
| 2978 "$ref": "Webproperty" |
| 2979 }, |
| 2980 "scopes": [ |
| 2981 "https://www.googleapis.com/auth/analytics.edit" |
| 2982 ] |
| 2983 }, |
| 2984 "list": { |
| 2985 "description": "Lists web properties to which the us
er has access.", |
| 2986 "httpMethod": "GET", |
| 2987 "id": "analytics.management.webproperties.list", |
| 2988 "parameterOrder": [ |
| 2989 "accountId" |
| 2990 ], |
| 2991 "parameters": { |
| 2992 "accountId": { |
| 2993 "description": "Account ID to retrieve web p
roperties for. Can either be a specific account ID or '~all', which refers to al
l the accounts that user has access to.", |
| 2994 "location": "path", |
| 2995 "required": true, |
| 2996 "type": "string" |
| 2997 }, |
| 2998 "max-results": { |
| 2999 "description": "The maximum number of web pr
operties to include in this response.", |
| 3000 "format": "int32", |
| 3001 "location": "query", |
| 3002 "type": "integer" |
| 3003 }, |
| 3004 "start-index": { |
| 3005 "description": "An index of the first entity
to retrieve. Use this parameter as a pagination mechanism along with the max-re
sults parameter.", |
| 3006 "format": "int32", |
| 3007 "location": "query", |
| 3008 "minimum": "1", |
| 3009 "type": "integer" |
| 3010 } |
| 3011 }, |
| 3012 "path": "management/accounts/{accountId}/webproperti
es", |
| 3013 "response": { |
| 3014 "$ref": "Webproperties" |
| 3015 }, |
| 3016 "scopes": [ |
| 3017 "https://www.googleapis.com/auth/analytics", |
| 3018 "https://www.googleapis.com/auth/analytics.edit"
, |
| 3019 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 3020 ] |
| 3021 }, |
| 3022 "patch": { |
| 3023 "description": "Updates an existing web property. Th
is method supports patch semantics.", |
| 3024 "httpMethod": "PATCH", |
| 3025 "id": "analytics.management.webproperties.patch", |
| 3026 "parameterOrder": [ |
| 3027 "accountId", |
| 3028 "webPropertyId" |
| 3029 ], |
| 3030 "parameters": { |
| 3031 "accountId": { |
| 3032 "description": "Account ID to which the web
property belongs", |
| 3033 "location": "path", |
| 3034 "required": true, |
| 3035 "type": "string" |
| 3036 }, |
| 3037 "webPropertyId": { |
| 3038 "description": "Web property ID", |
| 3039 "location": "path", |
| 3040 "required": true, |
| 3041 "type": "string" |
| 3042 } |
| 3043 }, |
| 3044 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}", |
| 3045 "request": { |
| 3046 "$ref": "Webproperty" |
| 3047 }, |
| 3048 "response": { |
| 3049 "$ref": "Webproperty" |
| 3050 }, |
| 3051 "scopes": [ |
| 3052 "https://www.googleapis.com/auth/analytics.edit" |
| 3053 ] |
| 3054 }, |
| 3055 "update": { |
| 3056 "description": "Updates an existing web property.", |
| 3057 "httpMethod": "PUT", |
| 3058 "id": "analytics.management.webproperties.update", |
| 3059 "parameterOrder": [ |
| 3060 "accountId", |
| 3061 "webPropertyId" |
| 3062 ], |
| 3063 "parameters": { |
| 3064 "accountId": { |
| 3065 "description": "Account ID to which the web
property belongs", |
| 3066 "location": "path", |
| 3067 "required": true, |
| 3068 "type": "string" |
| 3069 }, |
| 3070 "webPropertyId": { |
| 3071 "description": "Web property ID", |
| 3072 "location": "path", |
| 3073 "required": true, |
| 3074 "type": "string" |
| 3075 } |
| 3076 }, |
| 3077 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}", |
| 3078 "request": { |
| 3079 "$ref": "Webproperty" |
| 3080 }, |
| 3081 "response": { |
| 3082 "$ref": "Webproperty" |
| 3083 }, |
| 3084 "scopes": [ |
| 3085 "https://www.googleapis.com/auth/analytics.edit" |
| 3086 ] |
| 3087 } |
| 3088 } |
| 3089 }, |
| 3090 "webpropertyUserLinks": { |
| 3091 "methods": { |
| 3092 "delete": { |
| 3093 "description": "Removes a user from the given web pr
operty.", |
| 3094 "httpMethod": "DELETE", |
| 3095 "id": "analytics.management.webpropertyUserLinks.del
ete", |
| 3096 "parameterOrder": [ |
| 3097 "accountId", |
| 3098 "webPropertyId", |
| 3099 "linkId" |
| 3100 ], |
| 3101 "parameters": { |
| 3102 "accountId": { |
| 3103 "description": "Account ID to delete the use
r link for.", |
| 3104 "location": "path", |
| 3105 "required": true, |
| 3106 "type": "string" |
| 3107 }, |
| 3108 "linkId": { |
| 3109 "description": "Link ID to delete the user l
ink for.", |
| 3110 "location": "path", |
| 3111 "required": true, |
| 3112 "type": "string" |
| 3113 }, |
| 3114 "webPropertyId": { |
| 3115 "description": "Web Property ID to delete th
e user link for.", |
| 3116 "location": "path", |
| 3117 "required": true, |
| 3118 "type": "string" |
| 3119 } |
| 3120 }, |
| 3121 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityUserLinks/{linkId}", |
| 3122 "scopes": [ |
| 3123 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 3124 ] |
| 3125 }, |
| 3126 "insert": { |
| 3127 "description": "Adds a new user to the given web pro
perty.", |
| 3128 "httpMethod": "POST", |
| 3129 "id": "analytics.management.webpropertyUserLinks.ins
ert", |
| 3130 "parameterOrder": [ |
| 3131 "accountId", |
| 3132 "webPropertyId" |
| 3133 ], |
| 3134 "parameters": { |
| 3135 "accountId": { |
| 3136 "description": "Account ID to create the use
r link for.", |
| 3137 "location": "path", |
| 3138 "required": true, |
| 3139 "type": "string" |
| 3140 }, |
| 3141 "webPropertyId": { |
| 3142 "description": "Web Property ID to create th
e user link for.", |
| 3143 "location": "path", |
| 3144 "required": true, |
| 3145 "type": "string" |
| 3146 } |
| 3147 }, |
| 3148 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityUserLinks", |
| 3149 "request": { |
| 3150 "$ref": "EntityUserLink" |
| 3151 }, |
| 3152 "response": { |
| 3153 "$ref": "EntityUserLink" |
| 3154 }, |
| 3155 "scopes": [ |
| 3156 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 3157 ] |
| 3158 }, |
| 3159 "list": { |
| 3160 "description": "Lists webProperty-user links for a g
iven web property.", |
| 3161 "httpMethod": "GET", |
| 3162 "id": "analytics.management.webpropertyUserLinks.lis
t", |
| 3163 "parameterOrder": [ |
| 3164 "accountId", |
| 3165 "webPropertyId" |
| 3166 ], |
| 3167 "parameters": { |
| 3168 "accountId": { |
| 3169 "description": "Account ID which the given w
eb property belongs to.", |
| 3170 "location": "path", |
| 3171 "required": true, |
| 3172 "type": "string" |
| 3173 }, |
| 3174 "max-results": { |
| 3175 "description": "The maximum number of webPro
perty-user Links to include in this response.", |
| 3176 "format": "int32", |
| 3177 "location": "query", |
| 3178 "type": "integer" |
| 3179 }, |
| 3180 "start-index": { |
| 3181 "description": "An index of the first webPro
perty-user link to retrieve. Use this parameter as a pagination mechanism along
with the max-results parameter.", |
| 3182 "format": "int32", |
| 3183 "location": "query", |
| 3184 "minimum": "1", |
| 3185 "type": "integer" |
| 3186 }, |
| 3187 "webPropertyId": { |
| 3188 "description": "Web Property ID for the webP
roperty-user links to retrieve. Can either be a specific web property ID or '~al
l', which refers to all the web properties that user has access to.", |
| 3189 "location": "path", |
| 3190 "required": true, |
| 3191 "type": "string" |
| 3192 } |
| 3193 }, |
| 3194 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityUserLinks", |
| 3195 "response": { |
| 3196 "$ref": "EntityUserLinks" |
| 3197 }, |
| 3198 "scopes": [ |
| 3199 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 3200 ] |
| 3201 }, |
| 3202 "update": { |
| 3203 "description": "Updates permissions for an existing
user on the given web property.", |
| 3204 "httpMethod": "PUT", |
| 3205 "id": "analytics.management.webpropertyUserLinks.upd
ate", |
| 3206 "parameterOrder": [ |
| 3207 "accountId", |
| 3208 "webPropertyId", |
| 3209 "linkId" |
| 3210 ], |
| 3211 "parameters": { |
| 3212 "accountId": { |
| 3213 "description": "Account ID to update the acc
ount-user link for.", |
| 3214 "location": "path", |
| 3215 "required": true, |
| 3216 "type": "string" |
| 3217 }, |
| 3218 "linkId": { |
| 3219 "description": "Link ID to update the accoun
t-user link for.", |
| 3220 "location": "path", |
| 3221 "required": true, |
| 3222 "type": "string" |
| 3223 }, |
| 3224 "webPropertyId": { |
| 3225 "description": "Web property ID to update th
e account-user link for.", |
| 3226 "location": "path", |
| 3227 "required": true, |
| 3228 "type": "string" |
| 3229 } |
| 3230 }, |
| 3231 "path": "management/accounts/{accountId}/webproperti
es/{webPropertyId}/entityUserLinks/{linkId}", |
| 3232 "request": { |
| 3233 "$ref": "EntityUserLink" |
| 3234 }, |
| 3235 "response": { |
| 3236 "$ref": "EntityUserLink" |
| 3237 }, |
| 3238 "scopes": [ |
| 3239 "https://www.googleapis.com/auth/analytics.manag
e.users" |
| 3240 ] |
| 3241 } |
| 3242 } |
| 3243 } |
| 3244 } |
| 3245 }, |
| 3246 "metadata": { |
| 3247 "resources": { |
| 3248 "columns": { |
| 3249 "methods": { |
| 3250 "list": { |
| 3251 "description": "Lists all columns for a report type"
, |
| 3252 "httpMethod": "GET", |
| 3253 "id": "analytics.metadata.columns.list", |
| 3254 "parameterOrder": [ |
| 3255 "reportType" |
| 3256 ], |
| 3257 "parameters": { |
| 3258 "reportType": { |
| 3259 "description": "Report type. Allowed Values:
'ga'. Where 'ga' corresponds to the Core Reporting API", |
| 3260 "location": "path", |
| 3261 "pattern": "ga", |
| 3262 "required": true, |
| 3263 "type": "string" |
| 3264 } |
| 3265 }, |
| 3266 "path": "metadata/{reportType}/columns", |
| 3267 "response": { |
| 3268 "$ref": "Columns" |
| 3269 }, |
| 3270 "scopes": [ |
| 3271 "https://www.googleapis.com/auth/analytics", |
| 3272 "https://www.googleapis.com/auth/analytics.edit"
, |
| 3273 "https://www.googleapis.com/auth/analytics.reado
nly" |
| 3274 ] |
| 3275 } |
| 3276 } |
| 3277 } |
| 3278 } |
| 3279 }, |
| 3280 "provisioning": { |
| 3281 "methods": { |
| 3282 "createAccountTicket": { |
| 3283 "description": "Creates an account ticket.", |
| 3284 "httpMethod": "POST", |
| 3285 "id": "analytics.provisioning.createAccountTicket", |
| 3286 "path": "provisioning/createAccountTicket", |
| 3287 "request": { |
| 3288 "$ref": "AccountTicket" |
| 3289 }, |
| 3290 "response": { |
| 3291 "$ref": "AccountTicket" |
| 3292 }, |
| 3293 "scopes": [ |
| 3294 "https://www.googleapis.com/auth/analytics.provision" |
| 3295 ] |
| 3296 } |
| 3297 } |
| 3298 } |
| 3299 }, |
| 3300 "revision": "20140723", |
| 3301 "rootUrl": "https://www.googleapis.com/", |
| 3302 "schemas": { |
| 3303 "Account": { |
| 3304 "description": "JSON template for Analytics account entry.", |
| 3305 "id": "Account", |
| 3306 "properties": { |
| 3307 "childLink": { |
| 3308 "description": "Child link for an account entry. Points to t
he list of web properties for this account.", |
| 3309 "properties": { |
| 3310 "href": { |
| 3311 "description": "Link to the list of web properties f
or this account.", |
| 3312 "type": "string" |
| 3313 }, |
| 3314 "type": { |
| 3315 "default": "analytics#webproperties", |
| 3316 "description": "Type of the child link. Its value is
\"analytics#webproperties\".", |
| 3317 "type": "string" |
| 3318 } |
| 3319 }, |
| 3320 "type": "object" |
| 3321 }, |
| 3322 "created": { |
| 3323 "description": "Time the account was created.", |
| 3324 "format": "date-time", |
| 3325 "type": "string" |
| 3326 }, |
| 3327 "id": { |
| 3328 "description": "Account ID.", |
| 3329 "type": "string" |
| 3330 }, |
| 3331 "kind": { |
| 3332 "default": "analytics#account", |
| 3333 "description": "Resource type for Analytics account.", |
| 3334 "type": "string" |
| 3335 }, |
| 3336 "name": { |
| 3337 "description": "Account name.", |
| 3338 "type": "string" |
| 3339 }, |
| 3340 "permissions": { |
| 3341 "description": "Permissions the user has for this account.", |
| 3342 "properties": { |
| 3343 "effective": { |
| 3344 "description": "All the permissions that the user ha
s for this account. These include any implied permissions (e.g., EDIT implies VI
EW).", |
| 3345 "items": { |
| 3346 "type": "string" |
| 3347 }, |
| 3348 "readOnly": true, |
| 3349 "type": "array" |
| 3350 } |
| 3351 }, |
| 3352 "type": "object" |
| 3353 }, |
| 3354 "selfLink": { |
| 3355 "description": "Link for this account.", |
| 3356 "type": "string" |
| 3357 }, |
| 3358 "updated": { |
| 3359 "description": "Time the account was last modified.", |
| 3360 "format": "date-time", |
| 3361 "type": "string" |
| 3362 } |
| 3363 }, |
| 3364 "type": "object" |
| 3365 }, |
| 3366 "AccountRef": { |
| 3367 "description": "JSON template for a linked account.", |
| 3368 "id": "AccountRef", |
| 3369 "properties": { |
| 3370 "href": { |
| 3371 "description": "Link for this account.", |
| 3372 "type": "string" |
| 3373 }, |
| 3374 "id": { |
| 3375 "description": "Account ID.", |
| 3376 "type": "string" |
| 3377 }, |
| 3378 "kind": { |
| 3379 "default": "analytics#accountRef", |
| 3380 "description": "Analytics account reference.", |
| 3381 "type": "string" |
| 3382 }, |
| 3383 "name": { |
| 3384 "description": "Account name.", |
| 3385 "type": "string" |
| 3386 } |
| 3387 }, |
| 3388 "type": "object" |
| 3389 }, |
| 3390 "AccountSummaries": { |
| 3391 "description": "An AccountSummary collection lists a summary of acco
unts, properties and views (profiles) to which the user has access. Each resourc
e in the collection corresponds to a single AccountSummary.", |
| 3392 "id": "AccountSummaries", |
| 3393 "properties": { |
| 3394 "items": { |
| 3395 "description": "A list of AccountSummaries.", |
| 3396 "items": { |
| 3397 "$ref": "AccountSummary" |
| 3398 }, |
| 3399 "type": "array" |
| 3400 }, |
| 3401 "itemsPerPage": { |
| 3402 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 3403 "format": "int32", |
| 3404 "type": "integer" |
| 3405 }, |
| 3406 "kind": { |
| 3407 "default": "analytics#accountSummaries", |
| 3408 "description": "Collection type.", |
| 3409 "type": "string" |
| 3410 }, |
| 3411 "nextLink": { |
| 3412 "description": "Link to next page for this AccountSummary co
llection.", |
| 3413 "type": "string" |
| 3414 }, |
| 3415 "previousLink": { |
| 3416 "description": "Link to previous page for this AccountSummar
y collection.", |
| 3417 "type": "string" |
| 3418 }, |
| 3419 "startIndex": { |
| 3420 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 3421 "format": "int32", |
| 3422 "type": "integer" |
| 3423 }, |
| 3424 "totalResults": { |
| 3425 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 3426 "format": "int32", |
| 3427 "type": "integer" |
| 3428 }, |
| 3429 "username": { |
| 3430 "description": "Email ID of the authenticated user", |
| 3431 "type": "string" |
| 3432 } |
| 3433 }, |
| 3434 "type": "object" |
| 3435 }, |
| 3436 "AccountSummary": { |
| 3437 "description": "JSON template for an Analytics AccountSummary. An Ac
countSummary is a lightweight tree comprised of properties/profiles.", |
| 3438 "id": "AccountSummary", |
| 3439 "properties": { |
| 3440 "id": { |
| 3441 "description": "Account ID.", |
| 3442 "type": "string" |
| 3443 }, |
| 3444 "kind": { |
| 3445 "default": "analytics#accountSummary", |
| 3446 "description": "Resource type for Analytics AccountSummary."
, |
| 3447 "type": "string" |
| 3448 }, |
| 3449 "name": { |
| 3450 "description": "Account name.", |
| 3451 "type": "string" |
| 3452 }, |
| 3453 "webProperties": { |
| 3454 "description": "List of web properties under this account.", |
| 3455 "items": { |
| 3456 "$ref": "WebPropertySummary" |
| 3457 }, |
| 3458 "type": "array" |
| 3459 } |
| 3460 }, |
| 3461 "type": "object" |
| 3462 }, |
| 3463 "AccountTicket": { |
| 3464 "description": "JSON template for an Analytics account ticket. The a
ccount ticket consists of the ticket ID and the basic information for the accoun
t, property and profile.", |
| 3465 "id": "AccountTicket", |
| 3466 "properties": { |
| 3467 "account": { |
| 3468 "$ref": "Account", |
| 3469 "description": "Account for this ticket." |
| 3470 }, |
| 3471 "id": { |
| 3472 "description": "Account ticket ID used to access the account
ticket.", |
| 3473 "type": "string" |
| 3474 }, |
| 3475 "kind": { |
| 3476 "default": "analytics#accountTicket", |
| 3477 "description": "Resource type for account ticket.", |
| 3478 "type": "string" |
| 3479 }, |
| 3480 "profile": { |
| 3481 "$ref": "Profile", |
| 3482 "description": "View (Profile) for the account." |
| 3483 }, |
| 3484 "redirectUri": { |
| 3485 "description": "Redirect URI where the user will be sent aft
er accepting Terms of Service. Must be configured in APIs console as a callback
URL.", |
| 3486 "type": "string" |
| 3487 }, |
| 3488 "webproperty": { |
| 3489 "$ref": "Webproperty", |
| 3490 "description": "Web property for the account." |
| 3491 } |
| 3492 }, |
| 3493 "type": "object" |
| 3494 }, |
| 3495 "Accounts": { |
| 3496 "description": "An account collection provides a list of Analytics a
ccounts to which a user has access. The account collection is the entry point to
all management information. Each resource in the collection corresponds to a si
ngle Analytics account.", |
| 3497 "id": "Accounts", |
| 3498 "properties": { |
| 3499 "items": { |
| 3500 "description": "A list of accounts.", |
| 3501 "items": { |
| 3502 "$ref": "Account" |
| 3503 }, |
| 3504 "type": "array" |
| 3505 }, |
| 3506 "itemsPerPage": { |
| 3507 "description": "The maximum number of entries the response c
an contain, regardless of the actual number of entries returned. Its value range
s from 1 to 1000 with a value of 1000 by default, or otherwise specified by the
max-results query parameter.", |
| 3508 "format": "int32", |
| 3509 "type": "integer" |
| 3510 }, |
| 3511 "kind": { |
| 3512 "default": "analytics#accounts", |
| 3513 "description": "Collection type.", |
| 3514 "type": "string" |
| 3515 }, |
| 3516 "nextLink": { |
| 3517 "description": "Next link for this account collection.", |
| 3518 "type": "string" |
| 3519 }, |
| 3520 "previousLink": { |
| 3521 "description": "Previous link for this account collection.", |
| 3522 "type": "string" |
| 3523 }, |
| 3524 "startIndex": { |
| 3525 "description": "The starting index of the entries, which is
1 by default or otherwise specified by the start-index query parameter.", |
| 3526 "format": "int32", |
| 3527 "type": "integer" |
| 3528 }, |
| 3529 "totalResults": { |
| 3530 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 3531 "format": "int32", |
| 3532 "type": "integer" |
| 3533 }, |
| 3534 "username": { |
| 3535 "description": "Email ID of the authenticated user", |
| 3536 "type": "string" |
| 3537 } |
| 3538 }, |
| 3539 "type": "object" |
| 3540 }, |
| 3541 "AdWordsAccount": { |
| 3542 "description": "JSON template for an AdWords account.", |
| 3543 "id": "AdWordsAccount", |
| 3544 "properties": { |
| 3545 "autoTaggingEnabled": { |
| 3546 "description": "True if auto-tagging is enabled on the AdWor
ds account. Read-only after the insert operation.", |
| 3547 "type": "boolean" |
| 3548 }, |
| 3549 "customerId": { |
| 3550 "annotations": { |
| 3551 "required": [ |
| 3552 "analytics.management.webPropertyAdWordsLinks.insert
", |
| 3553 "analytics.management.webPropertyAdWordsLinks.update
" |
| 3554 ] |
| 3555 }, |
| 3556 "description": "Customer ID. This field is required when cre
ating an AdWords link.", |
| 3557 "type": "string" |
| 3558 }, |
| 3559 "kind": { |
| 3560 "default": "analytics#adWordsAccount", |
| 3561 "description": "Resource type for AdWords account.", |
| 3562 "type": "string" |
| 3563 } |
| 3564 }, |
| 3565 "type": "object" |
| 3566 }, |
| 3567 "AnalyticsDataimportDeleteUploadDataRequest": { |
| 3568 "description": "Request template for the delete upload data request.
", |
| 3569 "id": "AnalyticsDataimportDeleteUploadDataRequest", |
| 3570 "properties": { |
| 3571 "customDataImportUids": { |
| 3572 "description": "A list of upload UIDs.", |
| 3573 "items": { |
| 3574 "type": "string" |
| 3575 }, |
| 3576 "type": "array" |
| 3577 } |
| 3578 }, |
| 3579 "type": "object" |
| 3580 }, |
| 3581 "Column": { |
| 3582 "description": "JSON template for a metadata column.", |
| 3583 "id": "Column", |
| 3584 "properties": { |
| 3585 "attributes": { |
| 3586 "additionalProperties": { |
| 3587 "description": "The name of the attribute.", |
| 3588 "type": "string" |
| 3589 }, |
| 3590 "description": "Map of attribute name and value for this col
umn.", |
| 3591 "type": "object" |
| 3592 }, |
| 3593 "id": { |
| 3594 "description": "Column id.", |
| 3595 "type": "string" |
| 3596 }, |
| 3597 "kind": { |
| 3598 "default": "analytics#column", |
| 3599 "description": "Resource type for Analytics column.", |
| 3600 "type": "string" |
| 3601 } |
| 3602 }, |
| 3603 "type": "object" |
| 3604 }, |
| 3605 "Columns": { |
| 3606 "description": "Lists columns (dimensions and metrics) for a particu
lar report type.", |
| 3607 "id": "Columns", |
| 3608 "properties": { |
| 3609 "attributeNames": { |
| 3610 "description": "List of attributes names returned by columns
.", |
| 3611 "items": { |
| 3612 "type": "string" |
| 3613 }, |
| 3614 "type": "array" |
| 3615 }, |
| 3616 "etag": { |
| 3617 "description": "Etag of collection. This etag can be compare
d with the last response etag to check if response has changed.", |
| 3618 "type": "string" |
| 3619 }, |
| 3620 "items": { |
| 3621 "description": "List of columns for a report type.", |
| 3622 "items": { |
| 3623 "$ref": "Column" |
| 3624 }, |
| 3625 "type": "array" |
| 3626 }, |
| 3627 "kind": { |
| 3628 "default": "analytics#columns", |
| 3629 "description": "Collection type.", |
| 3630 "type": "string" |
| 3631 }, |
| 3632 "totalResults": { |
| 3633 "description": "Total number of columns returned in the resp
onse.", |
| 3634 "format": "int32", |
| 3635 "type": "integer" |
| 3636 } |
| 3637 }, |
| 3638 "type": "object" |
| 3639 }, |
| 3640 "CustomDataSource": { |
| 3641 "description": "JSON template for an Analytics custom data source.", |
| 3642 "id": "CustomDataSource", |
| 3643 "properties": { |
| 3644 "accountId": { |
| 3645 "description": "Account ID to which this custom data source
belongs.", |
| 3646 "type": "string" |
| 3647 }, |
| 3648 "childLink": { |
| 3649 "properties": { |
| 3650 "href": { |
| 3651 "description": "Link to the list of daily uploads fo
r this custom data source. Link to the list of uploads for this custom data sour
ce.", |
| 3652 "type": "string" |
| 3653 }, |
| 3654 "type": { |
| 3655 "description": "Value is \"analytics#dailyUploads\".
Value is \"analytics#uploads\".", |
| 3656 "type": "string" |
| 3657 } |
| 3658 }, |
| 3659 "type": "object" |
| 3660 }, |
| 3661 "created": { |
| 3662 "description": "Time this custom data source was created.", |
| 3663 "format": "date-time", |
| 3664 "type": "string" |
| 3665 }, |
| 3666 "description": { |
| 3667 "description": "Description of custom data source.", |
| 3668 "type": "string" |
| 3669 }, |
| 3670 "id": { |
| 3671 "description": "Custom data source ID.", |
| 3672 "type": "string" |
| 3673 }, |
| 3674 "importBehavior": { |
| 3675 "type": "string" |
| 3676 }, |
| 3677 "kind": { |
| 3678 "default": "analytics#customDataSource", |
| 3679 "description": "Resource type for Analytics custom data sour
ce.", |
| 3680 "type": "string" |
| 3681 }, |
| 3682 "name": { |
| 3683 "description": "Name of this custom data source.", |
| 3684 "type": "string" |
| 3685 }, |
| 3686 "parentLink": { |
| 3687 "description": "Parent link for this custom data source. Poi
nts to the web property to which this custom data source belongs.", |
| 3688 "properties": { |
| 3689 "href": { |
| 3690 "description": "Link to the web property to which th
is custom data source belongs.", |
| 3691 "type": "string" |
| 3692 }, |
| 3693 "type": { |
| 3694 "default": "analytics#webproperty", |
| 3695 "description": "Value is \"analytics#webproperty\"."
, |
| 3696 "type": "string" |
| 3697 } |
| 3698 }, |
| 3699 "type": "object" |
| 3700 }, |
| 3701 "profilesLinked": { |
| 3702 "description": "IDs of views (profiles) linked to the custom
data source.", |
| 3703 "items": { |
| 3704 "type": "string" |
| 3705 }, |
| 3706 "type": "array" |
| 3707 }, |
| 3708 "selfLink": { |
| 3709 "description": "Link for this Analytics custom data source."
, |
| 3710 "type": "string" |
| 3711 }, |
| 3712 "type": { |
| 3713 "description": "Type of the custom data source.", |
| 3714 "type": "string" |
| 3715 }, |
| 3716 "updated": { |
| 3717 "description": "Time this custom data source was last modifi
ed.", |
| 3718 "format": "date-time", |
| 3719 "type": "string" |
| 3720 }, |
| 3721 "uploadType": { |
| 3722 "type": "string" |
| 3723 }, |
| 3724 "webPropertyId": { |
| 3725 "description": "Web property ID of the form UA-XXXXX-YY to w
hich this custom data source belongs.", |
| 3726 "type": "string" |
| 3727 } |
| 3728 }, |
| 3729 "type": "object" |
| 3730 }, |
| 3731 "CustomDataSources": { |
| 3732 "description": "Lists Analytics custom data sources to which the use
r has access. Each resource in the collection corresponds to a single Analytics
custom data source.", |
| 3733 "id": "CustomDataSources", |
| 3734 "properties": { |
| 3735 "items": { |
| 3736 "description": "Collection of custom data sources.", |
| 3737 "items": { |
| 3738 "$ref": "CustomDataSource" |
| 3739 }, |
| 3740 "type": "array" |
| 3741 }, |
| 3742 "itemsPerPage": { |
| 3743 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 3744 "format": "int32", |
| 3745 "type": "integer" |
| 3746 }, |
| 3747 "kind": { |
| 3748 "default": "analytics#customDataSources", |
| 3749 "description": "Collection type.", |
| 3750 "type": "string" |
| 3751 }, |
| 3752 "nextLink": { |
| 3753 "description": "Link to next page for this custom data sourc
e collection.", |
| 3754 "type": "string" |
| 3755 }, |
| 3756 "previousLink": { |
| 3757 "description": "Link to previous page for this custom data s
ource collection.", |
| 3758 "type": "string" |
| 3759 }, |
| 3760 "startIndex": { |
| 3761 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 3762 "format": "int32", |
| 3763 "type": "integer" |
| 3764 }, |
| 3765 "totalResults": { |
| 3766 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 3767 "format": "int32", |
| 3768 "type": "integer" |
| 3769 }, |
| 3770 "username": { |
| 3771 "description": "Email ID of the authenticated user", |
| 3772 "type": "string" |
| 3773 } |
| 3774 }, |
| 3775 "type": "object" |
| 3776 }, |
| 3777 "DailyUpload": { |
| 3778 "description": "Metadata for daily upload entity.", |
| 3779 "id": "DailyUpload", |
| 3780 "properties": { |
| 3781 "accountId": { |
| 3782 "description": "Account ID to which this daily upload belong
s.", |
| 3783 "type": "string" |
| 3784 }, |
| 3785 "appendCount": { |
| 3786 "description": "Number of appends for this date.", |
| 3787 "format": "int32", |
| 3788 "type": "integer" |
| 3789 }, |
| 3790 "createdTime": { |
| 3791 "description": "Time this daily upload was created.", |
| 3792 "format": "date-time", |
| 3793 "type": "string" |
| 3794 }, |
| 3795 "customDataSourceId": { |
| 3796 "description": "Custom data source ID to which this daily up
load belongs.", |
| 3797 "type": "string" |
| 3798 }, |
| 3799 "date": { |
| 3800 "description": "Date associated with daily upload.", |
| 3801 "type": "string" |
| 3802 }, |
| 3803 "kind": { |
| 3804 "default": "analytics#dailyUpload", |
| 3805 "description": "Resource type for Analytics daily upload.", |
| 3806 "type": "string" |
| 3807 }, |
| 3808 "modifiedTime": { |
| 3809 "description": "Time this daily upload was last modified.", |
| 3810 "format": "date-time", |
| 3811 "type": "string" |
| 3812 }, |
| 3813 "parentLink": { |
| 3814 "description": "Parent link for a daily upload. Points to th
e custom data source to which this daily upload belongs.", |
| 3815 "properties": { |
| 3816 "href": { |
| 3817 "description": "Link to the custom data source to wh
ich this daily upload belongs.", |
| 3818 "type": "string" |
| 3819 }, |
| 3820 "type": { |
| 3821 "default": "analytics#customDataSource", |
| 3822 "description": "Value is \"analytics#customDataSourc
e\".", |
| 3823 "type": "string" |
| 3824 } |
| 3825 }, |
| 3826 "type": "object" |
| 3827 }, |
| 3828 "recentChanges": { |
| 3829 "description": "Change log for last 10 changes in chronologi
cal order.", |
| 3830 "items": { |
| 3831 "properties": { |
| 3832 "change": { |
| 3833 "description": "The type of change: APPEND, RESE
T, or DELETE.", |
| 3834 "type": "string" |
| 3835 }, |
| 3836 "time": { |
| 3837 "description": "The time when the change occurre
d.", |
| 3838 "format": "date-time", |
| 3839 "type": "string" |
| 3840 } |
| 3841 }, |
| 3842 "type": "object" |
| 3843 }, |
| 3844 "type": "array" |
| 3845 }, |
| 3846 "selfLink": { |
| 3847 "description": "Link for this daily upload.", |
| 3848 "type": "string" |
| 3849 }, |
| 3850 "webPropertyId": { |
| 3851 "description": "Web property ID of the form UA-XXXXX-YY to w
hich this daily upload belongs.", |
| 3852 "type": "string" |
| 3853 } |
| 3854 }, |
| 3855 "type": "object" |
| 3856 }, |
| 3857 "DailyUploadAppend": { |
| 3858 "description": "Metadata returned for a successful append operation.
", |
| 3859 "id": "DailyUploadAppend", |
| 3860 "properties": { |
| 3861 "accountId": { |
| 3862 "description": "Account Id to which this daily upload append
belongs.", |
| 3863 "type": "string" |
| 3864 }, |
| 3865 "appendNumber": { |
| 3866 "description": "Append number.", |
| 3867 "format": "int32", |
| 3868 "type": "integer" |
| 3869 }, |
| 3870 "customDataSourceId": { |
| 3871 "description": "Custom data source Id to which this daily up
load append belongs.", |
| 3872 "type": "string" |
| 3873 }, |
| 3874 "date": { |
| 3875 "description": "Date associated with daily upload append.", |
| 3876 "type": "string" |
| 3877 }, |
| 3878 "kind": { |
| 3879 "default": "analytics#dailyUploadAppend", |
| 3880 "description": "Resource type for Analytics daily upload app
end.", |
| 3881 "type": "string" |
| 3882 }, |
| 3883 "nextAppendLink": { |
| 3884 "type": "string" |
| 3885 }, |
| 3886 "webPropertyId": { |
| 3887 "description": "Web property Id of the form UA-XXXXX-YY to w
hich this daily upload append belongs.", |
| 3888 "type": "string" |
| 3889 } |
| 3890 }, |
| 3891 "type": "object" |
| 3892 }, |
| 3893 "DailyUploads": { |
| 3894 "description": "A daily upload collection lists Analytics daily uplo
ads to which the user has access. Each resource in the collection corresponds to
a single Analytics daily upload.", |
| 3895 "id": "DailyUploads", |
| 3896 "properties": { |
| 3897 "items": { |
| 3898 "description": "A collection of daily uploads.", |
| 3899 "items": { |
| 3900 "$ref": "DailyUpload" |
| 3901 }, |
| 3902 "type": "array" |
| 3903 }, |
| 3904 "itemsPerPage": { |
| 3905 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 3906 "format": "int32", |
| 3907 "type": "integer" |
| 3908 }, |
| 3909 "kind": { |
| 3910 "default": "analytics#dailyUploads", |
| 3911 "description": "Collection type. Value is analytics#dailyUpl
oads.", |
| 3912 "type": "string" |
| 3913 }, |
| 3914 "nextLink": { |
| 3915 "description": "Link to next page for this daily upload coll
ection.", |
| 3916 "type": "string" |
| 3917 }, |
| 3918 "previousLink": { |
| 3919 "description": "Link to previous page for this daily upload
collection.", |
| 3920 "type": "string" |
| 3921 }, |
| 3922 "startIndex": { |
| 3923 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 3924 "format": "int32", |
| 3925 "type": "integer" |
| 3926 }, |
| 3927 "totalResults": { |
| 3928 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 3929 "format": "int32", |
| 3930 "type": "integer" |
| 3931 }, |
| 3932 "username": { |
| 3933 "description": "Email ID of the authenticated user", |
| 3934 "type": "string" |
| 3935 } |
| 3936 }, |
| 3937 "type": "object" |
| 3938 }, |
| 3939 "EntityAdWordsLink": { |
| 3940 "description": "JSON template for Analytics Entity AdWords Link.", |
| 3941 "id": "EntityAdWordsLink", |
| 3942 "properties": { |
| 3943 "adWordsAccounts": { |
| 3944 "annotations": { |
| 3945 "required": [ |
| 3946 "analytics.management.webPropertyAdWordsLinks.insert
", |
| 3947 "analytics.management.webPropertyAdWordsLinks.update
" |
| 3948 ] |
| 3949 }, |
| 3950 "description": "A list of AdWords client accounts. These can
not be MCC accounts. This field is required when creating an AdWords link. It ca
nnot be empty.", |
| 3951 "items": { |
| 3952 "$ref": "AdWordsAccount" |
| 3953 }, |
| 3954 "type": "array" |
| 3955 }, |
| 3956 "entity": { |
| 3957 "description": "Web property being linked.", |
| 3958 "properties": { |
| 3959 "webPropertyRef": { |
| 3960 "$ref": "WebPropertyRef" |
| 3961 } |
| 3962 }, |
| 3963 "type": "object" |
| 3964 }, |
| 3965 "id": { |
| 3966 "description": "Entity AdWords link ID", |
| 3967 "type": "string" |
| 3968 }, |
| 3969 "kind": { |
| 3970 "default": "analytics#entityAdWordsLink", |
| 3971 "description": "Resource type for entity AdWords link.", |
| 3972 "type": "string" |
| 3973 }, |
| 3974 "name": { |
| 3975 "annotations": { |
| 3976 "required": [ |
| 3977 "analytics.management.webPropertyAdWordsLinks.insert
", |
| 3978 "analytics.management.webPropertyAdWordsLinks.update
" |
| 3979 ] |
| 3980 }, |
| 3981 "description": "Name of the link. This field is required whe
n creating an AdWords link.", |
| 3982 "type": "string" |
| 3983 }, |
| 3984 "profileIds": { |
| 3985 "description": "IDs of linked Views (Profiles) represented a
s strings.", |
| 3986 "items": { |
| 3987 "type": "string" |
| 3988 }, |
| 3989 "type": "array" |
| 3990 }, |
| 3991 "selfLink": { |
| 3992 "description": "URL link for this Google Analytics - Google
AdWords link.", |
| 3993 "type": "string" |
| 3994 } |
| 3995 }, |
| 3996 "type": "object" |
| 3997 }, |
| 3998 "EntityAdWordsLinks": { |
| 3999 "description": "An entity AdWords link collection provides a list of
GA-AdWords links Each resource in this collection corresponds to a single link.
", |
| 4000 "id": "EntityAdWordsLinks", |
| 4001 "properties": { |
| 4002 "items": { |
| 4003 "description": "A list of entity AdWords links.", |
| 4004 "items": { |
| 4005 "$ref": "EntityAdWordsLink" |
| 4006 }, |
| 4007 "type": "array" |
| 4008 }, |
| 4009 "itemsPerPage": { |
| 4010 "description": "The maximum number of entries the response c
an contain, regardless of the actual number of entries returned. Its value range
s from 1 to 1000 with a value of 1000 by default, or otherwise specified by the
max-results query parameter.", |
| 4011 "format": "int32", |
| 4012 "type": "integer" |
| 4013 }, |
| 4014 "kind": { |
| 4015 "default": "analytics#entityAdWordsLinks", |
| 4016 "description": "Collection type.", |
| 4017 "type": "string" |
| 4018 }, |
| 4019 "nextLink": { |
| 4020 "description": "Next link for this AdWords link collection."
, |
| 4021 "type": "string" |
| 4022 }, |
| 4023 "previousLink": { |
| 4024 "description": "Previous link for this AdWords link collecti
on.", |
| 4025 "type": "string" |
| 4026 }, |
| 4027 "startIndex": { |
| 4028 "description": "The starting index of the entries, which is
1 by default or otherwise specified by the start-index query parameter.", |
| 4029 "format": "int32", |
| 4030 "type": "integer" |
| 4031 }, |
| 4032 "totalResults": { |
| 4033 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 4034 "format": "int32", |
| 4035 "type": "integer" |
| 4036 } |
| 4037 }, |
| 4038 "type": "object" |
| 4039 }, |
| 4040 "EntityUserLink": { |
| 4041 "description": "JSON template for an Analytics Entity-User Link. Ret
urns permissions that a user has for an entity.", |
| 4042 "id": "EntityUserLink", |
| 4043 "properties": { |
| 4044 "entity": { |
| 4045 "description": "Entity for this link. It can be an account,
a web property, or a view (profile).", |
| 4046 "properties": { |
| 4047 "accountRef": { |
| 4048 "$ref": "AccountRef", |
| 4049 "description": "Account for this link." |
| 4050 }, |
| 4051 "profileRef": { |
| 4052 "$ref": "ProfileRef", |
| 4053 "description": "View (Profile) for this link." |
| 4054 }, |
| 4055 "webPropertyRef": { |
| 4056 "$ref": "WebPropertyRef", |
| 4057 "description": "Web property for this link." |
| 4058 } |
| 4059 }, |
| 4060 "type": "object" |
| 4061 }, |
| 4062 "id": { |
| 4063 "description": "Entity user link ID", |
| 4064 "type": "string" |
| 4065 }, |
| 4066 "kind": { |
| 4067 "default": "analytics#entityUserLink", |
| 4068 "description": "Resource type for entity user link.", |
| 4069 "type": "string" |
| 4070 }, |
| 4071 "permissions": { |
| 4072 "description": "Permissions the user has for this entity.", |
| 4073 "properties": { |
| 4074 "effective": { |
| 4075 "description": "Effective permissions represent all
the permissions that a user has for this entity. These include any implied permi
ssions (e.g., EDIT implies VIEW) or inherited permissions from the parent entity
. Effective permissions are read-only.", |
| 4076 "items": { |
| 4077 "type": "string" |
| 4078 }, |
| 4079 "readOnly": true, |
| 4080 "type": "array" |
| 4081 }, |
| 4082 "local": { |
| 4083 "description": "Permissions that a user has been ass
igned at this very level. Does not include any implied or inherited permissions.
Local permissions are modifiable.", |
| 4084 "items": { |
| 4085 "type": "string" |
| 4086 }, |
| 4087 "type": "array" |
| 4088 } |
| 4089 }, |
| 4090 "type": "object" |
| 4091 }, |
| 4092 "selfLink": { |
| 4093 "description": "Self link for this resource.", |
| 4094 "type": "string" |
| 4095 }, |
| 4096 "userRef": { |
| 4097 "$ref": "UserRef", |
| 4098 "description": "User reference." |
| 4099 } |
| 4100 }, |
| 4101 "type": "object" |
| 4102 }, |
| 4103 "EntityUserLinks": { |
| 4104 "description": "An entity user link collection provides a list of An
alytics ACL links Each resource in this collection corresponds to a single link.
", |
| 4105 "id": "EntityUserLinks", |
| 4106 "properties": { |
| 4107 "items": { |
| 4108 "description": "A list of entity user links.", |
| 4109 "items": { |
| 4110 "$ref": "EntityUserLink" |
| 4111 }, |
| 4112 "type": "array" |
| 4113 }, |
| 4114 "itemsPerPage": { |
| 4115 "description": "The maximum number of entries the response c
an contain, regardless of the actual number of entries returned. Its value range
s from 1 to 1000 with a value of 1000 by default, or otherwise specified by the
max-results query parameter.", |
| 4116 "format": "int32", |
| 4117 "type": "integer" |
| 4118 }, |
| 4119 "kind": { |
| 4120 "default": "analytics#entityUserLinks", |
| 4121 "description": "Collection type.", |
| 4122 "type": "string" |
| 4123 }, |
| 4124 "nextLink": { |
| 4125 "description": "Next link for this account collection.", |
| 4126 "type": "string" |
| 4127 }, |
| 4128 "previousLink": { |
| 4129 "description": "Previous link for this account collection.", |
| 4130 "type": "string" |
| 4131 }, |
| 4132 "startIndex": { |
| 4133 "description": "The starting index of the entries, which is
1 by default or otherwise specified by the start-index query parameter.", |
| 4134 "format": "int32", |
| 4135 "type": "integer" |
| 4136 }, |
| 4137 "totalResults": { |
| 4138 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 4139 "format": "int32", |
| 4140 "type": "integer" |
| 4141 } |
| 4142 }, |
| 4143 "type": "object" |
| 4144 }, |
| 4145 "Experiment": { |
| 4146 "description": "JSON template for Analytics experiment resource.", |
| 4147 "id": "Experiment", |
| 4148 "properties": { |
| 4149 "accountId": { |
| 4150 "description": "Account ID to which this experiment belongs.
This field is read-only.", |
| 4151 "type": "string" |
| 4152 }, |
| 4153 "created": { |
| 4154 "description": "Time the experiment was created. This field
is read-only.", |
| 4155 "format": "date-time", |
| 4156 "type": "string" |
| 4157 }, |
| 4158 "description": { |
| 4159 "description": "Notes about this experiment.", |
| 4160 "type": "string" |
| 4161 }, |
| 4162 "editableInGaUi": { |
| 4163 "description": "If true, the end user will be able to edit t
he experiment via the Google Analytics user interface.", |
| 4164 "type": "boolean" |
| 4165 }, |
| 4166 "endTime": { |
| 4167 "description": "The ending time of the experiment (the time
the status changed from RUNNING to ENDED). This field is present only if the exp
eriment has ended. This field is read-only.", |
| 4168 "format": "date-time", |
| 4169 "type": "string" |
| 4170 }, |
| 4171 "equalWeighting": { |
| 4172 "description": "Boolean specifying whether to distribute tra
ffic evenly across all variations. If the value is False, content experiments fo
llows the default behavior of adjusting traffic dynamically based on variation p
erformance. Optional -- defaults to False. This field may not be changed for an
experiment whose status is ENDED.", |
| 4173 "type": "boolean" |
| 4174 }, |
| 4175 "id": { |
| 4176 "annotations": { |
| 4177 "required": [ |
| 4178 "analytics.management.experiments.patch", |
| 4179 "analytics.management.experiments.update" |
| 4180 ] |
| 4181 }, |
| 4182 "description": "Experiment ID. Required for patch and update
. Disallowed for create.", |
| 4183 "type": "string" |
| 4184 }, |
| 4185 "internalWebPropertyId": { |
| 4186 "description": "Internal ID for the web property to which th
is experiment belongs. This field is read-only.", |
| 4187 "type": "string" |
| 4188 }, |
| 4189 "kind": { |
| 4190 "default": "analytics#experiment", |
| 4191 "description": "Resource type for an Analytics experiment. T
his field is read-only.", |
| 4192 "type": "string" |
| 4193 }, |
| 4194 "minimumExperimentLengthInDays": { |
| 4195 "description": "An integer number in [3, 90]. Specifies the
minimum length of the experiment. Can be changed for a running experiment. This
field may not be changed for an experiments whose status is ENDED.", |
| 4196 "format": "int32", |
| 4197 "type": "integer" |
| 4198 }, |
| 4199 "name": { |
| 4200 "annotations": { |
| 4201 "required": [ |
| 4202 "analytics.management.experiments.insert", |
| 4203 "analytics.management.experiments.update" |
| 4204 ] |
| 4205 }, |
| 4206 "description": "Experiment name. This field may not be chang
ed for an experiment whose status is ENDED. This field is required when creating
an experiment.", |
| 4207 "type": "string" |
| 4208 }, |
| 4209 "objectiveMetric": { |
| 4210 "description": "The metric that the experiment is optimizing
. Valid values: \"ga:goal(n)Completions\", \"ga:adsenseAdsClicks\", \"ga:adsense
AdsViewed\", \"ga:adsenseRevenue\", \"ga:bounces\", \"ga:pageviews\", \"ga:sessi
onDuration\", \"ga:transactions\", \"ga:transactionRevenue\". This field is requ
ired if status is \"RUNNING\" and servingFramework is one of \"REDIRECT\" or \"A
PI\".", |
| 4211 "type": "string" |
| 4212 }, |
| 4213 "optimizationType": { |
| 4214 "description": "Whether the objectiveMetric should be minimi
zed or maximized. Possible values: \"MAXIMUM\", \"MINIMUM\". Optional--defaults
to \"MAXIMUM\". Cannot be specified without objectiveMetric. Cannot be modified
when status is \"RUNNING\" or \"ENDED\".", |
| 4215 "type": "string" |
| 4216 }, |
| 4217 "parentLink": { |
| 4218 "description": "Parent link for an experiment. Points to the
view (profile) to which this experiment belongs.", |
| 4219 "properties": { |
| 4220 "href": { |
| 4221 "description": "Link to the view (profile) to which
this experiment belongs. This field is read-only.", |
| 4222 "type": "string" |
| 4223 }, |
| 4224 "type": { |
| 4225 "default": "analytics#profile", |
| 4226 "description": "Value is \"analytics#profile\". This
field is read-only.", |
| 4227 "type": "string" |
| 4228 } |
| 4229 }, |
| 4230 "type": "object" |
| 4231 }, |
| 4232 "profileId": { |
| 4233 "description": "View (Profile) ID to which this experiment b
elongs. This field is read-only.", |
| 4234 "type": "string" |
| 4235 }, |
| 4236 "reasonExperimentEnded": { |
| 4237 "description": "Why the experiment ended. Possible values: \
"STOPPED_BY_USER\", \"WINNER_FOUND\", \"EXPERIMENT_EXPIRED\", \"ENDED_WITH_NO_WI
NNER\", \"GOAL_OBJECTIVE_CHANGED\". \"ENDED_WITH_NO_WINNER\" means that the expe
riment didn't expire but no winner was projected to be found. If the experiment
status is changed via the API to ENDED this field is set to STOPPED_BY_USER. Thi
s field is read-only.", |
| 4238 "type": "string" |
| 4239 }, |
| 4240 "rewriteVariationUrlsAsOriginal": { |
| 4241 "description": "Boolean specifying whether variations URLS a
re rewritten to match those of the original. This field may not be changed for a
n experiments whose status is ENDED.", |
| 4242 "type": "boolean" |
| 4243 }, |
| 4244 "selfLink": { |
| 4245 "description": "Link for this experiment. This field is read
-only.", |
| 4246 "type": "string" |
| 4247 }, |
| 4248 "servingFramework": { |
| 4249 "description": "The framework used to serve the experiment v
ariations and evaluate the results. One of: \n- REDIRECT: Google Analytics redi
rects traffic to different variation pages, reports the chosen variation and eva
luates the results.\n- API: Google Analytics chooses and reports the variation t
o serve and evaluates the results; the caller is responsible for serving the sel
ected variation.\n- EXTERNAL: The variations will be served externally and the c
hosen variation reported to Google Analytics. The caller is responsible for serv
ing the selected variation and evaluating the results.", |
| 4250 "type": "string" |
| 4251 }, |
| 4252 "snippet": { |
| 4253 "description": "The snippet of code to include on the contro
l page(s). This field is read-only.", |
| 4254 "type": "string" |
| 4255 }, |
| 4256 "startTime": { |
| 4257 "description": "The starting time of the experiment (the tim
e the status changed from READY_TO_RUN to RUNNING). This field is present only i
f the experiment has started. This field is read-only.", |
| 4258 "format": "date-time", |
| 4259 "type": "string" |
| 4260 }, |
| 4261 "status": { |
| 4262 "annotations": { |
| 4263 "required": [ |
| 4264 "analytics.management.experiments.insert", |
| 4265 "analytics.management.experiments.update" |
| 4266 ] |
| 4267 }, |
| 4268 "description": "Experiment status. Possible values: \"DRAFT\
", \"READY_TO_RUN\", \"RUNNING\", \"ENDED\". Experiments can be created in the \
"DRAFT\", \"READY_TO_RUN\" or \"RUNNING\" state. This field is required when cre
ating an experiment.", |
| 4269 "type": "string" |
| 4270 }, |
| 4271 "trafficCoverage": { |
| 4272 "description": "A floating-point number between 0 and 1. Spe
cifies the fraction of the traffic that participates in the experiment. Can be c
hanged for a running experiment. This field may not be changed for an experiment
s whose status is ENDED.", |
| 4273 "format": "double", |
| 4274 "type": "number" |
| 4275 }, |
| 4276 "updated": { |
| 4277 "description": "Time the experiment was last modified. This
field is read-only.", |
| 4278 "format": "date-time", |
| 4279 "type": "string" |
| 4280 }, |
| 4281 "variations": { |
| 4282 "description": "Array of variations. The first variation in
the array is the original. The number of variations may not change once an exper
iment is in the RUNNING state. At least two variations are required before statu
s can be set to RUNNING.", |
| 4283 "items": { |
| 4284 "properties": { |
| 4285 "name": { |
| 4286 "annotations": { |
| 4287 "required": [ |
| 4288 "analytics.management.experiments.insert
", |
| 4289 "analytics.management.experiments.update
" |
| 4290 ] |
| 4291 }, |
| 4292 "description": "The name of the variation. This
field is required when creating an experiment. This field may not be changed for
an experiment whose status is ENDED.", |
| 4293 "type": "string" |
| 4294 }, |
| 4295 "status": { |
| 4296 "description": "Status of the variation. Possibl
e values: \"ACTIVE\", \"INACTIVE\". INACTIVE variations are not served. This fie
ld may not be changed for an experiment whose status is ENDED.", |
| 4297 "type": "string" |
| 4298 }, |
| 4299 "url": { |
| 4300 "description": "The URL of the variation. This f
ield may not be changed for an experiment whose status is RUNNING or ENDED.", |
| 4301 "type": "string" |
| 4302 }, |
| 4303 "weight": { |
| 4304 "description": "Weight that this variation shoul
d receive. Only present if the experiment is running. This field is read-only.", |
| 4305 "format": "double", |
| 4306 "type": "number" |
| 4307 }, |
| 4308 "won": { |
| 4309 "description": "True if the experiment has ended
and this variation performed (statistically) significantly better than the orig
inal. This field is read-only.", |
| 4310 "type": "boolean" |
| 4311 } |
| 4312 }, |
| 4313 "type": "object" |
| 4314 }, |
| 4315 "type": "array" |
| 4316 }, |
| 4317 "webPropertyId": { |
| 4318 "description": "Web property ID to which this experiment bel
ongs. The web property ID is of the form UA-XXXXX-YY. This field is read-only.", |
| 4319 "type": "string" |
| 4320 }, |
| 4321 "winnerConfidenceLevel": { |
| 4322 "description": "A floating-point number between 0 and 1. Spe
cifies the necessary confidence level to choose a winner. This field may not be
changed for an experiments whose status is ENDED.", |
| 4323 "format": "double", |
| 4324 "type": "number" |
| 4325 }, |
| 4326 "winnerFound": { |
| 4327 "description": "Boolean specifying whether a winner has been
found for this experiment. This field is read-only.", |
| 4328 "type": "boolean" |
| 4329 } |
| 4330 }, |
| 4331 "type": "object" |
| 4332 }, |
| 4333 "Experiments": { |
| 4334 "description": "An experiment collection lists Analytics experiments
to which the user has access. Each view (profile) can have a set of experiments
. Each resource in the Experiment collection corresponds to a single Analytics e
xperiment.", |
| 4335 "id": "Experiments", |
| 4336 "properties": { |
| 4337 "items": { |
| 4338 "description": "A list of experiments.", |
| 4339 "items": { |
| 4340 "$ref": "Experiment" |
| 4341 }, |
| 4342 "type": "array" |
| 4343 }, |
| 4344 "itemsPerPage": { |
| 4345 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 4346 "format": "int32", |
| 4347 "type": "integer" |
| 4348 }, |
| 4349 "kind": { |
| 4350 "default": "analytics#experiments", |
| 4351 "description": "Collection type.", |
| 4352 "type": "string" |
| 4353 }, |
| 4354 "nextLink": { |
| 4355 "description": "Link to next page for this experiment collec
tion.", |
| 4356 "type": "string" |
| 4357 }, |
| 4358 "previousLink": { |
| 4359 "description": "Link to previous page for this experiment co
llection.", |
| 4360 "type": "string" |
| 4361 }, |
| 4362 "startIndex": { |
| 4363 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 4364 "format": "int32", |
| 4365 "type": "integer" |
| 4366 }, |
| 4367 "totalResults": { |
| 4368 "description": "The total number of results for the query, r
egardless of the number of resources in the result.", |
| 4369 "format": "int32", |
| 4370 "type": "integer" |
| 4371 }, |
| 4372 "username": { |
| 4373 "description": "Email ID of the authenticated user", |
| 4374 "type": "string" |
| 4375 } |
| 4376 }, |
| 4377 "type": "object" |
| 4378 }, |
| 4379 "Filter": { |
| 4380 "description": "JSON template for an Analytics account filter.", |
| 4381 "id": "Filter", |
| 4382 "properties": { |
| 4383 "accountId": { |
| 4384 "description": "Account ID to which this filter belongs.", |
| 4385 "type": "string" |
| 4386 }, |
| 4387 "advancedDetails": { |
| 4388 "description": "Details for the filter of the type ADVANCED.
", |
| 4389 "properties": { |
| 4390 "caseSensitive": { |
| 4391 "description": "Indicates if the filter expressions
are case sensitive.", |
| 4392 "type": "boolean" |
| 4393 }, |
| 4394 "extractA": { |
| 4395 "description": "Expression to extract from field A."
, |
| 4396 "type": "string" |
| 4397 }, |
| 4398 "extractB": { |
| 4399 "description": "Expression to extract from field B."
, |
| 4400 "type": "string" |
| 4401 }, |
| 4402 "fieldA": { |
| 4403 "description": "Field A.", |
| 4404 "type": "string" |
| 4405 }, |
| 4406 "fieldARequired": { |
| 4407 "description": "Indicates if field A is required to
match.", |
| 4408 "type": "boolean" |
| 4409 }, |
| 4410 "fieldB": { |
| 4411 "description": "Field B.", |
| 4412 "type": "string" |
| 4413 }, |
| 4414 "fieldBRequired": { |
| 4415 "description": "Indicates if field B is required to
match.", |
| 4416 "type": "boolean" |
| 4417 }, |
| 4418 "outputConstructor": { |
| 4419 "description": "Expression used to construct the out
put value.", |
| 4420 "type": "string" |
| 4421 }, |
| 4422 "outputToField": { |
| 4423 "description": "Output field.", |
| 4424 "type": "string" |
| 4425 }, |
| 4426 "overrideOutputField": { |
| 4427 "description": "Indicates if the existing value of t
he output field, if any, should be overridden by the output expression.", |
| 4428 "type": "boolean" |
| 4429 } |
| 4430 }, |
| 4431 "type": "object" |
| 4432 }, |
| 4433 "created": { |
| 4434 "description": "Time this filter was created.", |
| 4435 "format": "date-time", |
| 4436 "readOnly": true, |
| 4437 "type": "string" |
| 4438 }, |
| 4439 "excludeDetails": { |
| 4440 "$ref": "FilterExpression", |
| 4441 "description": "Details for the filter of the type EXCLUDE." |
| 4442 }, |
| 4443 "id": { |
| 4444 "description": "Filter ID.", |
| 4445 "type": "string" |
| 4446 }, |
| 4447 "includeDetails": { |
| 4448 "$ref": "FilterExpression", |
| 4449 "description": "Details for the filter of the type INCLUDE." |
| 4450 }, |
| 4451 "kind": { |
| 4452 "default": "analytics#filter", |
| 4453 "description": "Resource type for Analytics filter.", |
| 4454 "readOnly": true, |
| 4455 "type": "string" |
| 4456 }, |
| 4457 "lowercaseDetails": { |
| 4458 "description": "Details for the filter of the type LOWER.", |
| 4459 "properties": { |
| 4460 "field": { |
| 4461 "description": "Field to use in the filter.", |
| 4462 "type": "string" |
| 4463 } |
| 4464 }, |
| 4465 "type": "object" |
| 4466 }, |
| 4467 "name": { |
| 4468 "annotations": { |
| 4469 "required": [ |
| 4470 "analytics.management.filters.insert", |
| 4471 "analytics.management.filters.update" |
| 4472 ] |
| 4473 }, |
| 4474 "description": "Name of this filter.", |
| 4475 "type": "string" |
| 4476 }, |
| 4477 "parentLink": { |
| 4478 "description": "Parent link for this filter. Points to the a
ccount to which this filter belongs.", |
| 4479 "properties": { |
| 4480 "href": { |
| 4481 "description": "Link to the account to which this fi
lter belongs.", |
| 4482 "type": "string" |
| 4483 }, |
| 4484 "type": { |
| 4485 "default": "analytics#account", |
| 4486 "description": "Value is \"analytics#account\".", |
| 4487 "type": "string" |
| 4488 } |
| 4489 }, |
| 4490 "type": "object" |
| 4491 }, |
| 4492 "searchAndReplaceDetails": { |
| 4493 "description": "Details for the filter of the type SEARCH_AN
D_REPLACE.", |
| 4494 "properties": { |
| 4495 "caseSensitive": { |
| 4496 "description": "Determines if the filter is case sen
sitive.", |
| 4497 "type": "boolean" |
| 4498 }, |
| 4499 "field": { |
| 4500 "description": "Field to use in the filter.", |
| 4501 "type": "string" |
| 4502 }, |
| 4503 "replaceString": { |
| 4504 "description": "Term to replace the search term with
.", |
| 4505 "type": "string" |
| 4506 }, |
| 4507 "searchString": { |
| 4508 "description": "Term to search.", |
| 4509 "type": "string" |
| 4510 } |
| 4511 }, |
| 4512 "type": "object" |
| 4513 }, |
| 4514 "selfLink": { |
| 4515 "description": "Link for this filter.", |
| 4516 "readOnly": true, |
| 4517 "type": "string" |
| 4518 }, |
| 4519 "type": { |
| 4520 "annotations": { |
| 4521 "required": [ |
| 4522 "analytics.management.filters.insert", |
| 4523 "analytics.management.filters.update" |
| 4524 ] |
| 4525 }, |
| 4526 "description": "Type of this filter. Possible values are INC
LUDE, EXCLUDE, LOWERCASE, UPPERCASE, SEARCH_AND_REPLACE and ADVANCED.", |
| 4527 "type": "string" |
| 4528 }, |
| 4529 "updated": { |
| 4530 "description": "Time this filter was last modified.", |
| 4531 "format": "date-time", |
| 4532 "readOnly": true, |
| 4533 "type": "string" |
| 4534 }, |
| 4535 "uppercaseDetails": { |
| 4536 "description": "Details for the filter of the type UPPER.", |
| 4537 "properties": { |
| 4538 "field": { |
| 4539 "description": "Field to use in the filter.", |
| 4540 "type": "string" |
| 4541 } |
| 4542 }, |
| 4543 "type": "object" |
| 4544 } |
| 4545 }, |
| 4546 "type": "object" |
| 4547 }, |
| 4548 "FilterExpression": { |
| 4549 "description": "JSON template for an Analytics filter expression.", |
| 4550 "id": "FilterExpression", |
| 4551 "properties": { |
| 4552 "caseSensitive": { |
| 4553 "description": "Determines if the filter is case sensitive."
, |
| 4554 "type": "boolean" |
| 4555 }, |
| 4556 "expressionValue": { |
| 4557 "description": "Filter expression value", |
| 4558 "type": "string" |
| 4559 }, |
| 4560 "field": { |
| 4561 "description": "Field to filter. Possible values: \n- Reser
ved \n- UNUSED, \n- Content and Traffic \n- PAGE_REQUEST_URI, \n- PAGE_HOSTN
AME, \n- PAGE_TITLE, \n- REFERRAL, \n- COST_DATA_URI (Campaign target URL), \n-
HIT_TYPE, \n- INTERNAL_SEARCH_TERM, \n- INTERNAL_SEARCH_TYPE, \n- SOURCE_PROPERT
Y_TRACKING_ID, \n- Campaign or AdGroup \n- CAMPAIGN_SOURCE, \n- CAMPAIGN_MEDI
UM, \n- CAMPAIGN_NAME, \n- CAMPAIGN_AD_GROUP, \n- CAMPAIGN_TERM, \n- CAMPAIGN_CO
NTENT, \n- CAMPAIGN_CODE, \n- CAMPAIGN_REFERRAL_PATH, \n- E-Commerce \n- TRAN
SACTION_COUNTRY, \n- TRANSACTION_REGION, \n- TRANSACTION_CITY, \n- TRANSACTION_A
FFILIATION (Store or order location), \n- ITEM_NAME, \n- ITEM_CODE, \n- ITEM_VAR
IATION, \n- TRANSACTION_ID, \n- TRANSACTION_CURRENCY_CODE, \n- PRODUCT_ACTION_TY
PE, \n- Audience/Users \n- BROWSER, \n- BROWSER_VERSION, \n- BROWSER_SIZE, \n
- PLATFORM, \n- PLATFORM_VERSION, \n- LANGUAGE, \n- SCREEN_RESOLUTION, \n- SCREE
N_COLORS, \n- JAVA_ENABLED, \n- FLASH_VERSION, \n- GEO_SPEED (Connection speed),
\n- VISITOR_TYPE, \n- GEO_ORGANIZATION (ISP organization), \n- GEO_DOMAIN, \n-
GEO_IP_ADDRESS, \n- GEO_IP_VERSION, \n- Location \n- GEO_COUNTRY, \n- GEO_REG
ION, \n- GEO_CITY, \n- Event \n- EVENT_CATEGORY, \n- EVENT_ACTION, \n- EVENT_
LABEL, \n- Other \n- CUSTOM_FIELD_1, \n- CUSTOM_FIELD_2, \n- USER_DEFINED_VAL
UE, \n- Application \n- APP_ID, \n- APP_INSTALLER_ID, \n- APP_NAME, \n- APP_V
ERSION, \n- SCREEN, \n- IS_APP, \n- IS_FATAL_EXCEPTION, \n- EXCEPTION_DESCRIPTIO
N, \n- Mobile device \n- IS_MOBILE, \n- IS_TABLET, \n- MOBILE_HAS_QWERTY_KEYB
OARD, \n- MOBILE_HAS_NFC_SUPPORT, \n- MOBILE_HAS_CELLULAR_RADIO, \n- MOBILE_HAS_
WIFI_SUPPORT, \n- MOBILE_BRAND_NAME, \n- MOBILE_MODEL_NAME, \n- MOBILE_MARKETING
_NAME, \n- MOBILE_POINTING_METHOD, \n- Social \n- SOCIAL_NETWORK, \n- SOCIAL_
ACTION, \n- SOCIAL_ACTION_TARGET,", |
| 4562 "type": "string" |
| 4563 }, |
| 4564 "kind": { |
| 4565 "default": "analytics#filterExpression", |
| 4566 "description": "Kind value for filter expression", |
| 4567 "type": "string" |
| 4568 }, |
| 4569 "matchType": { |
| 4570 "description": "Match type for this filter. Possible values
are BEGINS_WITH, EQUAL, ENDS_WITH, CONTAINS, MATCHES. Include and Exclude filter
s can use any match type. Match type is not applicable to Upper case and Lower c
ase filters. Search and Replace expressions in the Search and Replace filter and
all filter expressions in the Advanced filter default to MATCHES. User should n
ot set match type for those filters.", |
| 4571 "type": "string" |
| 4572 } |
| 4573 }, |
| 4574 "type": "object" |
| 4575 }, |
| 4576 "FilterRef": { |
| 4577 "description": "JSON template for a profile filter link.", |
| 4578 "id": "FilterRef", |
| 4579 "properties": { |
| 4580 "accountId": { |
| 4581 "description": "Account ID to which this filter belongs.", |
| 4582 "readOnly": true, |
| 4583 "type": "string" |
| 4584 }, |
| 4585 "href": { |
| 4586 "description": "Link for this filter.", |
| 4587 "type": "string" |
| 4588 }, |
| 4589 "id": { |
| 4590 "annotations": { |
| 4591 "required": [ |
| 4592 "analytics.management.profileFilterLinks.insert" |
| 4593 ] |
| 4594 }, |
| 4595 "description": "Filter ID.", |
| 4596 "type": "string" |
| 4597 }, |
| 4598 "kind": { |
| 4599 "default": "analytics#filterRef", |
| 4600 "description": "Kind value for filter reference.", |
| 4601 "type": "string" |
| 4602 }, |
| 4603 "name": { |
| 4604 "description": "Name of this filter.", |
| 4605 "readOnly": true, |
| 4606 "type": "string" |
| 4607 } |
| 4608 }, |
| 4609 "type": "object" |
| 4610 }, |
| 4611 "Filters": { |
| 4612 "description": "A filter collection lists filters created by users i
n an Analytics account. Each resource in the collection corresponds to a filter.
", |
| 4613 "id": "Filters", |
| 4614 "properties": { |
| 4615 "items": { |
| 4616 "description": "A list of filters.", |
| 4617 "items": { |
| 4618 "$ref": "Filter" |
| 4619 }, |
| 4620 "type": "array" |
| 4621 }, |
| 4622 "itemsPerPage": { |
| 4623 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 4624 "format": "int32", |
| 4625 "type": "integer" |
| 4626 }, |
| 4627 "kind": { |
| 4628 "default": "analytics#filters", |
| 4629 "description": "Collection type.", |
| 4630 "type": "string" |
| 4631 }, |
| 4632 "nextLink": { |
| 4633 "description": "Link to next page for this filter collection
.", |
| 4634 "type": "string" |
| 4635 }, |
| 4636 "previousLink": { |
| 4637 "description": "Link to previous page for this filter collec
tion.", |
| 4638 "type": "string" |
| 4639 }, |
| 4640 "startIndex": { |
| 4641 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 4642 "format": "int32", |
| 4643 "type": "integer" |
| 4644 }, |
| 4645 "totalResults": { |
| 4646 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 4647 "format": "int32", |
| 4648 "type": "integer" |
| 4649 }, |
| 4650 "username": { |
| 4651 "description": "Email ID of the authenticated user", |
| 4652 "type": "string" |
| 4653 } |
| 4654 }, |
| 4655 "type": "object" |
| 4656 }, |
| 4657 "GaData": { |
| 4658 "description": "Analytics data for a given view (profile).", |
| 4659 "id": "GaData", |
| 4660 "properties": { |
| 4661 "columnHeaders": { |
| 4662 "description": "Column headers that list dimension names fol
lowed by the metric names. The order of dimensions and metrics is same as specif
ied in the request.", |
| 4663 "items": { |
| 4664 "properties": { |
| 4665 "columnType": { |
| 4666 "description": "Column Type. Either DIMENSION or
METRIC.", |
| 4667 "type": "string" |
| 4668 }, |
| 4669 "dataType": { |
| 4670 "description": "Data type. Dimension column head
ers have only STRING as the data type. Metric column headers have data types for
metric values such as INTEGER, DOUBLE, CURRENCY etc.", |
| 4671 "type": "string" |
| 4672 }, |
| 4673 "name": { |
| 4674 "description": "Column name.", |
| 4675 "type": "string" |
| 4676 } |
| 4677 }, |
| 4678 "type": "object" |
| 4679 }, |
| 4680 "type": "array" |
| 4681 }, |
| 4682 "containsSampledData": { |
| 4683 "description": "Determines if Analytics data contains sample
s.", |
| 4684 "type": "boolean" |
| 4685 }, |
| 4686 "dataTable": { |
| 4687 "properties": { |
| 4688 "cols": { |
| 4689 "items": { |
| 4690 "properties": { |
| 4691 "id": { |
| 4692 "type": "string" |
| 4693 }, |
| 4694 "label": { |
| 4695 "type": "string" |
| 4696 }, |
| 4697 "type": { |
| 4698 "type": "string" |
| 4699 } |
| 4700 }, |
| 4701 "type": "object" |
| 4702 }, |
| 4703 "type": "array" |
| 4704 }, |
| 4705 "rows": { |
| 4706 "items": { |
| 4707 "properties": { |
| 4708 "c": { |
| 4709 "items": { |
| 4710 "properties": { |
| 4711 "v": { |
| 4712 "type": "string" |
| 4713 } |
| 4714 }, |
| 4715 "type": "object" |
| 4716 }, |
| 4717 "type": "array" |
| 4718 } |
| 4719 }, |
| 4720 "type": "object" |
| 4721 }, |
| 4722 "type": "array" |
| 4723 } |
| 4724 }, |
| 4725 "type": "object" |
| 4726 }, |
| 4727 "id": { |
| 4728 "description": "Unique ID for this data response.", |
| 4729 "type": "string" |
| 4730 }, |
| 4731 "itemsPerPage": { |
| 4732 "description": "The maximum number of rows the response can
contain, regardless of the actual number of rows returned. Its value ranges from
1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-
results query parameter.", |
| 4733 "format": "int32", |
| 4734 "type": "integer" |
| 4735 }, |
| 4736 "kind": { |
| 4737 "default": "analytics#gaData", |
| 4738 "description": "Resource type.", |
| 4739 "type": "string" |
| 4740 }, |
| 4741 "nextLink": { |
| 4742 "description": "Link to next page for this Analytics data qu
ery.", |
| 4743 "type": "string" |
| 4744 }, |
| 4745 "previousLink": { |
| 4746 "description": "Link to previous page for this Analytics dat
a query.", |
| 4747 "type": "string" |
| 4748 }, |
| 4749 "profileInfo": { |
| 4750 "description": "Information for the view (profile), for whic
h the Analytics data was requested.", |
| 4751 "properties": { |
| 4752 "accountId": { |
| 4753 "description": "Account ID to which this view (profi
le) belongs.", |
| 4754 "type": "string" |
| 4755 }, |
| 4756 "internalWebPropertyId": { |
| 4757 "description": "Internal ID for the web property to
which this view (profile) belongs.", |
| 4758 "type": "string" |
| 4759 }, |
| 4760 "profileId": { |
| 4761 "description": "View (Profile) ID.", |
| 4762 "type": "string" |
| 4763 }, |
| 4764 "profileName": { |
| 4765 "description": "View (Profile) name.", |
| 4766 "type": "string" |
| 4767 }, |
| 4768 "tableId": { |
| 4769 "description": "Table ID for view (profile).", |
| 4770 "type": "string" |
| 4771 }, |
| 4772 "webPropertyId": { |
| 4773 "description": "Web Property ID to which this view (
profile) belongs.", |
| 4774 "type": "string" |
| 4775 } |
| 4776 }, |
| 4777 "type": "object" |
| 4778 }, |
| 4779 "query": { |
| 4780 "description": "Analytics data request query parameters.", |
| 4781 "properties": { |
| 4782 "dimensions": { |
| 4783 "description": "List of analytics dimensions.", |
| 4784 "type": "string" |
| 4785 }, |
| 4786 "end-date": { |
| 4787 "description": "End date.", |
| 4788 "type": "string" |
| 4789 }, |
| 4790 "filters": { |
| 4791 "description": "Comma-separated list of dimension or
metric filters.", |
| 4792 "type": "string" |
| 4793 }, |
| 4794 "ids": { |
| 4795 "description": "Unique table ID.", |
| 4796 "type": "string" |
| 4797 }, |
| 4798 "max-results": { |
| 4799 "description": "Maximum results per page.", |
| 4800 "format": "int32", |
| 4801 "type": "integer" |
| 4802 }, |
| 4803 "metrics": { |
| 4804 "description": "List of analytics metrics.", |
| 4805 "items": { |
| 4806 "type": "string" |
| 4807 }, |
| 4808 "type": "array" |
| 4809 }, |
| 4810 "samplingLevel": { |
| 4811 "description": "Desired sampling level", |
| 4812 "type": "string" |
| 4813 }, |
| 4814 "segment": { |
| 4815 "description": "Analytics advanced segment.", |
| 4816 "type": "string" |
| 4817 }, |
| 4818 "sort": { |
| 4819 "description": "List of dimensions or metrics based
on which Analytics data is sorted.", |
| 4820 "items": { |
| 4821 "type": "string" |
| 4822 }, |
| 4823 "type": "array" |
| 4824 }, |
| 4825 "start-date": { |
| 4826 "description": "Start date.", |
| 4827 "type": "string" |
| 4828 }, |
| 4829 "start-index": { |
| 4830 "description": "Start index.", |
| 4831 "format": "int32", |
| 4832 "type": "integer" |
| 4833 } |
| 4834 }, |
| 4835 "type": "object" |
| 4836 }, |
| 4837 "rows": { |
| 4838 "description": "Analytics data rows, where each row contains
a list of dimension values followed by the metric values. The order of dimensio
ns and metrics is same as specified in the request.", |
| 4839 "items": { |
| 4840 "items": { |
| 4841 "type": "string" |
| 4842 }, |
| 4843 "type": "array" |
| 4844 }, |
| 4845 "type": "array" |
| 4846 }, |
| 4847 "sampleSize": { |
| 4848 "description": "The number of samples used to calculate the
result.", |
| 4849 "format": "int64", |
| 4850 "type": "string" |
| 4851 }, |
| 4852 "sampleSpace": { |
| 4853 "description": "Total size of the sample space from which th
e samples were selected.", |
| 4854 "format": "int64", |
| 4855 "type": "string" |
| 4856 }, |
| 4857 "selfLink": { |
| 4858 "description": "Link to this page.", |
| 4859 "type": "string" |
| 4860 }, |
| 4861 "totalResults": { |
| 4862 "description": "The total number of rows for the query, rega
rdless of the number of rows in the response.", |
| 4863 "format": "int32", |
| 4864 "type": "integer" |
| 4865 }, |
| 4866 "totalsForAllResults": { |
| 4867 "additionalProperties": { |
| 4868 "description": "Key-value pair for the total value of a
metric. Key is the metric name and the value is the total value for that metric.
", |
| 4869 "type": "string" |
| 4870 }, |
| 4871 "description": "Total values for the requested metrics over
all the results, not just the results returned in this response. The order of th
e metric totals is same as the metric order specified in the request.", |
| 4872 "type": "object" |
| 4873 } |
| 4874 }, |
| 4875 "type": "object" |
| 4876 }, |
| 4877 "Goal": { |
| 4878 "description": "JSON template for Analytics goal resource.", |
| 4879 "id": "Goal", |
| 4880 "properties": { |
| 4881 "accountId": { |
| 4882 "description": "Account ID to which this goal belongs.", |
| 4883 "type": "string" |
| 4884 }, |
| 4885 "active": { |
| 4886 "description": "Determines whether this goal is active.", |
| 4887 "type": "boolean" |
| 4888 }, |
| 4889 "created": { |
| 4890 "description": "Time this goal was created.", |
| 4891 "format": "date-time", |
| 4892 "type": "string" |
| 4893 }, |
| 4894 "eventDetails": { |
| 4895 "description": "Details for the goal of the type EVENT.", |
| 4896 "properties": { |
| 4897 "eventConditions": { |
| 4898 "description": "List of event conditions.", |
| 4899 "items": { |
| 4900 "properties": { |
| 4901 "comparisonType": { |
| 4902 "description": "Type of comparison. Poss
ible values are LESS_THAN, GREATER_THAN or EQUAL.", |
| 4903 "type": "string" |
| 4904 }, |
| 4905 "comparisonValue": { |
| 4906 "description": "Value used for this comp
arison.", |
| 4907 "format": "int64", |
| 4908 "type": "string" |
| 4909 }, |
| 4910 "expression": { |
| 4911 "description": "Expression used for this
match.", |
| 4912 "type": "string" |
| 4913 }, |
| 4914 "matchType": { |
| 4915 "description": "Type of the match to be
performed. Possible values are REGEXP, BEGINS_WITH, or EXACT.", |
| 4916 "type": "string" |
| 4917 }, |
| 4918 "type": { |
| 4919 "description": "Type of this event condi
tion. Possible values are CATEGORY, ACTION, LABEL, or VALUE.", |
| 4920 "type": "string" |
| 4921 } |
| 4922 }, |
| 4923 "type": "object" |
| 4924 }, |
| 4925 "type": "array" |
| 4926 }, |
| 4927 "useEventValue": { |
| 4928 "description": "Determines if the event value should
be used as the value for this goal.", |
| 4929 "type": "boolean" |
| 4930 } |
| 4931 }, |
| 4932 "type": "object" |
| 4933 }, |
| 4934 "id": { |
| 4935 "description": "Goal ID.", |
| 4936 "type": "string" |
| 4937 }, |
| 4938 "internalWebPropertyId": { |
| 4939 "description": "Internal ID for the web property to which th
is goal belongs.", |
| 4940 "type": "string" |
| 4941 }, |
| 4942 "kind": { |
| 4943 "default": "analytics#goal", |
| 4944 "description": "Resource type for an Analytics goal.", |
| 4945 "type": "string" |
| 4946 }, |
| 4947 "name": { |
| 4948 "description": "Goal name.", |
| 4949 "type": "string" |
| 4950 }, |
| 4951 "parentLink": { |
| 4952 "description": "Parent link for a goal. Points to the view (
profile) to which this goal belongs.", |
| 4953 "properties": { |
| 4954 "href": { |
| 4955 "description": "Link to the view (profile) to which
this goal belongs.", |
| 4956 "type": "string" |
| 4957 }, |
| 4958 "type": { |
| 4959 "default": "analytics#profile", |
| 4960 "description": "Value is \"analytics#profile\".", |
| 4961 "type": "string" |
| 4962 } |
| 4963 }, |
| 4964 "type": "object" |
| 4965 }, |
| 4966 "profileId": { |
| 4967 "description": "View (Profile) ID to which this goal belongs
.", |
| 4968 "type": "string" |
| 4969 }, |
| 4970 "selfLink": { |
| 4971 "description": "Link for this goal.", |
| 4972 "type": "string" |
| 4973 }, |
| 4974 "type": { |
| 4975 "description": "Goal type. Possible values are URL_DESTINATI
ON, VISIT_TIME_ON_SITE, VISIT_NUM_PAGES, AND EVENT.", |
| 4976 "type": "string" |
| 4977 }, |
| 4978 "updated": { |
| 4979 "description": "Time this goal was last modified.", |
| 4980 "format": "date-time", |
| 4981 "type": "string" |
| 4982 }, |
| 4983 "urlDestinationDetails": { |
| 4984 "description": "Details for the goal of the type URL_DESTINA
TION.", |
| 4985 "properties": { |
| 4986 "caseSensitive": { |
| 4987 "description": "Determines if the goal URL must exac
tly match the capitalization of visited URLs.", |
| 4988 "type": "boolean" |
| 4989 }, |
| 4990 "firstStepRequired": { |
| 4991 "description": "Determines if the first step in this
goal is required.", |
| 4992 "type": "boolean" |
| 4993 }, |
| 4994 "matchType": { |
| 4995 "description": "Match type for the goal URL. Possibl
e values are HEAD, EXACT, or REGEX.", |
| 4996 "type": "string" |
| 4997 }, |
| 4998 "steps": { |
| 4999 "description": "List of steps configured for this go
al funnel.", |
| 5000 "items": { |
| 5001 "properties": { |
| 5002 "name": { |
| 5003 "description": "Step name.", |
| 5004 "type": "string" |
| 5005 }, |
| 5006 "number": { |
| 5007 "description": "Step number.", |
| 5008 "format": "int32", |
| 5009 "type": "integer" |
| 5010 }, |
| 5011 "url": { |
| 5012 "description": "URL for this step.", |
| 5013 "type": "string" |
| 5014 } |
| 5015 }, |
| 5016 "type": "object" |
| 5017 }, |
| 5018 "type": "array" |
| 5019 }, |
| 5020 "url": { |
| 5021 "description": "URL for this goal.", |
| 5022 "type": "string" |
| 5023 } |
| 5024 }, |
| 5025 "type": "object" |
| 5026 }, |
| 5027 "value": { |
| 5028 "description": "Goal value.", |
| 5029 "format": "float", |
| 5030 "type": "number" |
| 5031 }, |
| 5032 "visitNumPagesDetails": { |
| 5033 "description": "Details for the goal of the type VISIT_NUM_P
AGES.", |
| 5034 "properties": { |
| 5035 "comparisonType": { |
| 5036 "description": "Type of comparison. Possible values
are LESS_THAN, GREATER_THAN, or EQUAL.", |
| 5037 "type": "string" |
| 5038 }, |
| 5039 "comparisonValue": { |
| 5040 "description": "Value used for this comparison.", |
| 5041 "format": "int64", |
| 5042 "type": "string" |
| 5043 } |
| 5044 }, |
| 5045 "type": "object" |
| 5046 }, |
| 5047 "visitTimeOnSiteDetails": { |
| 5048 "description": "Details for the goal of the type VISIT_TIME_
ON_SITE.", |
| 5049 "properties": { |
| 5050 "comparisonType": { |
| 5051 "description": "Type of comparison. Possible values
are LESS_THAN or GREATER_THAN.", |
| 5052 "type": "string" |
| 5053 }, |
| 5054 "comparisonValue": { |
| 5055 "description": "Value used for this comparison.", |
| 5056 "format": "int64", |
| 5057 "type": "string" |
| 5058 } |
| 5059 }, |
| 5060 "type": "object" |
| 5061 }, |
| 5062 "webPropertyId": { |
| 5063 "description": "Web property ID to which this goal belongs.
The web property ID is of the form UA-XXXXX-YY.", |
| 5064 "type": "string" |
| 5065 } |
| 5066 }, |
| 5067 "type": "object" |
| 5068 }, |
| 5069 "Goals": { |
| 5070 "description": "A goal collection lists Analytics goals to which the
user has access. Each view (profile) can have a set of goals. Each resource in
the Goal collection corresponds to a single Analytics goal.", |
| 5071 "id": "Goals", |
| 5072 "properties": { |
| 5073 "items": { |
| 5074 "description": "A list of goals.", |
| 5075 "items": { |
| 5076 "$ref": "Goal" |
| 5077 }, |
| 5078 "type": "array" |
| 5079 }, |
| 5080 "itemsPerPage": { |
| 5081 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 5082 "format": "int32", |
| 5083 "type": "integer" |
| 5084 }, |
| 5085 "kind": { |
| 5086 "default": "analytics#goals", |
| 5087 "description": "Collection type.", |
| 5088 "type": "string" |
| 5089 }, |
| 5090 "nextLink": { |
| 5091 "description": "Link to next page for this goal collection."
, |
| 5092 "type": "string" |
| 5093 }, |
| 5094 "previousLink": { |
| 5095 "description": "Link to previous page for this goal collecti
on.", |
| 5096 "type": "string" |
| 5097 }, |
| 5098 "startIndex": { |
| 5099 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 5100 "format": "int32", |
| 5101 "type": "integer" |
| 5102 }, |
| 5103 "totalResults": { |
| 5104 "description": "The total number of results for the query, r
egardless of the number of resources in the result.", |
| 5105 "format": "int32", |
| 5106 "type": "integer" |
| 5107 }, |
| 5108 "username": { |
| 5109 "description": "Email ID of the authenticated user", |
| 5110 "type": "string" |
| 5111 } |
| 5112 }, |
| 5113 "type": "object" |
| 5114 }, |
| 5115 "McfData": { |
| 5116 "description": "Multi-Channel Funnels data for a given view (profile
).", |
| 5117 "id": "McfData", |
| 5118 "properties": { |
| 5119 "columnHeaders": { |
| 5120 "description": "Column headers that list dimension names fol
lowed by the metric names. The order of dimensions and metrics is same as specif
ied in the request.", |
| 5121 "items": { |
| 5122 "properties": { |
| 5123 "columnType": { |
| 5124 "description": "Column Type. Either DIMENSION or
METRIC.", |
| 5125 "type": "string" |
| 5126 }, |
| 5127 "dataType": { |
| 5128 "description": "Data type. Dimension and metric
values data types such as INTEGER, DOUBLE, CURRENCY, MCF_SEQUENCE etc.", |
| 5129 "type": "string" |
| 5130 }, |
| 5131 "name": { |
| 5132 "description": "Column name.", |
| 5133 "type": "string" |
| 5134 } |
| 5135 }, |
| 5136 "type": "object" |
| 5137 }, |
| 5138 "type": "array" |
| 5139 }, |
| 5140 "containsSampledData": { |
| 5141 "description": "Determines if the Analytics data contains sa
mpled data.", |
| 5142 "type": "boolean" |
| 5143 }, |
| 5144 "id": { |
| 5145 "description": "Unique ID for this data response.", |
| 5146 "type": "string" |
| 5147 }, |
| 5148 "itemsPerPage": { |
| 5149 "description": "The maximum number of rows the response can
contain, regardless of the actual number of rows returned. Its value ranges from
1 to 10,000 with a value of 1000 by default, or otherwise specified by the max-
results query parameter.", |
| 5150 "format": "int32", |
| 5151 "type": "integer" |
| 5152 }, |
| 5153 "kind": { |
| 5154 "default": "analytics#mcfData", |
| 5155 "description": "Resource type.", |
| 5156 "type": "string" |
| 5157 }, |
| 5158 "nextLink": { |
| 5159 "description": "Link to next page for this Analytics data qu
ery.", |
| 5160 "type": "string" |
| 5161 }, |
| 5162 "previousLink": { |
| 5163 "description": "Link to previous page for this Analytics dat
a query.", |
| 5164 "type": "string" |
| 5165 }, |
| 5166 "profileInfo": { |
| 5167 "description": "Information for the view (profile), for whic
h the Analytics data was requested.", |
| 5168 "properties": { |
| 5169 "accountId": { |
| 5170 "description": "Account ID to which this view (profi
le) belongs.", |
| 5171 "type": "string" |
| 5172 }, |
| 5173 "internalWebPropertyId": { |
| 5174 "description": "Internal ID for the web property to
which this view (profile) belongs.", |
| 5175 "type": "string" |
| 5176 }, |
| 5177 "profileId": { |
| 5178 "description": "View (Profile) ID.", |
| 5179 "type": "string" |
| 5180 }, |
| 5181 "profileName": { |
| 5182 "description": "View (Profile) name.", |
| 5183 "type": "string" |
| 5184 }, |
| 5185 "tableId": { |
| 5186 "description": "Table ID for view (profile).", |
| 5187 "type": "string" |
| 5188 }, |
| 5189 "webPropertyId": { |
| 5190 "description": "Web Property ID to which this view (
profile) belongs.", |
| 5191 "type": "string" |
| 5192 } |
| 5193 }, |
| 5194 "type": "object" |
| 5195 }, |
| 5196 "query": { |
| 5197 "description": "Analytics data request query parameters.", |
| 5198 "properties": { |
| 5199 "dimensions": { |
| 5200 "description": "List of analytics dimensions.", |
| 5201 "type": "string" |
| 5202 }, |
| 5203 "end-date": { |
| 5204 "description": "End date.", |
| 5205 "type": "string" |
| 5206 }, |
| 5207 "filters": { |
| 5208 "description": "Comma-separated list of dimension or
metric filters.", |
| 5209 "type": "string" |
| 5210 }, |
| 5211 "ids": { |
| 5212 "description": "Unique table ID.", |
| 5213 "type": "string" |
| 5214 }, |
| 5215 "max-results": { |
| 5216 "description": "Maximum results per page.", |
| 5217 "format": "int32", |
| 5218 "type": "integer" |
| 5219 }, |
| 5220 "metrics": { |
| 5221 "description": "List of analytics metrics.", |
| 5222 "items": { |
| 5223 "type": "string" |
| 5224 }, |
| 5225 "type": "array" |
| 5226 }, |
| 5227 "samplingLevel": { |
| 5228 "description": "Desired sampling level", |
| 5229 "type": "string" |
| 5230 }, |
| 5231 "segment": { |
| 5232 "description": "Analytics advanced segment.", |
| 5233 "type": "string" |
| 5234 }, |
| 5235 "sort": { |
| 5236 "description": "List of dimensions or metrics based
on which Analytics data is sorted.", |
| 5237 "items": { |
| 5238 "type": "string" |
| 5239 }, |
| 5240 "type": "array" |
| 5241 }, |
| 5242 "start-date": { |
| 5243 "description": "Start date.", |
| 5244 "type": "string" |
| 5245 }, |
| 5246 "start-index": { |
| 5247 "description": "Start index.", |
| 5248 "format": "int32", |
| 5249 "type": "integer" |
| 5250 } |
| 5251 }, |
| 5252 "type": "object" |
| 5253 }, |
| 5254 "rows": { |
| 5255 "description": "Analytics data rows, where each row contains
a list of dimension values followed by the metric values. The order of dimensio
ns and metrics is same as specified in the request.", |
| 5256 "items": { |
| 5257 "items": { |
| 5258 "description": "A union object representing a dimens
ion or metric value. Only one of \"primitiveValue\" or \"conversionPathValue\" a
ttribute will be populated.", |
| 5259 "properties": { |
| 5260 "conversionPathValue": { |
| 5261 "description": "A conversion path dimension
value, containing a list of interactions with their attributes.", |
| 5262 "items": { |
| 5263 "properties": { |
| 5264 "interactionType": { |
| 5265 "description": "Type of an inter
action on conversion path. Such as CLICK, IMPRESSION etc.", |
| 5266 "type": "string" |
| 5267 }, |
| 5268 "nodeValue": { |
| 5269 "description": "Node value of an
interaction on conversion path. Such as source, medium etc.", |
| 5270 "type": "string" |
| 5271 } |
| 5272 }, |
| 5273 "type": "object" |
| 5274 }, |
| 5275 "type": "array" |
| 5276 }, |
| 5277 "primitiveValue": { |
| 5278 "description": "A primitive dimension value.
A primitive metric value.", |
| 5279 "type": "string" |
| 5280 } |
| 5281 }, |
| 5282 "type": "object" |
| 5283 }, |
| 5284 "type": "array" |
| 5285 }, |
| 5286 "type": "array" |
| 5287 }, |
| 5288 "sampleSize": { |
| 5289 "description": "The number of samples used to calculate the
result.", |
| 5290 "format": "int64", |
| 5291 "type": "string" |
| 5292 }, |
| 5293 "sampleSpace": { |
| 5294 "description": "Total size of the sample space from which th
e samples were selected.", |
| 5295 "format": "int64", |
| 5296 "type": "string" |
| 5297 }, |
| 5298 "selfLink": { |
| 5299 "description": "Link to this page.", |
| 5300 "type": "string" |
| 5301 }, |
| 5302 "totalResults": { |
| 5303 "description": "The total number of rows for the query, rega
rdless of the number of rows in the response.", |
| 5304 "format": "int32", |
| 5305 "type": "integer" |
| 5306 }, |
| 5307 "totalsForAllResults": { |
| 5308 "additionalProperties": { |
| 5309 "description": "Key-value pair for the total value of a
metric. Key is the metric name and the value is the total value for that metric.
", |
| 5310 "type": "string" |
| 5311 }, |
| 5312 "description": "Total values for the requested metrics over
all the results, not just the results returned in this response. The order of th
e metric totals is same as the metric order specified in the request.", |
| 5313 "type": "object" |
| 5314 } |
| 5315 }, |
| 5316 "type": "object" |
| 5317 }, |
| 5318 "Profile": { |
| 5319 "description": "JSON template for an Analytics view (profile).", |
| 5320 "id": "Profile", |
| 5321 "properties": { |
| 5322 "accountId": { |
| 5323 "description": "Account ID to which this view (profile) belo
ngs.", |
| 5324 "type": "string" |
| 5325 }, |
| 5326 "childLink": { |
| 5327 "description": "Child link for this view (profile). Points t
o the list of goals for this view (profile).", |
| 5328 "properties": { |
| 5329 "href": { |
| 5330 "description": "Link to the list of goals for this v
iew (profile).", |
| 5331 "type": "string" |
| 5332 }, |
| 5333 "type": { |
| 5334 "default": "analytics#goals", |
| 5335 "description": "Value is \"analytics#goals\".", |
| 5336 "type": "string" |
| 5337 } |
| 5338 }, |
| 5339 "type": "object" |
| 5340 }, |
| 5341 "created": { |
| 5342 "description": "Time this view (profile) was created.", |
| 5343 "format": "date-time", |
| 5344 "readOnly": true, |
| 5345 "type": "string" |
| 5346 }, |
| 5347 "currency": { |
| 5348 "description": "The currency type associated with this view
(profile). The supported values are:\nARS, AUD, BGN, BRL, CAD, CHF, CNY, CZK, DK
K, EUR, GBP, HKD, HUF, IDR, INR, JPY, KRW, LTL, MXN, NOK, NZD, PHP, PLN, RUB, SE
K, THB, TRY, TWD, USD, VND, ZAR", |
| 5349 "type": "string" |
| 5350 }, |
| 5351 "defaultPage": { |
| 5352 "description": "Default page for this view (profile).", |
| 5353 "type": "string" |
| 5354 }, |
| 5355 "eCommerceTracking": { |
| 5356 "description": "Indicates whether ecommerce tracking is enab
led for this view (profile).", |
| 5357 "type": "boolean" |
| 5358 }, |
| 5359 "excludeQueryParameters": { |
| 5360 "description": "The query parameters that are excluded from
this view (profile).", |
| 5361 "type": "string" |
| 5362 }, |
| 5363 "id": { |
| 5364 "description": "View (Profile) ID.", |
| 5365 "type": "string" |
| 5366 }, |
| 5367 "internalWebPropertyId": { |
| 5368 "description": "Internal ID for the web property to which th
is view (profile) belongs.", |
| 5369 "readOnly": true, |
| 5370 "type": "string" |
| 5371 }, |
| 5372 "kind": { |
| 5373 "default": "analytics#profile", |
| 5374 "description": "Resource type for Analytics view (profile)."
, |
| 5375 "readOnly": true, |
| 5376 "type": "string" |
| 5377 }, |
| 5378 "name": { |
| 5379 "description": "Name of this view (profile).", |
| 5380 "type": "string" |
| 5381 }, |
| 5382 "parentLink": { |
| 5383 "description": "Parent link for this view (profile). Points
to the web property to which this view (profile) belongs.", |
| 5384 "properties": { |
| 5385 "href": { |
| 5386 "description": "Link to the web property to which th
is view (profile) belongs.", |
| 5387 "type": "string" |
| 5388 }, |
| 5389 "type": { |
| 5390 "default": "analytics#webproperty", |
| 5391 "description": "Value is \"analytics#webproperty\"."
, |
| 5392 "type": "string" |
| 5393 } |
| 5394 }, |
| 5395 "type": "object" |
| 5396 }, |
| 5397 "permissions": { |
| 5398 "description": "Permissions the user has for this view (prof
ile).", |
| 5399 "properties": { |
| 5400 "effective": { |
| 5401 "description": "All the permissions that the user ha
s for this view (profile). These include any implied permissions (e.g., EDIT imp
lies VIEW) or inherited permissions from the parent web property.", |
| 5402 "items": { |
| 5403 "type": "string" |
| 5404 }, |
| 5405 "readOnly": true, |
| 5406 "type": "array" |
| 5407 } |
| 5408 }, |
| 5409 "type": "object" |
| 5410 }, |
| 5411 "selfLink": { |
| 5412 "description": "Link for this view (profile).", |
| 5413 "readOnly": true, |
| 5414 "type": "string" |
| 5415 }, |
| 5416 "siteSearchCategoryParameters": { |
| 5417 "description": "Site search category parameters for this vie
w (profile).", |
| 5418 "type": "string" |
| 5419 }, |
| 5420 "siteSearchQueryParameters": { |
| 5421 "description": "The site search query parameters for this vi
ew (profile).", |
| 5422 "type": "string" |
| 5423 }, |
| 5424 "stripSiteSearchCategoryParameters": { |
| 5425 "description": "Whether or not Analytics will strip search c
ategory parameters from the URLs in your reports.", |
| 5426 "type": "boolean" |
| 5427 }, |
| 5428 "stripSiteSearchQueryParameters": { |
| 5429 "description": "Whether or not Analytics will strip search q
uery parameters from the URLs in your reports.", |
| 5430 "type": "boolean" |
| 5431 }, |
| 5432 "timezone": { |
| 5433 "description": "Time zone for which this view (profile) has
been configured. Time zones are identified by strings from the TZ database.", |
| 5434 "type": "string" |
| 5435 }, |
| 5436 "type": { |
| 5437 "description": "View (Profile) type. Supported types: WEB or
APP.", |
| 5438 "type": "string" |
| 5439 }, |
| 5440 "updated": { |
| 5441 "description": "Time this view (profile) was last modified."
, |
| 5442 "format": "date-time", |
| 5443 "readOnly": true, |
| 5444 "type": "string" |
| 5445 }, |
| 5446 "webPropertyId": { |
| 5447 "description": "Web property ID of the form UA-XXXXX-YY to w
hich this view (profile) belongs.", |
| 5448 "readOnly": true, |
| 5449 "type": "string" |
| 5450 }, |
| 5451 "websiteUrl": { |
| 5452 "description": "Website URL for this view (profile).", |
| 5453 "type": "string" |
| 5454 } |
| 5455 }, |
| 5456 "type": "object" |
| 5457 }, |
| 5458 "ProfileFilterLink": { |
| 5459 "description": "JSON template for an Analytics profile filter link."
, |
| 5460 "id": "ProfileFilterLink", |
| 5461 "properties": { |
| 5462 "filterRef": { |
| 5463 "$ref": "FilterRef", |
| 5464 "description": "Filter for this link." |
| 5465 }, |
| 5466 "id": { |
| 5467 "description": "Profile filter link ID.", |
| 5468 "type": "string" |
| 5469 }, |
| 5470 "kind": { |
| 5471 "default": "analytics#profileFilterLink", |
| 5472 "description": "Resource type for Analytics filter.", |
| 5473 "readOnly": true, |
| 5474 "type": "string" |
| 5475 }, |
| 5476 "profileRef": { |
| 5477 "$ref": "ProfileRef", |
| 5478 "description": "View (Profile) for this link." |
| 5479 }, |
| 5480 "rank": { |
| 5481 "description": "The rank of this profile filter link relativ
e to the other filters linked to the same profile.\nFor readonly (i.e., list and
get) operations, the rank always starts at 1.\nFor write (i.e., create, update,
or delete) operations, you may specify a value between 0 and 255 inclusively, [
0, 255]. In order to insert a link at the end of the list, either don't specify
a rank or set a rank to a number greater than the largest rank in the list. In o
rder to insert a link to the beginning of the list specify a rank that is less t
han or equal to 1. The new link will move all existing filters with the same or
lower rank down the list. After the link is inserted/updated/deleted all profile
filter links will be renumbered starting at 1.", |
| 5482 "format": "int32", |
| 5483 "type": "integer" |
| 5484 }, |
| 5485 "selfLink": { |
| 5486 "description": "Link for this profile filter link.", |
| 5487 "readOnly": true, |
| 5488 "type": "string" |
| 5489 } |
| 5490 }, |
| 5491 "type": "object" |
| 5492 }, |
| 5493 "ProfileFilterLinks": { |
| 5494 "description": "A profile filter link collection lists profile filte
r links between profiles and filters. Each resource in the collection correspond
s to a profile filter link.", |
| 5495 "id": "ProfileFilterLinks", |
| 5496 "properties": { |
| 5497 "items": { |
| 5498 "description": "A list of profile filter links.", |
| 5499 "items": { |
| 5500 "$ref": "ProfileFilterLink" |
| 5501 }, |
| 5502 "type": "array" |
| 5503 }, |
| 5504 "itemsPerPage": { |
| 5505 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1,000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 5506 "format": "int32", |
| 5507 "type": "integer" |
| 5508 }, |
| 5509 "kind": { |
| 5510 "default": "analytics#profileFilterLinks", |
| 5511 "description": "Collection type.", |
| 5512 "type": "string" |
| 5513 }, |
| 5514 "nextLink": { |
| 5515 "description": "Link to next page for this profile filter li
nk collection.", |
| 5516 "type": "string" |
| 5517 }, |
| 5518 "previousLink": { |
| 5519 "description": "Link to previous page for this profile filte
r link collection.", |
| 5520 "type": "string" |
| 5521 }, |
| 5522 "startIndex": { |
| 5523 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 5524 "format": "int32", |
| 5525 "type": "integer" |
| 5526 }, |
| 5527 "totalResults": { |
| 5528 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 5529 "format": "int32", |
| 5530 "type": "integer" |
| 5531 }, |
| 5532 "username": { |
| 5533 "description": "Email ID of the authenticated user", |
| 5534 "type": "string" |
| 5535 } |
| 5536 }, |
| 5537 "type": "object" |
| 5538 }, |
| 5539 "ProfileRef": { |
| 5540 "description": "JSON template for a linked view (profile).", |
| 5541 "id": "ProfileRef", |
| 5542 "properties": { |
| 5543 "accountId": { |
| 5544 "description": "Account ID to which this view (profile) belo
ngs.", |
| 5545 "type": "string" |
| 5546 }, |
| 5547 "href": { |
| 5548 "description": "Link for this view (profile).", |
| 5549 "type": "string" |
| 5550 }, |
| 5551 "id": { |
| 5552 "description": "View (Profile) ID.", |
| 5553 "type": "string" |
| 5554 }, |
| 5555 "internalWebPropertyId": { |
| 5556 "description": "Internal ID for the web property to which th
is view (profile) belongs.", |
| 5557 "type": "string" |
| 5558 }, |
| 5559 "kind": { |
| 5560 "default": "analytics#profileRef", |
| 5561 "description": "Analytics view (profile) reference.", |
| 5562 "type": "string" |
| 5563 }, |
| 5564 "name": { |
| 5565 "description": "Name of this view (profile).", |
| 5566 "type": "string" |
| 5567 }, |
| 5568 "webPropertyId": { |
| 5569 "description": "Web property ID of the form UA-XXXXX-YY to w
hich this view (profile) belongs.", |
| 5570 "type": "string" |
| 5571 } |
| 5572 }, |
| 5573 "type": "object" |
| 5574 }, |
| 5575 "ProfileSummary": { |
| 5576 "description": "JSON template for an Analytics ProfileSummary. Profi
leSummary returns basic information (i.e., summary) for a profile.", |
| 5577 "id": "ProfileSummary", |
| 5578 "properties": { |
| 5579 "id": { |
| 5580 "description": "View (profile) ID.", |
| 5581 "type": "string" |
| 5582 }, |
| 5583 "kind": { |
| 5584 "default": "analytics#profileSummary", |
| 5585 "description": "Resource type for Analytics ProfileSummary."
, |
| 5586 "type": "string" |
| 5587 }, |
| 5588 "name": { |
| 5589 "description": "View (profile) name.", |
| 5590 "type": "string" |
| 5591 }, |
| 5592 "type": { |
| 5593 "description": "View (Profile) type. Supported types: WEB or
APP.", |
| 5594 "type": "string" |
| 5595 } |
| 5596 }, |
| 5597 "type": "object" |
| 5598 }, |
| 5599 "Profiles": { |
| 5600 "description": "A view (profile) collection lists Analytics views (p
rofiles) to which the user has access. Each resource in the collection correspon
ds to a single Analytics view (profile).", |
| 5601 "id": "Profiles", |
| 5602 "properties": { |
| 5603 "items": { |
| 5604 "description": "A list of views (profiles).", |
| 5605 "items": { |
| 5606 "$ref": "Profile" |
| 5607 }, |
| 5608 "type": "array" |
| 5609 }, |
| 5610 "itemsPerPage": { |
| 5611 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 5612 "format": "int32", |
| 5613 "type": "integer" |
| 5614 }, |
| 5615 "kind": { |
| 5616 "default": "analytics#profiles", |
| 5617 "description": "Collection type.", |
| 5618 "type": "string" |
| 5619 }, |
| 5620 "nextLink": { |
| 5621 "description": "Link to next page for this view (profile) co
llection.", |
| 5622 "type": "string" |
| 5623 }, |
| 5624 "previousLink": { |
| 5625 "description": "Link to previous page for this view (profile
) collection.", |
| 5626 "type": "string" |
| 5627 }, |
| 5628 "startIndex": { |
| 5629 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 5630 "format": "int32", |
| 5631 "type": "integer" |
| 5632 }, |
| 5633 "totalResults": { |
| 5634 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 5635 "format": "int32", |
| 5636 "type": "integer" |
| 5637 }, |
| 5638 "username": { |
| 5639 "description": "Email ID of the authenticated user", |
| 5640 "type": "string" |
| 5641 } |
| 5642 }, |
| 5643 "type": "object" |
| 5644 }, |
| 5645 "RealtimeData": { |
| 5646 "description": "Real time data for a given view (profile).", |
| 5647 "id": "RealtimeData", |
| 5648 "properties": { |
| 5649 "columnHeaders": { |
| 5650 "description": "Column headers that list dimension names fol
lowed by the metric names. The order of dimensions and metrics is same as specif
ied in the request.", |
| 5651 "items": { |
| 5652 "properties": { |
| 5653 "columnType": { |
| 5654 "description": "Column Type. Either DIMENSION or
METRIC.", |
| 5655 "type": "string" |
| 5656 }, |
| 5657 "dataType": { |
| 5658 "description": "Data type. Dimension column head
ers have only STRING as the data type. Metric column headers have data types for
metric values such as INTEGER, DOUBLE, CURRENCY etc.", |
| 5659 "type": "string" |
| 5660 }, |
| 5661 "name": { |
| 5662 "description": "Column name.", |
| 5663 "type": "string" |
| 5664 } |
| 5665 }, |
| 5666 "type": "object" |
| 5667 }, |
| 5668 "type": "array" |
| 5669 }, |
| 5670 "id": { |
| 5671 "description": "Unique ID for this data response.", |
| 5672 "type": "string" |
| 5673 }, |
| 5674 "kind": { |
| 5675 "default": "analytics#realtimeData", |
| 5676 "description": "Resource type.", |
| 5677 "type": "string" |
| 5678 }, |
| 5679 "profileInfo": { |
| 5680 "description": "Information for the view (profile), for whic
h the real time data was requested.", |
| 5681 "properties": { |
| 5682 "accountId": { |
| 5683 "description": "Account ID to which this view (profi
le) belongs.", |
| 5684 "type": "string" |
| 5685 }, |
| 5686 "internalWebPropertyId": { |
| 5687 "description": "Internal ID for the web property to
which this view (profile) belongs.", |
| 5688 "type": "string" |
| 5689 }, |
| 5690 "profileId": { |
| 5691 "description": "View (Profile) ID.", |
| 5692 "type": "string" |
| 5693 }, |
| 5694 "profileName": { |
| 5695 "description": "View (Profile) name.", |
| 5696 "type": "string" |
| 5697 }, |
| 5698 "tableId": { |
| 5699 "description": "Table ID for view (profile).", |
| 5700 "type": "string" |
| 5701 }, |
| 5702 "webPropertyId": { |
| 5703 "description": "Web Property ID to which this view (
profile) belongs.", |
| 5704 "type": "string" |
| 5705 } |
| 5706 }, |
| 5707 "type": "object" |
| 5708 }, |
| 5709 "query": { |
| 5710 "description": "Real time data request query parameters.", |
| 5711 "properties": { |
| 5712 "dimensions": { |
| 5713 "description": "List of real time dimensions.", |
| 5714 "type": "string" |
| 5715 }, |
| 5716 "filters": { |
| 5717 "description": "Comma-separated list of dimension or
metric filters.", |
| 5718 "type": "string" |
| 5719 }, |
| 5720 "ids": { |
| 5721 "description": "Unique table ID.", |
| 5722 "type": "string" |
| 5723 }, |
| 5724 "max-results": { |
| 5725 "description": "Maximum results per page.", |
| 5726 "format": "int32", |
| 5727 "type": "integer" |
| 5728 }, |
| 5729 "metrics": { |
| 5730 "description": "List of real time metrics.", |
| 5731 "items": { |
| 5732 "type": "string" |
| 5733 }, |
| 5734 "type": "array" |
| 5735 }, |
| 5736 "sort": { |
| 5737 "description": "List of dimensions or metrics based
on which real time data is sorted.", |
| 5738 "items": { |
| 5739 "type": "string" |
| 5740 }, |
| 5741 "type": "array" |
| 5742 } |
| 5743 }, |
| 5744 "type": "object" |
| 5745 }, |
| 5746 "rows": { |
| 5747 "description": "Real time data rows, where each row contains
a list of dimension values followed by the metric values. The order of dimensio
ns and metrics is same as specified in the request.", |
| 5748 "items": { |
| 5749 "items": { |
| 5750 "type": "string" |
| 5751 }, |
| 5752 "type": "array" |
| 5753 }, |
| 5754 "type": "array" |
| 5755 }, |
| 5756 "selfLink": { |
| 5757 "description": "Link to this page.", |
| 5758 "type": "string" |
| 5759 }, |
| 5760 "totalResults": { |
| 5761 "description": "The total number of rows for the query, rega
rdless of the number of rows in the response.", |
| 5762 "format": "int32", |
| 5763 "type": "integer" |
| 5764 }, |
| 5765 "totalsForAllResults": { |
| 5766 "additionalProperties": { |
| 5767 "description": "Key-value pair for the total value of a
metric. Key is the metric name and the value is the total value for that metric.
", |
| 5768 "type": "string" |
| 5769 }, |
| 5770 "description": "Total values for the requested metrics over
all the results, not just the results returned in this response. The order of th
e metric totals is same as the metric order specified in the request.", |
| 5771 "type": "object" |
| 5772 } |
| 5773 }, |
| 5774 "type": "object" |
| 5775 }, |
| 5776 "Segment": { |
| 5777 "description": "JSON template for an Analytics segment.", |
| 5778 "id": "Segment", |
| 5779 "properties": { |
| 5780 "created": { |
| 5781 "description": "Time the segment was created.", |
| 5782 "format": "date-time", |
| 5783 "type": "string" |
| 5784 }, |
| 5785 "definition": { |
| 5786 "description": "Segment definition.", |
| 5787 "type": "string" |
| 5788 }, |
| 5789 "id": { |
| 5790 "description": "Segment ID.", |
| 5791 "type": "string" |
| 5792 }, |
| 5793 "kind": { |
| 5794 "default": "analytics#segment", |
| 5795 "description": "Resource type for Analytics segment.", |
| 5796 "type": "string" |
| 5797 }, |
| 5798 "name": { |
| 5799 "description": "Segment name.", |
| 5800 "type": "string" |
| 5801 }, |
| 5802 "segmentId": { |
| 5803 "description": "Segment ID. Can be used with the 'segment' p
arameter in Core Reporting API.", |
| 5804 "type": "string" |
| 5805 }, |
| 5806 "selfLink": { |
| 5807 "description": "Link for this segment.", |
| 5808 "type": "string" |
| 5809 }, |
| 5810 "type": { |
| 5811 "description": "Type for a segment. Possible values are \"BU
ILT_IN\" or \"CUSTOM\".", |
| 5812 "type": "string" |
| 5813 }, |
| 5814 "updated": { |
| 5815 "description": "Time the segment was last modified.", |
| 5816 "format": "date-time", |
| 5817 "type": "string" |
| 5818 } |
| 5819 }, |
| 5820 "type": "object" |
| 5821 }, |
| 5822 "Segments": { |
| 5823 "description": "An segment collection lists Analytics segments that
the user has access to. Each resource in the collection corresponds to a single
Analytics segment.", |
| 5824 "id": "Segments", |
| 5825 "properties": { |
| 5826 "items": { |
| 5827 "description": "A list of segments.", |
| 5828 "items": { |
| 5829 "$ref": "Segment" |
| 5830 }, |
| 5831 "type": "array" |
| 5832 }, |
| 5833 "itemsPerPage": { |
| 5834 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 5835 "format": "int32", |
| 5836 "type": "integer" |
| 5837 }, |
| 5838 "kind": { |
| 5839 "default": "analytics#segments", |
| 5840 "description": "Collection type for segments.", |
| 5841 "type": "string" |
| 5842 }, |
| 5843 "nextLink": { |
| 5844 "description": "Link to next page for this segment collectio
n.", |
| 5845 "type": "string" |
| 5846 }, |
| 5847 "previousLink": { |
| 5848 "description": "Link to previous page for this segment colle
ction.", |
| 5849 "type": "string" |
| 5850 }, |
| 5851 "startIndex": { |
| 5852 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 5853 "format": "int32", |
| 5854 "type": "integer" |
| 5855 }, |
| 5856 "totalResults": { |
| 5857 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 5858 "format": "int32", |
| 5859 "type": "integer" |
| 5860 }, |
| 5861 "username": { |
| 5862 "description": "Email ID of the authenticated user", |
| 5863 "type": "string" |
| 5864 } |
| 5865 }, |
| 5866 "type": "object" |
| 5867 }, |
| 5868 "UnsampledReport": { |
| 5869 "description": "JSON template for Analytics unsampled report resourc
e.", |
| 5870 "id": "UnsampledReport", |
| 5871 "properties": { |
| 5872 "accountId": { |
| 5873 "description": "Account ID to which this unsampled report be
longs.", |
| 5874 "type": "string" |
| 5875 }, |
| 5876 "cloudStorageDownloadDetails": { |
| 5877 "description": "Download details for a file stored in Google
Cloud Storage.", |
| 5878 "properties": { |
| 5879 "bucketId": { |
| 5880 "description": "Id of the bucket the file object is
stored in.", |
| 5881 "type": "string" |
| 5882 }, |
| 5883 "objectId": { |
| 5884 "description": "Id of the file object containing the
report data.", |
| 5885 "type": "string" |
| 5886 } |
| 5887 }, |
| 5888 "readOnly": true, |
| 5889 "type": "object" |
| 5890 }, |
| 5891 "created": { |
| 5892 "description": "Time this unsampled report was created.", |
| 5893 "format": "date-time", |
| 5894 "readOnly": true, |
| 5895 "type": "string" |
| 5896 }, |
| 5897 "dimensions": { |
| 5898 "description": "The dimensions for the unsampled report.", |
| 5899 "type": "string" |
| 5900 }, |
| 5901 "downloadType": { |
| 5902 "description": "The type of download you need to use for the
report data file.", |
| 5903 "readOnly": true, |
| 5904 "type": "string" |
| 5905 }, |
| 5906 "driveDownloadDetails": { |
| 5907 "description": "Download details for a file stored in Google
Drive.", |
| 5908 "properties": { |
| 5909 "documentId": { |
| 5910 "description": "Id of the document/file containing t
he report data.", |
| 5911 "type": "string" |
| 5912 } |
| 5913 }, |
| 5914 "readOnly": true, |
| 5915 "type": "object" |
| 5916 }, |
| 5917 "end-date": { |
| 5918 "annotations": { |
| 5919 "required": [ |
| 5920 "analytics.management.filters.insert", |
| 5921 "analytics.management.unsampledReports.insert" |
| 5922 ] |
| 5923 }, |
| 5924 "description": "The end date for the unsampled report.", |
| 5925 "type": "string" |
| 5926 }, |
| 5927 "filters": { |
| 5928 "description": "The filters for the unsampled report.", |
| 5929 "type": "string" |
| 5930 }, |
| 5931 "id": { |
| 5932 "description": "Unsampled report ID.", |
| 5933 "type": "string" |
| 5934 }, |
| 5935 "kind": { |
| 5936 "default": "analytics#unsampledReport", |
| 5937 "description": "Resource type for an Analytics unsampled rep
ort.", |
| 5938 "readOnly": true, |
| 5939 "type": "string" |
| 5940 }, |
| 5941 "metrics": { |
| 5942 "annotations": { |
| 5943 "required": [ |
| 5944 "analytics.management.filters.insert", |
| 5945 "analytics.management.unsampledReports.insert" |
| 5946 ] |
| 5947 }, |
| 5948 "description": "The metrics for the unsampled report.", |
| 5949 "type": "string" |
| 5950 }, |
| 5951 "profileId": { |
| 5952 "description": "View (Profile) ID to which this unsampled re
port belongs.", |
| 5953 "type": "string" |
| 5954 }, |
| 5955 "segment": { |
| 5956 "description": "The segment for the unsampled report.", |
| 5957 "type": "string" |
| 5958 }, |
| 5959 "selfLink": { |
| 5960 "description": "Link for this unsampled report.", |
| 5961 "readOnly": true, |
| 5962 "type": "string" |
| 5963 }, |
| 5964 "start-date": { |
| 5965 "annotations": { |
| 5966 "required": [ |
| 5967 "analytics.management.filters.insert", |
| 5968 "analytics.management.unsampledReports.insert" |
| 5969 ] |
| 5970 }, |
| 5971 "description": "The start date for the unsampled report.", |
| 5972 "type": "string" |
| 5973 }, |
| 5974 "status": { |
| 5975 "description": "Status of this unsampled report. Possible va
lues are PENDING, COMPLETED, or FAILED.", |
| 5976 "readOnly": true, |
| 5977 "type": "string" |
| 5978 }, |
| 5979 "title": { |
| 5980 "annotations": { |
| 5981 "required": [ |
| 5982 "analytics.management.filters.insert", |
| 5983 "analytics.management.unsampledReports.insert" |
| 5984 ] |
| 5985 }, |
| 5986 "description": "Title of the unsampled report.", |
| 5987 "type": "string" |
| 5988 }, |
| 5989 "updated": { |
| 5990 "description": "Time this unsampled report was last modified
.", |
| 5991 "format": "date-time", |
| 5992 "readOnly": true, |
| 5993 "type": "string" |
| 5994 }, |
| 5995 "webPropertyId": { |
| 5996 "description": "Web property ID to which this unsampled repo
rt belongs. The web property ID is of the form UA-XXXXX-YY.", |
| 5997 "type": "string" |
| 5998 } |
| 5999 }, |
| 6000 "type": "object" |
| 6001 }, |
| 6002 "UnsampledReports": { |
| 6003 "description": "An unsampled report collection lists Analytics unsam
pled reports to which the user has access. Each view (profile) can have a set of
unsampled reports. Each resource in the unsampled report collection corresponds
to a single Analytics unsampled report.", |
| 6004 "id": "UnsampledReports", |
| 6005 "properties": { |
| 6006 "items": { |
| 6007 "description": "A list of unsampled reports.", |
| 6008 "items": { |
| 6009 "$ref": "UnsampledReport" |
| 6010 }, |
| 6011 "type": "array" |
| 6012 }, |
| 6013 "itemsPerPage": { |
| 6014 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 6015 "format": "int32", |
| 6016 "type": "integer" |
| 6017 }, |
| 6018 "kind": { |
| 6019 "default": "analytics#unsampledReports", |
| 6020 "description": "Collection type.", |
| 6021 "type": "string" |
| 6022 }, |
| 6023 "nextLink": { |
| 6024 "description": "Link to next page for this unsampled report
collection.", |
| 6025 "type": "string" |
| 6026 }, |
| 6027 "previousLink": { |
| 6028 "description": "Link to previous page for this unsampled rep
ort collection.", |
| 6029 "type": "string" |
| 6030 }, |
| 6031 "startIndex": { |
| 6032 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 6033 "format": "int32", |
| 6034 "type": "integer" |
| 6035 }, |
| 6036 "totalResults": { |
| 6037 "description": "The total number of results for the query, r
egardless of the number of resources in the result.", |
| 6038 "format": "int32", |
| 6039 "type": "integer" |
| 6040 }, |
| 6041 "username": { |
| 6042 "description": "Email ID of the authenticated user", |
| 6043 "type": "string" |
| 6044 } |
| 6045 }, |
| 6046 "type": "object" |
| 6047 }, |
| 6048 "Upload": { |
| 6049 "description": "Metadata returned for an upload operation.", |
| 6050 "id": "Upload", |
| 6051 "properties": { |
| 6052 "accountId": { |
| 6053 "description": "Account Id to which this upload belongs.", |
| 6054 "format": "int64", |
| 6055 "type": "string" |
| 6056 }, |
| 6057 "customDataSourceId": { |
| 6058 "description": "Custom data source Id to which this data imp
ort belongs.", |
| 6059 "type": "string" |
| 6060 }, |
| 6061 "errors": { |
| 6062 "description": "Data import errors collection.", |
| 6063 "items": { |
| 6064 "type": "string" |
| 6065 }, |
| 6066 "type": "array" |
| 6067 }, |
| 6068 "id": { |
| 6069 "description": "A unique ID for this upload.", |
| 6070 "type": "string" |
| 6071 }, |
| 6072 "kind": { |
| 6073 "default": "analytics#upload", |
| 6074 "description": "Resource type for Analytics upload.", |
| 6075 "type": "string" |
| 6076 }, |
| 6077 "status": { |
| 6078 "description": "Upload status. Possible values: PENDING, COM
PLETED, FAILED, DELETING, DELETED.", |
| 6079 "type": "string" |
| 6080 } |
| 6081 }, |
| 6082 "type": "object" |
| 6083 }, |
| 6084 "Uploads": { |
| 6085 "description": "Upload collection lists Analytics uploads to which t
he user has access. Each custom data source can have a set of uploads. Each reso
urce in the upload collection corresponds to a single Analytics data upload.", |
| 6086 "id": "Uploads", |
| 6087 "properties": { |
| 6088 "items": { |
| 6089 "description": "A list of uploads.", |
| 6090 "items": { |
| 6091 "$ref": "Upload" |
| 6092 }, |
| 6093 "type": "array" |
| 6094 }, |
| 6095 "itemsPerPage": { |
| 6096 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 6097 "format": "int32", |
| 6098 "type": "integer" |
| 6099 }, |
| 6100 "kind": { |
| 6101 "default": "analytics#uploads", |
| 6102 "description": "Collection type.", |
| 6103 "type": "string" |
| 6104 }, |
| 6105 "nextLink": { |
| 6106 "description": "Link to next page for this upload collection
.", |
| 6107 "type": "string" |
| 6108 }, |
| 6109 "previousLink": { |
| 6110 "description": "Link to previous page for this upload collec
tion.", |
| 6111 "type": "string" |
| 6112 }, |
| 6113 "startIndex": { |
| 6114 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 6115 "format": "int32", |
| 6116 "type": "integer" |
| 6117 }, |
| 6118 "totalResults": { |
| 6119 "description": "The total number of results for the query, r
egardless of the number of resources in the result.", |
| 6120 "format": "int32", |
| 6121 "type": "integer" |
| 6122 } |
| 6123 }, |
| 6124 "type": "object" |
| 6125 }, |
| 6126 "UserRef": { |
| 6127 "description": "JSON template for a user reference.", |
| 6128 "id": "UserRef", |
| 6129 "properties": { |
| 6130 "email": { |
| 6131 "description": "Email ID of this user.", |
| 6132 "type": "string" |
| 6133 }, |
| 6134 "id": { |
| 6135 "description": "User ID.", |
| 6136 "type": "string" |
| 6137 }, |
| 6138 "kind": { |
| 6139 "default": "analytics#userRef", |
| 6140 "type": "string" |
| 6141 } |
| 6142 }, |
| 6143 "type": "object" |
| 6144 }, |
| 6145 "WebPropertyRef": { |
| 6146 "description": "JSON template for a web property reference.", |
| 6147 "id": "WebPropertyRef", |
| 6148 "properties": { |
| 6149 "accountId": { |
| 6150 "description": "Account ID to which this web property belong
s.", |
| 6151 "type": "string" |
| 6152 }, |
| 6153 "href": { |
| 6154 "description": "Link for this web property.", |
| 6155 "type": "string" |
| 6156 }, |
| 6157 "id": { |
| 6158 "description": "Web property ID of the form UA-XXXXX-YY.", |
| 6159 "type": "string" |
| 6160 }, |
| 6161 "internalWebPropertyId": { |
| 6162 "description": "Internal ID for this web property.", |
| 6163 "type": "string" |
| 6164 }, |
| 6165 "kind": { |
| 6166 "default": "analytics#webPropertyRef", |
| 6167 "description": "Analytics web property reference.", |
| 6168 "type": "string" |
| 6169 }, |
| 6170 "name": { |
| 6171 "description": "Name of this web property.", |
| 6172 "type": "string" |
| 6173 } |
| 6174 }, |
| 6175 "type": "object" |
| 6176 }, |
| 6177 "WebPropertySummary": { |
| 6178 "description": "JSON template for an Analytics WebPropertySummary. W
ebPropertySummary returns basic information (i.e., summary) for a web property."
, |
| 6179 "id": "WebPropertySummary", |
| 6180 "properties": { |
| 6181 "id": { |
| 6182 "description": "Web property ID of the form UA-XXXXX-YY.", |
| 6183 "type": "string" |
| 6184 }, |
| 6185 "internalWebPropertyId": { |
| 6186 "description": "Internal ID for this web property.", |
| 6187 "type": "string" |
| 6188 }, |
| 6189 "kind": { |
| 6190 "default": "analytics#webPropertySummary", |
| 6191 "description": "Resource type for Analytics WebPropertySumma
ry.", |
| 6192 "type": "string" |
| 6193 }, |
| 6194 "level": { |
| 6195 "description": "Level for this web property. Possible values
are STANDARD or PREMIUM.", |
| 6196 "type": "string" |
| 6197 }, |
| 6198 "name": { |
| 6199 "description": "Web property name.", |
| 6200 "type": "string" |
| 6201 }, |
| 6202 "profiles": { |
| 6203 "description": "List of profiles under this web property.", |
| 6204 "items": { |
| 6205 "$ref": "ProfileSummary" |
| 6206 }, |
| 6207 "type": "array" |
| 6208 }, |
| 6209 "websiteUrl": { |
| 6210 "description": "Website url for this web property.", |
| 6211 "type": "string" |
| 6212 } |
| 6213 }, |
| 6214 "type": "object" |
| 6215 }, |
| 6216 "Webproperties": { |
| 6217 "description": "A web property collection lists Analytics web proper
ties to which the user has access. Each resource in the collection corresponds t
o a single Analytics web property.", |
| 6218 "id": "Webproperties", |
| 6219 "properties": { |
| 6220 "items": { |
| 6221 "description": "A list of web properties.", |
| 6222 "items": { |
| 6223 "$ref": "Webproperty" |
| 6224 }, |
| 6225 "type": "array" |
| 6226 }, |
| 6227 "itemsPerPage": { |
| 6228 "description": "The maximum number of resources the response
can contain, regardless of the actual number of resources returned. Its value r
anges from 1 to 1000 with a value of 1000 by default, or otherwise specified by
the max-results query parameter.", |
| 6229 "format": "int32", |
| 6230 "type": "integer" |
| 6231 }, |
| 6232 "kind": { |
| 6233 "default": "analytics#webproperties", |
| 6234 "description": "Collection type.", |
| 6235 "type": "string" |
| 6236 }, |
| 6237 "nextLink": { |
| 6238 "description": "Link to next page for this web property coll
ection.", |
| 6239 "type": "string" |
| 6240 }, |
| 6241 "previousLink": { |
| 6242 "description": "Link to previous page for this web property
collection.", |
| 6243 "type": "string" |
| 6244 }, |
| 6245 "startIndex": { |
| 6246 "description": "The starting index of the resources, which i
s 1 by default or otherwise specified by the start-index query parameter.", |
| 6247 "format": "int32", |
| 6248 "type": "integer" |
| 6249 }, |
| 6250 "totalResults": { |
| 6251 "description": "The total number of results for the query, r
egardless of the number of results in the response.", |
| 6252 "format": "int32", |
| 6253 "type": "integer" |
| 6254 }, |
| 6255 "username": { |
| 6256 "description": "Email ID of the authenticated user", |
| 6257 "type": "string" |
| 6258 } |
| 6259 }, |
| 6260 "type": "object" |
| 6261 }, |
| 6262 "Webproperty": { |
| 6263 "description": "JSON template for an Analytics web property.", |
| 6264 "id": "Webproperty", |
| 6265 "properties": { |
| 6266 "accountId": { |
| 6267 "description": "Account ID to which this web property belong
s.", |
| 6268 "type": "string" |
| 6269 }, |
| 6270 "childLink": { |
| 6271 "description": "Child link for this web property. Points to
the list of views (profiles) for this web property.", |
| 6272 "properties": { |
| 6273 "href": { |
| 6274 "description": "Link to the list of views (profiles)
for this web property.", |
| 6275 "type": "string" |
| 6276 }, |
| 6277 "type": { |
| 6278 "default": "analytics#profiles", |
| 6279 "description": "Type of the parent link. Its value i
s \"analytics#profiles\".", |
| 6280 "type": "string" |
| 6281 } |
| 6282 }, |
| 6283 "type": "object" |
| 6284 }, |
| 6285 "created": { |
| 6286 "description": "Time this web property was created.", |
| 6287 "format": "date-time", |
| 6288 "readOnly": true, |
| 6289 "type": "string" |
| 6290 }, |
| 6291 "defaultProfileId": { |
| 6292 "description": "Default view (profile) ID.", |
| 6293 "format": "int64", |
| 6294 "type": "string" |
| 6295 }, |
| 6296 "id": { |
| 6297 "description": "Web property ID of the form UA-XXXXX-YY.", |
| 6298 "type": "string" |
| 6299 }, |
| 6300 "industryVertical": { |
| 6301 "description": "The industry vertical/category selected for
this web property.", |
| 6302 "type": "string" |
| 6303 }, |
| 6304 "internalWebPropertyId": { |
| 6305 "description": "Internal ID for this web property.", |
| 6306 "readOnly": true, |
| 6307 "type": "string" |
| 6308 }, |
| 6309 "kind": { |
| 6310 "default": "analytics#webproperty", |
| 6311 "description": "Resource type for Analytics WebProperty.", |
| 6312 "readOnly": true, |
| 6313 "type": "string" |
| 6314 }, |
| 6315 "level": { |
| 6316 "description": "Level for this web property. Possible values
are STANDARD or PREMIUM.", |
| 6317 "readOnly": true, |
| 6318 "type": "string" |
| 6319 }, |
| 6320 "name": { |
| 6321 "description": "Name of this web property.", |
| 6322 "type": "string" |
| 6323 }, |
| 6324 "parentLink": { |
| 6325 "description": "Parent link for this web property. Points to
the account to which this web property belongs.", |
| 6326 "properties": { |
| 6327 "href": { |
| 6328 "description": "Link to the account for this web pro
perty.", |
| 6329 "type": "string" |
| 6330 }, |
| 6331 "type": { |
| 6332 "default": "analytics#account", |
| 6333 "description": "Type of the parent link. Its value i
s \"analytics#account\".", |
| 6334 "type": "string" |
| 6335 } |
| 6336 }, |
| 6337 "type": "object" |
| 6338 }, |
| 6339 "permissions": { |
| 6340 "description": "Permissions the user has for this web proper
ty.", |
| 6341 "properties": { |
| 6342 "effective": { |
| 6343 "description": "All the permissions that the user ha
s for this web property. These include any implied permissions (e.g., EDIT impli
es VIEW) or inherited permissions from the parent account.", |
| 6344 "items": { |
| 6345 "type": "string" |
| 6346 }, |
| 6347 "readOnly": true, |
| 6348 "type": "array" |
| 6349 } |
| 6350 }, |
| 6351 "type": "object" |
| 6352 }, |
| 6353 "profileCount": { |
| 6354 "description": "View (Profile) count for this web property."
, |
| 6355 "format": "int32", |
| 6356 "readOnly": true, |
| 6357 "type": "integer" |
| 6358 }, |
| 6359 "selfLink": { |
| 6360 "description": "Link for this web property.", |
| 6361 "readOnly": true, |
| 6362 "type": "string" |
| 6363 }, |
| 6364 "updated": { |
| 6365 "description": "Time this web property was last modified.", |
| 6366 "format": "date-time", |
| 6367 "readOnly": true, |
| 6368 "type": "string" |
| 6369 }, |
| 6370 "websiteUrl": { |
| 6371 "description": "Website url for this web property.", |
| 6372 "type": "string" |
| 6373 } |
| 6374 }, |
| 6375 "type": "object" |
| 6376 } |
| 6377 }, |
| 6378 "servicePath": "analytics/v3/", |
| 6379 "title": "Google Analytics API", |
| 6380 "version": "v3" |
| 6381 } |
OLD | NEW |