OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/content": { |
| 6 "description": "Manage your product listings and accounts fo
r Google Shopping" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
| 11 "basePath": "/content/v2/", |
| 12 "baseUrl": "https://www.googleapis.com/content/v2/", |
| 13 "batchPath": "batch", |
| 14 "canonicalName": "Shopping Content", |
| 15 "description": "Manage product items, inventory, and Merchant Center account
s for Google Shopping.", |
| 16 "discoveryVersion": "v1", |
| 17 "documentationLink": "https://developers.google.com/shopping-content/v2/", |
| 18 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/mXxQR2aSdOdWdq_00grXYfGGqMU\"", |
| 19 "icons": { |
| 20 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 }, |
| 23 "id": "content:v2", |
| 24 "kind": "discovery#restDescription", |
| 25 "name": "content", |
| 26 "ownerDomain": "google.com", |
| 27 "ownerName": "Google", |
| 28 "parameters": { |
| 29 "alt": { |
| 30 "default": "json", |
| 31 "description": "Data format for the response.", |
| 32 "enum": [ |
| 33 "json" |
| 34 ], |
| 35 "enumDescriptions": [ |
| 36 "Responses with Content-Type of application/json" |
| 37 ], |
| 38 "location": "query", |
| 39 "type": "string" |
| 40 }, |
| 41 "fields": { |
| 42 "description": "Selector specifying which fields to include in a par
tial response.", |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "key": { |
| 47 "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.", |
| 48 "location": "query", |
| 49 "type": "string" |
| 50 }, |
| 51 "oauth_token": { |
| 52 "description": "OAuth 2.0 token for the current user.", |
| 53 "location": "query", |
| 54 "type": "string" |
| 55 }, |
| 56 "prettyPrint": { |
| 57 "default": "true", |
| 58 "description": "Returns response with indentations and line breaks."
, |
| 59 "location": "query", |
| 60 "type": "boolean" |
| 61 }, |
| 62 "quotaUser": { |
| 63 "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.", |
| 64 "location": "query", |
| 65 "type": "string" |
| 66 }, |
| 67 "userIp": { |
| 68 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 69 "location": "query", |
| 70 "type": "string" |
| 71 } |
| 72 }, |
| 73 "protocol": "rest", |
| 74 "resources": { |
| 75 "accounts": { |
| 76 "methods": { |
| 77 "custombatch": { |
| 78 "description": "Retrieves, inserts, updates, and deletes mul
tiple Merchant Center (sub-)accounts in a single request.", |
| 79 "httpMethod": "POST", |
| 80 "id": "content.accounts.custombatch", |
| 81 "path": "accounts/batch", |
| 82 "request": { |
| 83 "$ref": "AccountsCustomBatchRequest" |
| 84 }, |
| 85 "response": { |
| 86 "$ref": "AccountsCustomBatchResponse" |
| 87 }, |
| 88 "scopes": [ |
| 89 "https://www.googleapis.com/auth/content" |
| 90 ] |
| 91 }, |
| 92 "delete": { |
| 93 "description": "Deletes a Merchant Center sub-account.", |
| 94 "httpMethod": "DELETE", |
| 95 "id": "content.accounts.delete", |
| 96 "parameterOrder": [ |
| 97 "merchantId", |
| 98 "accountId" |
| 99 ], |
| 100 "parameters": { |
| 101 "accountId": { |
| 102 "description": "The ID of the account.", |
| 103 "format": "uint64", |
| 104 "location": "path", |
| 105 "required": true, |
| 106 "type": "string" |
| 107 }, |
| 108 "merchantId": { |
| 109 "description": "The ID of the managing account.", |
| 110 "format": "uint64", |
| 111 "location": "path", |
| 112 "required": true, |
| 113 "type": "string" |
| 114 } |
| 115 }, |
| 116 "path": "{merchantId}/accounts/{accountId}", |
| 117 "scopes": [ |
| 118 "https://www.googleapis.com/auth/content" |
| 119 ] |
| 120 }, |
| 121 "get": { |
| 122 "description": "Retrieves a Merchant Center account.", |
| 123 "httpMethod": "GET", |
| 124 "id": "content.accounts.get", |
| 125 "parameterOrder": [ |
| 126 "merchantId", |
| 127 "accountId" |
| 128 ], |
| 129 "parameters": { |
| 130 "accountId": { |
| 131 "description": "The ID of the account.", |
| 132 "format": "uint64", |
| 133 "location": "path", |
| 134 "required": true, |
| 135 "type": "string" |
| 136 }, |
| 137 "merchantId": { |
| 138 "description": "The ID of the managing account.", |
| 139 "format": "uint64", |
| 140 "location": "path", |
| 141 "required": true, |
| 142 "type": "string" |
| 143 } |
| 144 }, |
| 145 "path": "{merchantId}/accounts/{accountId}", |
| 146 "response": { |
| 147 "$ref": "Account" |
| 148 }, |
| 149 "scopes": [ |
| 150 "https://www.googleapis.com/auth/content" |
| 151 ] |
| 152 }, |
| 153 "insert": { |
| 154 "description": "Creates a Merchant Center sub-account.", |
| 155 "httpMethod": "POST", |
| 156 "id": "content.accounts.insert", |
| 157 "parameterOrder": [ |
| 158 "merchantId" |
| 159 ], |
| 160 "parameters": { |
| 161 "merchantId": { |
| 162 "description": "The ID of the managing account.", |
| 163 "format": "uint64", |
| 164 "location": "path", |
| 165 "required": true, |
| 166 "type": "string" |
| 167 } |
| 168 }, |
| 169 "path": "{merchantId}/accounts", |
| 170 "request": { |
| 171 "$ref": "Account" |
| 172 }, |
| 173 "response": { |
| 174 "$ref": "Account" |
| 175 }, |
| 176 "scopes": [ |
| 177 "https://www.googleapis.com/auth/content" |
| 178 ] |
| 179 }, |
| 180 "list": { |
| 181 "description": "Lists the sub-accounts in your Merchant Cent
er account.", |
| 182 "httpMethod": "GET", |
| 183 "id": "content.accounts.list", |
| 184 "parameterOrder": [ |
| 185 "merchantId" |
| 186 ], |
| 187 "parameters": { |
| 188 "maxResults": { |
| 189 "description": "The maximum number of accounts to re
turn in the response, used for paging.", |
| 190 "format": "uint32", |
| 191 "location": "query", |
| 192 "type": "integer" |
| 193 }, |
| 194 "merchantId": { |
| 195 "description": "The ID of the managing account.", |
| 196 "format": "uint64", |
| 197 "location": "path", |
| 198 "required": true, |
| 199 "type": "string" |
| 200 }, |
| 201 "pageToken": { |
| 202 "description": "The token returned by the previous r
equest.", |
| 203 "location": "query", |
| 204 "type": "string" |
| 205 } |
| 206 }, |
| 207 "path": "{merchantId}/accounts", |
| 208 "response": { |
| 209 "$ref": "AccountsListResponse" |
| 210 }, |
| 211 "scopes": [ |
| 212 "https://www.googleapis.com/auth/content" |
| 213 ] |
| 214 }, |
| 215 "patch": { |
| 216 "description": "Updates a Merchant Center account. This meth
od supports patch semantics.", |
| 217 "httpMethod": "PATCH", |
| 218 "id": "content.accounts.patch", |
| 219 "parameterOrder": [ |
| 220 "merchantId", |
| 221 "accountId" |
| 222 ], |
| 223 "parameters": { |
| 224 "accountId": { |
| 225 "description": "The ID of the account.", |
| 226 "format": "uint64", |
| 227 "location": "path", |
| 228 "required": true, |
| 229 "type": "string" |
| 230 }, |
| 231 "merchantId": { |
| 232 "description": "The ID of the managing account.", |
| 233 "format": "uint64", |
| 234 "location": "path", |
| 235 "required": true, |
| 236 "type": "string" |
| 237 } |
| 238 }, |
| 239 "path": "{merchantId}/accounts/{accountId}", |
| 240 "request": { |
| 241 "$ref": "Account" |
| 242 }, |
| 243 "response": { |
| 244 "$ref": "Account" |
| 245 }, |
| 246 "scopes": [ |
| 247 "https://www.googleapis.com/auth/content" |
| 248 ] |
| 249 }, |
| 250 "update": { |
| 251 "description": "Updates a Merchant Center account.", |
| 252 "httpMethod": "PUT", |
| 253 "id": "content.accounts.update", |
| 254 "parameterOrder": [ |
| 255 "merchantId", |
| 256 "accountId" |
| 257 ], |
| 258 "parameters": { |
| 259 "accountId": { |
| 260 "description": "The ID of the account.", |
| 261 "format": "uint64", |
| 262 "location": "path", |
| 263 "required": true, |
| 264 "type": "string" |
| 265 }, |
| 266 "merchantId": { |
| 267 "description": "The ID of the managing account.", |
| 268 "format": "uint64", |
| 269 "location": "path", |
| 270 "required": true, |
| 271 "type": "string" |
| 272 } |
| 273 }, |
| 274 "path": "{merchantId}/accounts/{accountId}", |
| 275 "request": { |
| 276 "$ref": "Account" |
| 277 }, |
| 278 "response": { |
| 279 "$ref": "Account" |
| 280 }, |
| 281 "scopes": [ |
| 282 "https://www.googleapis.com/auth/content" |
| 283 ] |
| 284 } |
| 285 } |
| 286 }, |
| 287 "accountstatuses": { |
| 288 "methods": { |
| 289 "custombatch": { |
| 290 "httpMethod": "POST", |
| 291 "id": "content.accountstatuses.custombatch", |
| 292 "path": "accountstatuses/batch", |
| 293 "request": { |
| 294 "$ref": "AccountstatusesCustomBatchRequest" |
| 295 }, |
| 296 "response": { |
| 297 "$ref": "AccountstatusesCustomBatchResponse" |
| 298 }, |
| 299 "scopes": [ |
| 300 "https://www.googleapis.com/auth/content" |
| 301 ] |
| 302 }, |
| 303 "get": { |
| 304 "description": "Retrieves the status of a Merchant Center ac
count.", |
| 305 "httpMethod": "GET", |
| 306 "id": "content.accountstatuses.get", |
| 307 "parameterOrder": [ |
| 308 "merchantId", |
| 309 "accountId" |
| 310 ], |
| 311 "parameters": { |
| 312 "accountId": { |
| 313 "description": "The ID of the account.", |
| 314 "format": "uint64", |
| 315 "location": "path", |
| 316 "required": true, |
| 317 "type": "string" |
| 318 }, |
| 319 "merchantId": { |
| 320 "description": "The ID of the managing account.", |
| 321 "format": "uint64", |
| 322 "location": "path", |
| 323 "required": true, |
| 324 "type": "string" |
| 325 } |
| 326 }, |
| 327 "path": "{merchantId}/accountstatuses/{accountId}", |
| 328 "response": { |
| 329 "$ref": "AccountStatus" |
| 330 }, |
| 331 "scopes": [ |
| 332 "https://www.googleapis.com/auth/content" |
| 333 ] |
| 334 }, |
| 335 "list": { |
| 336 "description": "Lists the statuses of the sub-accounts in yo
ur Merchant Center account.", |
| 337 "httpMethod": "GET", |
| 338 "id": "content.accountstatuses.list", |
| 339 "parameterOrder": [ |
| 340 "merchantId" |
| 341 ], |
| 342 "parameters": { |
| 343 "maxResults": { |
| 344 "description": "The maximum number of account status
es to return in the response, used for paging.", |
| 345 "format": "uint32", |
| 346 "location": "query", |
| 347 "type": "integer" |
| 348 }, |
| 349 "merchantId": { |
| 350 "description": "The ID of the managing account.", |
| 351 "format": "uint64", |
| 352 "location": "path", |
| 353 "required": true, |
| 354 "type": "string" |
| 355 }, |
| 356 "pageToken": { |
| 357 "description": "The token returned by the previous r
equest.", |
| 358 "location": "query", |
| 359 "type": "string" |
| 360 } |
| 361 }, |
| 362 "path": "{merchantId}/accountstatuses", |
| 363 "response": { |
| 364 "$ref": "AccountstatusesListResponse" |
| 365 }, |
| 366 "scopes": [ |
| 367 "https://www.googleapis.com/auth/content" |
| 368 ] |
| 369 } |
| 370 } |
| 371 }, |
| 372 "datafeeds": { |
| 373 "methods": { |
| 374 "custombatch": { |
| 375 "httpMethod": "POST", |
| 376 "id": "content.datafeeds.custombatch", |
| 377 "path": "datafeeds/batch", |
| 378 "request": { |
| 379 "$ref": "DatafeedsCustomBatchRequest" |
| 380 }, |
| 381 "response": { |
| 382 "$ref": "DatafeedsCustomBatchResponse" |
| 383 }, |
| 384 "scopes": [ |
| 385 "https://www.googleapis.com/auth/content" |
| 386 ] |
| 387 }, |
| 388 "delete": { |
| 389 "description": "Deletes a datafeed from your Merchant Center
account.", |
| 390 "httpMethod": "DELETE", |
| 391 "id": "content.datafeeds.delete", |
| 392 "parameterOrder": [ |
| 393 "merchantId", |
| 394 "datafeedId" |
| 395 ], |
| 396 "parameters": { |
| 397 "datafeedId": { |
| 398 "format": "uint64", |
| 399 "location": "path", |
| 400 "required": true, |
| 401 "type": "string" |
| 402 }, |
| 403 "merchantId": { |
| 404 "format": "uint64", |
| 405 "location": "path", |
| 406 "required": true, |
| 407 "type": "string" |
| 408 } |
| 409 }, |
| 410 "path": "{merchantId}/datafeeds/{datafeedId}", |
| 411 "scopes": [ |
| 412 "https://www.googleapis.com/auth/content" |
| 413 ] |
| 414 }, |
| 415 "get": { |
| 416 "description": "Retrieves a datafeed from your Merchant Cent
er account.", |
| 417 "httpMethod": "GET", |
| 418 "id": "content.datafeeds.get", |
| 419 "parameterOrder": [ |
| 420 "merchantId", |
| 421 "datafeedId" |
| 422 ], |
| 423 "parameters": { |
| 424 "datafeedId": { |
| 425 "format": "uint64", |
| 426 "location": "path", |
| 427 "required": true, |
| 428 "type": "string" |
| 429 }, |
| 430 "merchantId": { |
| 431 "format": "uint64", |
| 432 "location": "path", |
| 433 "required": true, |
| 434 "type": "string" |
| 435 } |
| 436 }, |
| 437 "path": "{merchantId}/datafeeds/{datafeedId}", |
| 438 "response": { |
| 439 "$ref": "Datafeed" |
| 440 }, |
| 441 "scopes": [ |
| 442 "https://www.googleapis.com/auth/content" |
| 443 ] |
| 444 }, |
| 445 "insert": { |
| 446 "description": "Registers a datafeed with your Merchant Cent
er account.", |
| 447 "httpMethod": "POST", |
| 448 "id": "content.datafeeds.insert", |
| 449 "parameterOrder": [ |
| 450 "merchantId" |
| 451 ], |
| 452 "parameters": { |
| 453 "merchantId": { |
| 454 "format": "uint64", |
| 455 "location": "path", |
| 456 "required": true, |
| 457 "type": "string" |
| 458 } |
| 459 }, |
| 460 "path": "{merchantId}/datafeeds", |
| 461 "request": { |
| 462 "$ref": "Datafeed" |
| 463 }, |
| 464 "response": { |
| 465 "$ref": "Datafeed" |
| 466 }, |
| 467 "scopes": [ |
| 468 "https://www.googleapis.com/auth/content" |
| 469 ] |
| 470 }, |
| 471 "list": { |
| 472 "description": "Lists the datafeeds in your Merchant Center
account.", |
| 473 "httpMethod": "GET", |
| 474 "id": "content.datafeeds.list", |
| 475 "parameterOrder": [ |
| 476 "merchantId" |
| 477 ], |
| 478 "parameters": { |
| 479 "merchantId": { |
| 480 "format": "uint64", |
| 481 "location": "path", |
| 482 "required": true, |
| 483 "type": "string" |
| 484 } |
| 485 }, |
| 486 "path": "{merchantId}/datafeeds", |
| 487 "response": { |
| 488 "$ref": "DatafeedsListResponse" |
| 489 }, |
| 490 "scopes": [ |
| 491 "https://www.googleapis.com/auth/content" |
| 492 ] |
| 493 }, |
| 494 "patch": { |
| 495 "description": "Updates a datafeed of your Merchant Center a
ccount. This method supports patch semantics.", |
| 496 "httpMethod": "PATCH", |
| 497 "id": "content.datafeeds.patch", |
| 498 "parameterOrder": [ |
| 499 "merchantId", |
| 500 "datafeedId" |
| 501 ], |
| 502 "parameters": { |
| 503 "datafeedId": { |
| 504 "format": "uint64", |
| 505 "location": "path", |
| 506 "required": true, |
| 507 "type": "string" |
| 508 }, |
| 509 "merchantId": { |
| 510 "format": "uint64", |
| 511 "location": "path", |
| 512 "required": true, |
| 513 "type": "string" |
| 514 } |
| 515 }, |
| 516 "path": "{merchantId}/datafeeds/{datafeedId}", |
| 517 "request": { |
| 518 "$ref": "Datafeed" |
| 519 }, |
| 520 "response": { |
| 521 "$ref": "Datafeed" |
| 522 }, |
| 523 "scopes": [ |
| 524 "https://www.googleapis.com/auth/content" |
| 525 ] |
| 526 }, |
| 527 "update": { |
| 528 "description": "Updates a datafeed of your Merchant Center a
ccount.", |
| 529 "httpMethod": "PUT", |
| 530 "id": "content.datafeeds.update", |
| 531 "parameterOrder": [ |
| 532 "merchantId", |
| 533 "datafeedId" |
| 534 ], |
| 535 "parameters": { |
| 536 "datafeedId": { |
| 537 "format": "uint64", |
| 538 "location": "path", |
| 539 "required": true, |
| 540 "type": "string" |
| 541 }, |
| 542 "merchantId": { |
| 543 "format": "uint64", |
| 544 "location": "path", |
| 545 "required": true, |
| 546 "type": "string" |
| 547 } |
| 548 }, |
| 549 "path": "{merchantId}/datafeeds/{datafeedId}", |
| 550 "request": { |
| 551 "$ref": "Datafeed" |
| 552 }, |
| 553 "response": { |
| 554 "$ref": "Datafeed" |
| 555 }, |
| 556 "scopes": [ |
| 557 "https://www.googleapis.com/auth/content" |
| 558 ] |
| 559 } |
| 560 } |
| 561 }, |
| 562 "datafeedstatuses": { |
| 563 "methods": { |
| 564 "custombatch": { |
| 565 "httpMethod": "POST", |
| 566 "id": "content.datafeedstatuses.custombatch", |
| 567 "path": "datafeedstatuses/batch", |
| 568 "request": { |
| 569 "$ref": "DatafeedstatusesCustomBatchRequest" |
| 570 }, |
| 571 "response": { |
| 572 "$ref": "DatafeedstatusesCustomBatchResponse" |
| 573 }, |
| 574 "scopes": [ |
| 575 "https://www.googleapis.com/auth/content" |
| 576 ] |
| 577 }, |
| 578 "get": { |
| 579 "description": "Retrieves the status of a datafeed from your
Merchant Center account.", |
| 580 "httpMethod": "GET", |
| 581 "id": "content.datafeedstatuses.get", |
| 582 "parameterOrder": [ |
| 583 "merchantId", |
| 584 "datafeedId" |
| 585 ], |
| 586 "parameters": { |
| 587 "datafeedId": { |
| 588 "format": "uint64", |
| 589 "location": "path", |
| 590 "required": true, |
| 591 "type": "string" |
| 592 }, |
| 593 "merchantId": { |
| 594 "format": "uint64", |
| 595 "location": "path", |
| 596 "required": true, |
| 597 "type": "string" |
| 598 } |
| 599 }, |
| 600 "path": "{merchantId}/datafeedstatuses/{datafeedId}", |
| 601 "response": { |
| 602 "$ref": "DatafeedStatus" |
| 603 }, |
| 604 "scopes": [ |
| 605 "https://www.googleapis.com/auth/content" |
| 606 ] |
| 607 }, |
| 608 "list": { |
| 609 "description": "Lists the statuses of the datafeeds in your
Merchant Center account.", |
| 610 "httpMethod": "GET", |
| 611 "id": "content.datafeedstatuses.list", |
| 612 "parameterOrder": [ |
| 613 "merchantId" |
| 614 ], |
| 615 "parameters": { |
| 616 "merchantId": { |
| 617 "format": "uint64", |
| 618 "location": "path", |
| 619 "required": true, |
| 620 "type": "string" |
| 621 } |
| 622 }, |
| 623 "path": "{merchantId}/datafeedstatuses", |
| 624 "response": { |
| 625 "$ref": "DatafeedstatusesListResponse" |
| 626 }, |
| 627 "scopes": [ |
| 628 "https://www.googleapis.com/auth/content" |
| 629 ] |
| 630 } |
| 631 } |
| 632 }, |
| 633 "inventory": { |
| 634 "methods": { |
| 635 "custombatch": { |
| 636 "description": "Updates price and availability for multiple
products or stores in a single request.", |
| 637 "httpMethod": "POST", |
| 638 "id": "content.inventory.custombatch", |
| 639 "path": "inventory/batch", |
| 640 "request": { |
| 641 "$ref": "InventoryCustomBatchRequest" |
| 642 }, |
| 643 "response": { |
| 644 "$ref": "InventoryCustomBatchResponse" |
| 645 }, |
| 646 "scopes": [ |
| 647 "https://www.googleapis.com/auth/content" |
| 648 ] |
| 649 }, |
| 650 "set": { |
| 651 "description": "Updates price and availability of a product
in your Merchant Center account.", |
| 652 "httpMethod": "POST", |
| 653 "id": "content.inventory.set", |
| 654 "parameterOrder": [ |
| 655 "merchantId", |
| 656 "storeCode", |
| 657 "productId" |
| 658 ], |
| 659 "parameters": { |
| 660 "merchantId": { |
| 661 "description": "The ID of the managing account.", |
| 662 "format": "uint64", |
| 663 "location": "path", |
| 664 "required": true, |
| 665 "type": "string" |
| 666 }, |
| 667 "productId": { |
| 668 "description": "The ID of the product for which to u
pdate price and availability.", |
| 669 "location": "path", |
| 670 "required": true, |
| 671 "type": "string" |
| 672 }, |
| 673 "storeCode": { |
| 674 "description": "The code of the store for which to u
pdate price and availability. Use online to update price and availability of an
online product.", |
| 675 "location": "path", |
| 676 "required": true, |
| 677 "type": "string" |
| 678 } |
| 679 }, |
| 680 "path": "{merchantId}/inventory/{storeCode}/products/{produc
tId}", |
| 681 "request": { |
| 682 "$ref": "InventorySetRequest" |
| 683 }, |
| 684 "response": { |
| 685 "$ref": "InventorySetResponse" |
| 686 }, |
| 687 "scopes": [ |
| 688 "https://www.googleapis.com/auth/content" |
| 689 ] |
| 690 } |
| 691 } |
| 692 }, |
| 693 "products": { |
| 694 "methods": { |
| 695 "custombatch": { |
| 696 "description": "Retrieves, inserts, and deletes multiple pro
ducts in a single request.", |
| 697 "httpMethod": "POST", |
| 698 "id": "content.products.custombatch", |
| 699 "parameters": { |
| 700 "dryRun": { |
| 701 "description": "Flag to run the request in dry-run m
ode.", |
| 702 "location": "query", |
| 703 "type": "boolean" |
| 704 } |
| 705 }, |
| 706 "path": "products/batch", |
| 707 "request": { |
| 708 "$ref": "ProductsCustomBatchRequest" |
| 709 }, |
| 710 "response": { |
| 711 "$ref": "ProductsCustomBatchResponse" |
| 712 }, |
| 713 "scopes": [ |
| 714 "https://www.googleapis.com/auth/content" |
| 715 ] |
| 716 }, |
| 717 "delete": { |
| 718 "description": "Deletes a product from your Merchant Center
account.", |
| 719 "httpMethod": "DELETE", |
| 720 "id": "content.products.delete", |
| 721 "parameterOrder": [ |
| 722 "merchantId", |
| 723 "productId" |
| 724 ], |
| 725 "parameters": { |
| 726 "dryRun": { |
| 727 "description": "Flag to run the request in dry-run m
ode.", |
| 728 "location": "query", |
| 729 "type": "boolean" |
| 730 }, |
| 731 "merchantId": { |
| 732 "description": "The ID of the managing account.", |
| 733 "format": "uint64", |
| 734 "location": "path", |
| 735 "required": true, |
| 736 "type": "string" |
| 737 }, |
| 738 "productId": { |
| 739 "description": "The ID of the product.", |
| 740 "location": "path", |
| 741 "required": true, |
| 742 "type": "string" |
| 743 } |
| 744 }, |
| 745 "path": "{merchantId}/products/{productId}", |
| 746 "scopes": [ |
| 747 "https://www.googleapis.com/auth/content" |
| 748 ] |
| 749 }, |
| 750 "get": { |
| 751 "description": "Retrieves a product from your Merchant Cente
r account.", |
| 752 "httpMethod": "GET", |
| 753 "id": "content.products.get", |
| 754 "parameterOrder": [ |
| 755 "merchantId", |
| 756 "productId" |
| 757 ], |
| 758 "parameters": { |
| 759 "merchantId": { |
| 760 "description": "The ID of the managing account.", |
| 761 "format": "uint64", |
| 762 "location": "path", |
| 763 "required": true, |
| 764 "type": "string" |
| 765 }, |
| 766 "productId": { |
| 767 "description": "The ID of the product.", |
| 768 "location": "path", |
| 769 "required": true, |
| 770 "type": "string" |
| 771 } |
| 772 }, |
| 773 "path": "{merchantId}/products/{productId}", |
| 774 "response": { |
| 775 "$ref": "Product" |
| 776 }, |
| 777 "scopes": [ |
| 778 "https://www.googleapis.com/auth/content" |
| 779 ] |
| 780 }, |
| 781 "insert": { |
| 782 "description": "Uploads a product to your Merchant Center ac
count.", |
| 783 "httpMethod": "POST", |
| 784 "id": "content.products.insert", |
| 785 "parameterOrder": [ |
| 786 "merchantId" |
| 787 ], |
| 788 "parameters": { |
| 789 "dryRun": { |
| 790 "description": "Flag to run the request in dry-run m
ode.", |
| 791 "location": "query", |
| 792 "type": "boolean" |
| 793 }, |
| 794 "merchantId": { |
| 795 "description": "The ID of the managing account.", |
| 796 "format": "uint64", |
| 797 "location": "path", |
| 798 "required": true, |
| 799 "type": "string" |
| 800 } |
| 801 }, |
| 802 "path": "{merchantId}/products", |
| 803 "request": { |
| 804 "$ref": "Product" |
| 805 }, |
| 806 "response": { |
| 807 "$ref": "Product" |
| 808 }, |
| 809 "scopes": [ |
| 810 "https://www.googleapis.com/auth/content" |
| 811 ] |
| 812 }, |
| 813 "list": { |
| 814 "description": "Lists the products in your Merchant Center a
ccount.", |
| 815 "httpMethod": "GET", |
| 816 "id": "content.products.list", |
| 817 "parameterOrder": [ |
| 818 "merchantId" |
| 819 ], |
| 820 "parameters": { |
| 821 "maxResults": { |
| 822 "description": "The maximum number of products to re
turn in the response, used for paging.", |
| 823 "format": "uint32", |
| 824 "location": "query", |
| 825 "type": "integer" |
| 826 }, |
| 827 "merchantId": { |
| 828 "description": "The ID of the managing account.", |
| 829 "format": "uint64", |
| 830 "location": "path", |
| 831 "required": true, |
| 832 "type": "string" |
| 833 }, |
| 834 "pageToken": { |
| 835 "description": "The token returned by the previous r
equest.", |
| 836 "location": "query", |
| 837 "type": "string" |
| 838 } |
| 839 }, |
| 840 "path": "{merchantId}/products", |
| 841 "response": { |
| 842 "$ref": "ProductsListResponse" |
| 843 }, |
| 844 "scopes": [ |
| 845 "https://www.googleapis.com/auth/content" |
| 846 ] |
| 847 } |
| 848 } |
| 849 }, |
| 850 "productstatuses": { |
| 851 "methods": { |
| 852 "custombatch": { |
| 853 "description": "Gets the statuses of multiple products in a
single request.", |
| 854 "httpMethod": "POST", |
| 855 "id": "content.productstatuses.custombatch", |
| 856 "path": "productstatuses/batch", |
| 857 "request": { |
| 858 "$ref": "ProductstatusesCustomBatchRequest" |
| 859 }, |
| 860 "response": { |
| 861 "$ref": "ProductstatusesCustomBatchResponse" |
| 862 }, |
| 863 "scopes": [ |
| 864 "https://www.googleapis.com/auth/content" |
| 865 ] |
| 866 }, |
| 867 "get": { |
| 868 "description": "Gets the status of a product from your Merch
ant Center account.", |
| 869 "httpMethod": "GET", |
| 870 "id": "content.productstatuses.get", |
| 871 "parameterOrder": [ |
| 872 "merchantId", |
| 873 "productId" |
| 874 ], |
| 875 "parameters": { |
| 876 "merchantId": { |
| 877 "description": "The ID of the managing account.", |
| 878 "format": "uint64", |
| 879 "location": "path", |
| 880 "required": true, |
| 881 "type": "string" |
| 882 }, |
| 883 "productId": { |
| 884 "description": "The ID of the product.", |
| 885 "location": "path", |
| 886 "required": true, |
| 887 "type": "string" |
| 888 } |
| 889 }, |
| 890 "path": "{merchantId}/productstatuses/{productId}", |
| 891 "response": { |
| 892 "$ref": "ProductStatus" |
| 893 }, |
| 894 "scopes": [ |
| 895 "https://www.googleapis.com/auth/content" |
| 896 ] |
| 897 }, |
| 898 "list": { |
| 899 "description": "Lists the statuses of the products in your M
erchant Center account.", |
| 900 "httpMethod": "GET", |
| 901 "id": "content.productstatuses.list", |
| 902 "parameterOrder": [ |
| 903 "merchantId" |
| 904 ], |
| 905 "parameters": { |
| 906 "maxResults": { |
| 907 "description": "The maximum number of product status
es to return in the response, used for paging.", |
| 908 "format": "uint32", |
| 909 "location": "query", |
| 910 "type": "integer" |
| 911 }, |
| 912 "merchantId": { |
| 913 "description": "The ID of the managing account.", |
| 914 "format": "uint64", |
| 915 "location": "path", |
| 916 "required": true, |
| 917 "type": "string" |
| 918 }, |
| 919 "pageToken": { |
| 920 "description": "The token returned by the previous r
equest.", |
| 921 "location": "query", |
| 922 "type": "string" |
| 923 } |
| 924 }, |
| 925 "path": "{merchantId}/productstatuses", |
| 926 "response": { |
| 927 "$ref": "ProductstatusesListResponse" |
| 928 }, |
| 929 "scopes": [ |
| 930 "https://www.googleapis.com/auth/content" |
| 931 ] |
| 932 } |
| 933 } |
| 934 } |
| 935 }, |
| 936 "revision": "20140831", |
| 937 "rootUrl": "https://www.googleapis.com/", |
| 938 "schemas": { |
| 939 "Account": { |
| 940 "id": "Account", |
| 941 "properties": { |
| 942 "adultContent": { |
| 943 "description": "Indicates whether the merchant sells adult c
ontent.", |
| 944 "type": "boolean" |
| 945 }, |
| 946 "adwordsLinks": { |
| 947 "description": "List of linked AdWords accounts.", |
| 948 "items": { |
| 949 "$ref": "AccountAdwordsLink" |
| 950 }, |
| 951 "type": "array" |
| 952 }, |
| 953 "id": { |
| 954 "annotations": { |
| 955 "required": [ |
| 956 "content.accounts.update" |
| 957 ] |
| 958 }, |
| 959 "description": "Merchant Center account ID.", |
| 960 "format": "uint64", |
| 961 "type": "string" |
| 962 }, |
| 963 "kind": { |
| 964 "default": "content#account", |
| 965 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#account\".", |
| 966 "type": "string" |
| 967 }, |
| 968 "name": { |
| 969 "annotations": { |
| 970 "required": [ |
| 971 "content.accounts.insert", |
| 972 "content.accounts.update" |
| 973 ] |
| 974 }, |
| 975 "description": "Display name for the account.", |
| 976 "type": "string" |
| 977 }, |
| 978 "reviewsUrl": { |
| 979 "description": "URL for individual seller reviews, i.e., rev
iews for each child account.", |
| 980 "type": "string" |
| 981 }, |
| 982 "sellerId": { |
| 983 "description": "Client-specific, locally-unique, internal ID
for the child account.", |
| 984 "type": "string" |
| 985 }, |
| 986 "users": { |
| 987 "description": "Users with access to the account. Every acco
unt (except for subaccounts) must have at least one admin user.", |
| 988 "items": { |
| 989 "$ref": "AccountUser" |
| 990 }, |
| 991 "type": "array" |
| 992 }, |
| 993 "websiteUrl": { |
| 994 "description": "The merchant's website.", |
| 995 "type": "string" |
| 996 } |
| 997 }, |
| 998 "type": "object" |
| 999 }, |
| 1000 "AccountAdwordsLink": { |
| 1001 "id": "AccountAdwordsLink", |
| 1002 "properties": { |
| 1003 "adwordsId": { |
| 1004 "description": "Customer ID of the AdWords account.", |
| 1005 "format": "uint64", |
| 1006 "type": "string" |
| 1007 }, |
| 1008 "status": { |
| 1009 "description": "Status of the link between this Merchant Cen
ter account and the AdWords account.", |
| 1010 "type": "string" |
| 1011 } |
| 1012 }, |
| 1013 "type": "object" |
| 1014 }, |
| 1015 "AccountStatus": { |
| 1016 "description": "The status of an account, i.e., information about it
s products, which is computed offline and not returned immediately at insertion
time.", |
| 1017 "id": "AccountStatus", |
| 1018 "properties": { |
| 1019 "accountId": { |
| 1020 "description": "The ID of the account for which the status i
s reported.", |
| 1021 "type": "string" |
| 1022 }, |
| 1023 "dataQualityIssues": { |
| 1024 "description": "A list of data quality issues.", |
| 1025 "items": { |
| 1026 "$ref": "AccountStatusDataQualityIssue" |
| 1027 }, |
| 1028 "type": "array" |
| 1029 }, |
| 1030 "kind": { |
| 1031 "default": "content#accountStatus", |
| 1032 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountStatus\".", |
| 1033 "type": "string" |
| 1034 } |
| 1035 }, |
| 1036 "type": "object" |
| 1037 }, |
| 1038 "AccountStatusDataQualityIssue": { |
| 1039 "id": "AccountStatusDataQualityIssue", |
| 1040 "properties": { |
| 1041 "country": { |
| 1042 "description": "Country for which this issue is reported.", |
| 1043 "type": "string" |
| 1044 }, |
| 1045 "displayedValue": { |
| 1046 "description": "Actual value displayed on the landing page."
, |
| 1047 "type": "string" |
| 1048 }, |
| 1049 "exampleItems": { |
| 1050 "description": "Example items featuring the issue.", |
| 1051 "items": { |
| 1052 "$ref": "AccountStatusExampleItem" |
| 1053 }, |
| 1054 "type": "array" |
| 1055 }, |
| 1056 "id": { |
| 1057 "description": "Issue identifier.", |
| 1058 "type": "string" |
| 1059 }, |
| 1060 "lastChecked": { |
| 1061 "description": "Last time the account was checked for this i
ssue.", |
| 1062 "type": "string" |
| 1063 }, |
| 1064 "numItems": { |
| 1065 "description": "Number of items in the account found to have
the said issue.", |
| 1066 "format": "uint32", |
| 1067 "type": "integer" |
| 1068 }, |
| 1069 "severity": { |
| 1070 "description": "Severity of the problem.", |
| 1071 "type": "string" |
| 1072 }, |
| 1073 "submittedValue": { |
| 1074 "description": "Submitted value that causes the issue.", |
| 1075 "type": "string" |
| 1076 } |
| 1077 }, |
| 1078 "type": "object" |
| 1079 }, |
| 1080 "AccountStatusExampleItem": { |
| 1081 "description": "An example of an item that has poor data quality. An
item value on the landing page differs from what is submitted, or conflicts wit
h a policy.", |
| 1082 "id": "AccountStatusExampleItem", |
| 1083 "properties": { |
| 1084 "itemId": { |
| 1085 "description": "Unique item ID as specified in the uploaded
product data.", |
| 1086 "type": "string" |
| 1087 }, |
| 1088 "link": { |
| 1089 "description": "Landing page of the item.", |
| 1090 "type": "string" |
| 1091 }, |
| 1092 "submittedValue": { |
| 1093 "description": "The item value that was submitted.", |
| 1094 "type": "string" |
| 1095 }, |
| 1096 "title": { |
| 1097 "description": "Title of the item.", |
| 1098 "type": "string" |
| 1099 }, |
| 1100 "valueOnLandingPage": { |
| 1101 "description": "The actual value on the landing page.", |
| 1102 "type": "string" |
| 1103 } |
| 1104 }, |
| 1105 "type": "object" |
| 1106 }, |
| 1107 "AccountUser": { |
| 1108 "id": "AccountUser", |
| 1109 "properties": { |
| 1110 "admin": { |
| 1111 "description": "Whether user is an admin.", |
| 1112 "type": "boolean" |
| 1113 }, |
| 1114 "emailAddress": { |
| 1115 "description": "User's email address.", |
| 1116 "type": "string" |
| 1117 } |
| 1118 }, |
| 1119 "type": "object" |
| 1120 }, |
| 1121 "AccountsCustomBatchRequest": { |
| 1122 "id": "AccountsCustomBatchRequest", |
| 1123 "properties": { |
| 1124 "entries": { |
| 1125 "items": { |
| 1126 "$ref": "AccountsCustomBatchRequestEntry" |
| 1127 }, |
| 1128 "type": "array" |
| 1129 } |
| 1130 }, |
| 1131 "type": "object" |
| 1132 }, |
| 1133 "AccountsCustomBatchRequestEntry": { |
| 1134 "description": "A batch entry encoding a single non-batch request to
the accounts service of the Content API for Shopping.", |
| 1135 "id": "AccountsCustomBatchRequestEntry", |
| 1136 "properties": { |
| 1137 "account": { |
| 1138 "$ref": "Account", |
| 1139 "description": "The account to create or update. Only define
d if the method is insert or update." |
| 1140 }, |
| 1141 "accountId": { |
| 1142 "description": "The ID of the account to get or delete. Only
defined if the method is get or delete.", |
| 1143 "format": "uint64", |
| 1144 "type": "string" |
| 1145 }, |
| 1146 "batchId": { |
| 1147 "description": "An entry ID, unique within the batch request
.", |
| 1148 "format": "uint32", |
| 1149 "type": "integer" |
| 1150 }, |
| 1151 "merchantId": { |
| 1152 "description": "The ID of the managing account.", |
| 1153 "format": "uint64", |
| 1154 "type": "string" |
| 1155 }, |
| 1156 "method": { |
| 1157 "description": "The method (get, insert, update, or delete).
", |
| 1158 "type": "string" |
| 1159 } |
| 1160 }, |
| 1161 "type": "object" |
| 1162 }, |
| 1163 "AccountsCustomBatchResponse": { |
| 1164 "id": "AccountsCustomBatchResponse", |
| 1165 "properties": { |
| 1166 "entries": { |
| 1167 "items": { |
| 1168 "$ref": "AccountsCustomBatchResponseEntry" |
| 1169 }, |
| 1170 "type": "array" |
| 1171 }, |
| 1172 "kind": { |
| 1173 "default": "content#accountsCustomBatchResponse", |
| 1174 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountsCustomBatchResponse\".", |
| 1175 "type": "string" |
| 1176 } |
| 1177 }, |
| 1178 "type": "object" |
| 1179 }, |
| 1180 "AccountsCustomBatchResponseEntry": { |
| 1181 "description": "A batch entry encoding a single non-batch response f
rom the accounts service of the Content API for Shopping.", |
| 1182 "id": "AccountsCustomBatchResponseEntry", |
| 1183 "properties": { |
| 1184 "account": { |
| 1185 "$ref": "Account", |
| 1186 "description": "The retrieved, created, or updated account.
Not defined if the method was delete." |
| 1187 }, |
| 1188 "batchId": { |
| 1189 "description": "The ID of the request entry this entry respo
nds to.", |
| 1190 "format": "uint32", |
| 1191 "type": "integer" |
| 1192 }, |
| 1193 "errors": { |
| 1194 "$ref": "Errors", |
| 1195 "description": "A list of errors defined if and only if the
request failed." |
| 1196 }, |
| 1197 "kind": { |
| 1198 "default": "content#accountsCustomBatchResponseEntry", |
| 1199 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountsCustomBatchResponseEntry\".", |
| 1200 "type": "string" |
| 1201 } |
| 1202 }, |
| 1203 "type": "object" |
| 1204 }, |
| 1205 "AccountsListResponse": { |
| 1206 "id": "AccountsListResponse", |
| 1207 "properties": { |
| 1208 "kind": { |
| 1209 "default": "content#accountsListResponse", |
| 1210 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountsListResponse\".", |
| 1211 "type": "string" |
| 1212 }, |
| 1213 "nextPageToken": { |
| 1214 "type": "string" |
| 1215 }, |
| 1216 "resources": { |
| 1217 "items": { |
| 1218 "$ref": "Account" |
| 1219 }, |
| 1220 "type": "array" |
| 1221 } |
| 1222 }, |
| 1223 "type": "object" |
| 1224 }, |
| 1225 "AccountstatusesCustomBatchRequest": { |
| 1226 "id": "AccountstatusesCustomBatchRequest", |
| 1227 "properties": { |
| 1228 "entries": { |
| 1229 "items": { |
| 1230 "$ref": "AccountstatusesCustomBatchRequestEntry" |
| 1231 }, |
| 1232 "type": "array" |
| 1233 } |
| 1234 }, |
| 1235 "type": "object" |
| 1236 }, |
| 1237 "AccountstatusesCustomBatchRequestEntry": { |
| 1238 "description": "A batch entry encoding a single non-batch request to
the accountstatuses service of the Content API for Shopping.", |
| 1239 "id": "AccountstatusesCustomBatchRequestEntry", |
| 1240 "properties": { |
| 1241 "accountId": { |
| 1242 "description": "The ID of the (sub-)account whose status to
get.", |
| 1243 "format": "uint64", |
| 1244 "type": "string" |
| 1245 }, |
| 1246 "batchId": { |
| 1247 "description": "An entry ID, unique within the batch request
.", |
| 1248 "format": "uint32", |
| 1249 "type": "integer" |
| 1250 }, |
| 1251 "merchantId": { |
| 1252 "description": "The ID of the managing account.", |
| 1253 "format": "uint64", |
| 1254 "type": "string" |
| 1255 }, |
| 1256 "method": { |
| 1257 "description": "The method (get).", |
| 1258 "type": "string" |
| 1259 } |
| 1260 }, |
| 1261 "type": "object" |
| 1262 }, |
| 1263 "AccountstatusesCustomBatchResponse": { |
| 1264 "id": "AccountstatusesCustomBatchResponse", |
| 1265 "properties": { |
| 1266 "entries": { |
| 1267 "items": { |
| 1268 "$ref": "AccountstatusesCustomBatchResponseEntry" |
| 1269 }, |
| 1270 "type": "array" |
| 1271 }, |
| 1272 "kind": { |
| 1273 "default": "content#accountstatusesCustomBatchResponse", |
| 1274 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountstatusesCustomBatchResponse\".", |
| 1275 "type": "string" |
| 1276 } |
| 1277 }, |
| 1278 "type": "object" |
| 1279 }, |
| 1280 "AccountstatusesCustomBatchResponseEntry": { |
| 1281 "description": "A batch entry encoding a single non-batch response f
rom the accountstatuses service of the Content API for Shopping.", |
| 1282 "id": "AccountstatusesCustomBatchResponseEntry", |
| 1283 "properties": { |
| 1284 "accountStatus": { |
| 1285 "$ref": "AccountStatus", |
| 1286 "description": "The requested account status. Defined if and
only if the request was successful." |
| 1287 }, |
| 1288 "batchId": { |
| 1289 "description": "The ID of the request entry this entry respo
nds to.", |
| 1290 "format": "uint32", |
| 1291 "type": "integer" |
| 1292 }, |
| 1293 "errors": { |
| 1294 "$ref": "Errors", |
| 1295 "description": "A list of errors defined if and only if the
request failed." |
| 1296 } |
| 1297 }, |
| 1298 "type": "object" |
| 1299 }, |
| 1300 "AccountstatusesListResponse": { |
| 1301 "id": "AccountstatusesListResponse", |
| 1302 "properties": { |
| 1303 "kind": { |
| 1304 "default": "content#accountstatusesListResponse", |
| 1305 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#accountstatusesListResponse\".", |
| 1306 "type": "string" |
| 1307 }, |
| 1308 "nextPageToken": { |
| 1309 "type": "string" |
| 1310 }, |
| 1311 "resources": { |
| 1312 "items": { |
| 1313 "$ref": "AccountStatus" |
| 1314 }, |
| 1315 "type": "array" |
| 1316 } |
| 1317 }, |
| 1318 "type": "object" |
| 1319 }, |
| 1320 "Datafeed": { |
| 1321 "id": "Datafeed", |
| 1322 "properties": { |
| 1323 "attributeLanguage": { |
| 1324 "description": "The two-letter ISO 639-1 language in which t
he attributes are defined in the data feed.", |
| 1325 "type": "string" |
| 1326 }, |
| 1327 "contentLanguage": { |
| 1328 "annotations": { |
| 1329 "required": [ |
| 1330 "content.datafeeds.insert" |
| 1331 ] |
| 1332 }, |
| 1333 "description": "The two-letter ISO 639-1 language of the ite
ms in the feed.", |
| 1334 "type": "string" |
| 1335 }, |
| 1336 "contentType": { |
| 1337 "annotations": { |
| 1338 "required": [ |
| 1339 "content.datafeeds.insert", |
| 1340 "content.datafeeds.update" |
| 1341 ] |
| 1342 }, |
| 1343 "description": "The type of data feed.", |
| 1344 "type": "string" |
| 1345 }, |
| 1346 "fetchSchedule": { |
| 1347 "$ref": "DatafeedFetchSchedule", |
| 1348 "description": "Fetch schedule for the feed file." |
| 1349 }, |
| 1350 "fileName": { |
| 1351 "annotations": { |
| 1352 "required": [ |
| 1353 "content.datafeeds.insert", |
| 1354 "content.datafeeds.update" |
| 1355 ] |
| 1356 }, |
| 1357 "description": "The filename of the feed. All feeds must hav
e a unique file name.", |
| 1358 "type": "string" |
| 1359 }, |
| 1360 "format": { |
| 1361 "$ref": "DatafeedFormat", |
| 1362 "description": "Format of the feed file." |
| 1363 }, |
| 1364 "id": { |
| 1365 "annotations": { |
| 1366 "required": [ |
| 1367 "content.datafeeds.update" |
| 1368 ] |
| 1369 }, |
| 1370 "description": "The ID of the data feed.", |
| 1371 "format": "int64", |
| 1372 "type": "string" |
| 1373 }, |
| 1374 "intendedDestinations": { |
| 1375 "description": "The list of intended destinations (correspon
ds to checked check boxes in Merchant Center).", |
| 1376 "items": { |
| 1377 "type": "string" |
| 1378 }, |
| 1379 "type": "array" |
| 1380 }, |
| 1381 "kind": { |
| 1382 "default": "content#datafeed", |
| 1383 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#datafeed\".", |
| 1384 "type": "string" |
| 1385 }, |
| 1386 "name": { |
| 1387 "annotations": { |
| 1388 "required": [ |
| 1389 "content.datafeeds.insert" |
| 1390 ] |
| 1391 }, |
| 1392 "description": "A descriptive name of the data feed.", |
| 1393 "type": "string" |
| 1394 }, |
| 1395 "targetCountry": { |
| 1396 "annotations": { |
| 1397 "required": [ |
| 1398 "content.datafeeds.insert", |
| 1399 "content.datafeeds.update" |
| 1400 ] |
| 1401 }, |
| 1402 "description": "The two-letter ISO 3166 country where the it
ems in the feed will be included in the search index.", |
| 1403 "type": "string" |
| 1404 } |
| 1405 }, |
| 1406 "type": "object" |
| 1407 }, |
| 1408 "DatafeedFetchSchedule": { |
| 1409 "description": "The required fields vary based on the frequency of f
etching. For a monthly fetch schedule, day_of_month and hour are required. For a
weekly fetch schedule, weekday and hour are required. For a daily fetch schedul
e, only hour is required.", |
| 1410 "id": "DatafeedFetchSchedule", |
| 1411 "properties": { |
| 1412 "dayOfMonth": { |
| 1413 "description": "The day of the month the feed file should be
fetched (1-31).", |
| 1414 "format": "uint32", |
| 1415 "type": "integer" |
| 1416 }, |
| 1417 "fetchUrl": { |
| 1418 "description": "The URL where the feed file can be fetched.
Google Merchant Center will support automatic scheduled uploads using the HTTP,
HTTPS, FTP, or SFTP protocols, so the value will need to be a valid link using o
ne of those four protocols.", |
| 1419 "type": "string" |
| 1420 }, |
| 1421 "hour": { |
| 1422 "description": "The hour of the day the feed file should be
fetched (0-24).", |
| 1423 "format": "uint32", |
| 1424 "type": "integer" |
| 1425 }, |
| 1426 "password": { |
| 1427 "description": "An optional password for fetch_url.", |
| 1428 "type": "string" |
| 1429 }, |
| 1430 "timeZone": { |
| 1431 "description": "Time zone used for schedule. UTC by default.
E.g., \"America/Los_Angeles\".", |
| 1432 "type": "string" |
| 1433 }, |
| 1434 "username": { |
| 1435 "description": "An optional user name for fetch_url.", |
| 1436 "type": "string" |
| 1437 }, |
| 1438 "weekday": { |
| 1439 "description": "The day of the week the feed file should be
fetched.", |
| 1440 "type": "string" |
| 1441 } |
| 1442 }, |
| 1443 "type": "object" |
| 1444 }, |
| 1445 "DatafeedFormat": { |
| 1446 "id": "DatafeedFormat", |
| 1447 "properties": { |
| 1448 "columnDelimiter": { |
| 1449 "description": "Delimiter for the separation of values in a
delimiter-separated values feed. If not specified, the delimiter will be auto-de
tected. Ignored for non-DSV data feeds.", |
| 1450 "type": "string" |
| 1451 }, |
| 1452 "fileEncoding": { |
| 1453 "description": "Character encoding scheme of the data feed.
If not specified, the encoding will be auto-detected.", |
| 1454 "type": "string" |
| 1455 }, |
| 1456 "quotingMode": { |
| 1457 "description": "Specifies how double quotes are interpreted.
If not specified, the mode will be auto-detected. Ignored for non-DSV data feed
s.", |
| 1458 "type": "string" |
| 1459 } |
| 1460 }, |
| 1461 "type": "object" |
| 1462 }, |
| 1463 "DatafeedStatus": { |
| 1464 "id": "DatafeedStatus", |
| 1465 "properties": { |
| 1466 "datafeedId": { |
| 1467 "description": "The ID of the feed for which the status is r
eported.", |
| 1468 "format": "uint64", |
| 1469 "type": "string" |
| 1470 }, |
| 1471 "errors": { |
| 1472 "description": "The list of errors occurring in the feed.", |
| 1473 "items": { |
| 1474 "$ref": "DatafeedStatusError" |
| 1475 }, |
| 1476 "type": "array" |
| 1477 }, |
| 1478 "itemsTotal": { |
| 1479 "description": "The number of items in the feed that were pr
ocessed.", |
| 1480 "format": "uint64", |
| 1481 "type": "string" |
| 1482 }, |
| 1483 "itemsValid": { |
| 1484 "description": "The number of items in the feed that were va
lid.", |
| 1485 "format": "uint64", |
| 1486 "type": "string" |
| 1487 }, |
| 1488 "kind": { |
| 1489 "default": "content#datafeedStatus", |
| 1490 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#datafeedStatus\".", |
| 1491 "type": "string" |
| 1492 }, |
| 1493 "processingStatus": { |
| 1494 "description": "The processing status of the feed.", |
| 1495 "type": "string" |
| 1496 }, |
| 1497 "warnings": { |
| 1498 "description": "The list of errors occurring in the feed.", |
| 1499 "items": { |
| 1500 "$ref": "DatafeedStatusError" |
| 1501 }, |
| 1502 "type": "array" |
| 1503 } |
| 1504 }, |
| 1505 "type": "object" |
| 1506 }, |
| 1507 "DatafeedStatusError": { |
| 1508 "description": "An error occurring in the feed, like \"invalid price
\".", |
| 1509 "id": "DatafeedStatusError", |
| 1510 "properties": { |
| 1511 "code": { |
| 1512 "description": "The code of the error, e.g., \"validation/in
valid_value\".", |
| 1513 "type": "string" |
| 1514 }, |
| 1515 "count": { |
| 1516 "description": "The number of occurrences of the error in th
e feed.", |
| 1517 "format": "uint64", |
| 1518 "type": "string" |
| 1519 }, |
| 1520 "examples": { |
| 1521 "description": "A list of example occurrences of the error,
grouped by product.", |
| 1522 "items": { |
| 1523 "$ref": "DatafeedStatusExample" |
| 1524 }, |
| 1525 "type": "array" |
| 1526 }, |
| 1527 "message": { |
| 1528 "description": "The error message, e.g., \"Invalid price\"."
, |
| 1529 "type": "string" |
| 1530 } |
| 1531 }, |
| 1532 "type": "object" |
| 1533 }, |
| 1534 "DatafeedStatusExample": { |
| 1535 "description": "An example occurrence for a particular error.", |
| 1536 "id": "DatafeedStatusExample", |
| 1537 "properties": { |
| 1538 "itemId": { |
| 1539 "description": "The ID of the example item.", |
| 1540 "type": "string" |
| 1541 }, |
| 1542 "lineNumber": { |
| 1543 "description": "Line number in the data feed where the examp
le is found.", |
| 1544 "format": "uint64", |
| 1545 "type": "string" |
| 1546 }, |
| 1547 "value": { |
| 1548 "description": "The problematic value.", |
| 1549 "type": "string" |
| 1550 } |
| 1551 }, |
| 1552 "type": "object" |
| 1553 }, |
| 1554 "DatafeedsCustomBatchRequest": { |
| 1555 "id": "DatafeedsCustomBatchRequest", |
| 1556 "properties": { |
| 1557 "entries": { |
| 1558 "items": { |
| 1559 "$ref": "DatafeedsCustomBatchRequestEntry" |
| 1560 }, |
| 1561 "type": "array" |
| 1562 } |
| 1563 }, |
| 1564 "type": "object" |
| 1565 }, |
| 1566 "DatafeedsCustomBatchRequestEntry": { |
| 1567 "description": "A batch entry encoding a single non-batch request to
the datafeeds service of the Content API for Shopping.", |
| 1568 "id": "DatafeedsCustomBatchRequestEntry", |
| 1569 "properties": { |
| 1570 "batchId": { |
| 1571 "description": "An entry ID, unique within the batch request
.", |
| 1572 "format": "uint32", |
| 1573 "type": "integer" |
| 1574 }, |
| 1575 "datafeed": { |
| 1576 "$ref": "Datafeed", |
| 1577 "description": "The data feed to insert." |
| 1578 }, |
| 1579 "datafeedId": { |
| 1580 "description": "The ID of the data feed to get or delete.", |
| 1581 "format": "uint64", |
| 1582 "type": "string" |
| 1583 }, |
| 1584 "merchantId": { |
| 1585 "description": "The ID of the managing account.", |
| 1586 "format": "uint64", |
| 1587 "type": "string" |
| 1588 }, |
| 1589 "method": { |
| 1590 "description": "The method (get, insert, update, or delete).
", |
| 1591 "type": "string" |
| 1592 } |
| 1593 }, |
| 1594 "type": "object" |
| 1595 }, |
| 1596 "DatafeedsCustomBatchResponse": { |
| 1597 "id": "DatafeedsCustomBatchResponse", |
| 1598 "properties": { |
| 1599 "entries": { |
| 1600 "items": { |
| 1601 "$ref": "DatafeedsCustomBatchResponseEntry" |
| 1602 }, |
| 1603 "type": "array" |
| 1604 }, |
| 1605 "kind": { |
| 1606 "default": "content#datafeedsCustomBatchResponse", |
| 1607 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#datafeedsCustomBatchResponse\".", |
| 1608 "type": "string" |
| 1609 } |
| 1610 }, |
| 1611 "type": "object" |
| 1612 }, |
| 1613 "DatafeedsCustomBatchResponseEntry": { |
| 1614 "description": "A batch entry encoding a single non-batch response f
rom the datafeeds service of the Content API for Shopping.", |
| 1615 "id": "DatafeedsCustomBatchResponseEntry", |
| 1616 "properties": { |
| 1617 "batchId": { |
| 1618 "description": "The ID of the request entry this entry respo
nds to.", |
| 1619 "format": "uint32", |
| 1620 "type": "integer" |
| 1621 }, |
| 1622 "datafeed": { |
| 1623 "$ref": "Datafeed", |
| 1624 "description": "The requested data feed. Defined if and only
if the request was successful." |
| 1625 }, |
| 1626 "errors": { |
| 1627 "$ref": "Errors", |
| 1628 "description": "A list of errors defined if and only if the
request failed." |
| 1629 } |
| 1630 }, |
| 1631 "type": "object" |
| 1632 }, |
| 1633 "DatafeedsListResponse": { |
| 1634 "id": "DatafeedsListResponse", |
| 1635 "properties": { |
| 1636 "kind": { |
| 1637 "default": "content#datafeedsListResponse", |
| 1638 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#datafeedsListResponse\".", |
| 1639 "type": "string" |
| 1640 }, |
| 1641 "resources": { |
| 1642 "items": { |
| 1643 "$ref": "Datafeed" |
| 1644 }, |
| 1645 "type": "array" |
| 1646 } |
| 1647 }, |
| 1648 "type": "object" |
| 1649 }, |
| 1650 "DatafeedstatusesCustomBatchRequest": { |
| 1651 "id": "DatafeedstatusesCustomBatchRequest", |
| 1652 "properties": { |
| 1653 "entries": { |
| 1654 "items": { |
| 1655 "$ref": "DatafeedstatusesCustomBatchRequestEntry" |
| 1656 }, |
| 1657 "type": "array" |
| 1658 } |
| 1659 }, |
| 1660 "type": "object" |
| 1661 }, |
| 1662 "DatafeedstatusesCustomBatchRequestEntry": { |
| 1663 "description": "A batch entry encoding a single non-batch request to
the datafeedstatuses service of the Content API for Shopping.", |
| 1664 "id": "DatafeedstatusesCustomBatchRequestEntry", |
| 1665 "properties": { |
| 1666 "batchId": { |
| 1667 "description": "An entry ID, unique within the batch request
.", |
| 1668 "format": "uint32", |
| 1669 "type": "integer" |
| 1670 }, |
| 1671 "datafeedId": { |
| 1672 "description": "The ID of the data feed to get or delete.", |
| 1673 "format": "uint64", |
| 1674 "type": "string" |
| 1675 }, |
| 1676 "merchantId": { |
| 1677 "description": "The ID of the managing account.", |
| 1678 "format": "uint64", |
| 1679 "type": "string" |
| 1680 }, |
| 1681 "method": { |
| 1682 "description": "The method (get).", |
| 1683 "type": "string" |
| 1684 } |
| 1685 }, |
| 1686 "type": "object" |
| 1687 }, |
| 1688 "DatafeedstatusesCustomBatchResponse": { |
| 1689 "id": "DatafeedstatusesCustomBatchResponse", |
| 1690 "properties": { |
| 1691 "entries": { |
| 1692 "items": { |
| 1693 "$ref": "DatafeedstatusesCustomBatchResponseEntry" |
| 1694 }, |
| 1695 "type": "array" |
| 1696 }, |
| 1697 "kind": { |
| 1698 "default": "content#datafeedstatusesCustomBatchResponse", |
| 1699 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#datafeedstatusesCustomBatchResponse\".", |
| 1700 "type": "string" |
| 1701 } |
| 1702 }, |
| 1703 "type": "object" |
| 1704 }, |
| 1705 "DatafeedstatusesCustomBatchResponseEntry": { |
| 1706 "description": "A batch entry encoding a single non-batch response f
rom the datafeedstatuses service of the Content API for Shopping.", |
| 1707 "id": "DatafeedstatusesCustomBatchResponseEntry", |
| 1708 "properties": { |
| 1709 "batchId": { |
| 1710 "description": "The ID of the request entry this entry respo
nds to.", |
| 1711 "format": "uint32", |
| 1712 "type": "integer" |
| 1713 }, |
| 1714 "datafeedStatus": { |
| 1715 "$ref": "DatafeedStatus", |
| 1716 "description": "The requested data feed status. Defined if a
nd only if the request was successful." |
| 1717 }, |
| 1718 "errors": { |
| 1719 "$ref": "Errors", |
| 1720 "description": "A list of errors defined if and only if the
request failed." |
| 1721 } |
| 1722 }, |
| 1723 "type": "object" |
| 1724 }, |
| 1725 "DatafeedstatusesListResponse": { |
| 1726 "id": "DatafeedstatusesListResponse", |
| 1727 "properties": { |
| 1728 "kind": { |
| 1729 "default": "content#datafeedstatusesListResponse", |
| 1730 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#datafeedstatusesListResponse\".", |
| 1731 "type": "string" |
| 1732 }, |
| 1733 "resources": { |
| 1734 "items": { |
| 1735 "$ref": "DatafeedStatus" |
| 1736 }, |
| 1737 "type": "array" |
| 1738 } |
| 1739 }, |
| 1740 "type": "object" |
| 1741 }, |
| 1742 "Error": { |
| 1743 "description": "An error returned by the API.", |
| 1744 "id": "Error", |
| 1745 "properties": { |
| 1746 "domain": { |
| 1747 "description": "The domain of the error.", |
| 1748 "type": "string" |
| 1749 }, |
| 1750 "message": { |
| 1751 "description": "A description of the error.", |
| 1752 "type": "string" |
| 1753 }, |
| 1754 "reason": { |
| 1755 "description": "The error code.", |
| 1756 "type": "string" |
| 1757 } |
| 1758 }, |
| 1759 "type": "object" |
| 1760 }, |
| 1761 "Errors": { |
| 1762 "description": "A list of errors returned by a failed batch entry.", |
| 1763 "id": "Errors", |
| 1764 "properties": { |
| 1765 "code": { |
| 1766 "description": "The HTTP status of the first error in errors
.", |
| 1767 "format": "uint32", |
| 1768 "type": "integer" |
| 1769 }, |
| 1770 "errors": { |
| 1771 "description": "A list of errors.", |
| 1772 "items": { |
| 1773 "$ref": "Error" |
| 1774 }, |
| 1775 "type": "array" |
| 1776 }, |
| 1777 "message": { |
| 1778 "description": "The message of the first error in errors.", |
| 1779 "type": "string" |
| 1780 } |
| 1781 }, |
| 1782 "type": "object" |
| 1783 }, |
| 1784 "Inventory": { |
| 1785 "id": "Inventory", |
| 1786 "properties": { |
| 1787 "availability": { |
| 1788 "description": "The availability of the product.", |
| 1789 "type": "string" |
| 1790 }, |
| 1791 "kind": { |
| 1792 "default": "content#inventory", |
| 1793 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventory\".", |
| 1794 "type": "string" |
| 1795 }, |
| 1796 "price": { |
| 1797 "$ref": "Price", |
| 1798 "description": "The price of the product." |
| 1799 }, |
| 1800 "quantity": { |
| 1801 "description": "The quantity of the product. Must be equal t
o or greater than zero. Supported only for local products.", |
| 1802 "format": "uint32", |
| 1803 "type": "integer" |
| 1804 }, |
| 1805 "salePrice": { |
| 1806 "$ref": "Price", |
| 1807 "description": "The sale price of the product. Mandatory if
sale_price_effective_date is defined." |
| 1808 }, |
| 1809 "salePriceEffectiveDate": { |
| 1810 "description": "A date range represented by a pair of ISO 86
01 dates separated by a space, comma, or slash. Both dates might be specified as
'null' if undecided.", |
| 1811 "type": "string" |
| 1812 } |
| 1813 }, |
| 1814 "type": "object" |
| 1815 }, |
| 1816 "InventoryCustomBatchRequest": { |
| 1817 "id": "InventoryCustomBatchRequest", |
| 1818 "properties": { |
| 1819 "entries": { |
| 1820 "items": { |
| 1821 "$ref": "InventoryCustomBatchRequestEntry" |
| 1822 }, |
| 1823 "type": "array" |
| 1824 } |
| 1825 }, |
| 1826 "type": "object" |
| 1827 }, |
| 1828 "InventoryCustomBatchRequestEntry": { |
| 1829 "description": "A batch entry encoding a single non-batch request to
the inventory service of the Content API for Shopping.", |
| 1830 "id": "InventoryCustomBatchRequestEntry", |
| 1831 "properties": { |
| 1832 "batchId": { |
| 1833 "description": "An entry ID, unique within the batch request
.", |
| 1834 "format": "uint32", |
| 1835 "type": "integer" |
| 1836 }, |
| 1837 "inventory": { |
| 1838 "$ref": "Inventory", |
| 1839 "description": "Price and availability of the product." |
| 1840 }, |
| 1841 "merchantId": { |
| 1842 "description": "The ID of the managing account.", |
| 1843 "format": "uint64", |
| 1844 "type": "string" |
| 1845 }, |
| 1846 "productId": { |
| 1847 "description": "The ID of the product for which to update pr
ice and availability.", |
| 1848 "type": "string" |
| 1849 }, |
| 1850 "storeCode": { |
| 1851 "description": "The code of the store for which to update pr
ice and availability. Use online to update price and availability of an online p
roduct.", |
| 1852 "type": "string" |
| 1853 } |
| 1854 }, |
| 1855 "type": "object" |
| 1856 }, |
| 1857 "InventoryCustomBatchResponse": { |
| 1858 "id": "InventoryCustomBatchResponse", |
| 1859 "properties": { |
| 1860 "entries": { |
| 1861 "items": { |
| 1862 "$ref": "InventoryCustomBatchResponseEntry" |
| 1863 }, |
| 1864 "type": "array" |
| 1865 }, |
| 1866 "kind": { |
| 1867 "default": "content#inventoryCustomBatchResponse", |
| 1868 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventoryCustomBatchResponse\".", |
| 1869 "type": "string" |
| 1870 } |
| 1871 }, |
| 1872 "type": "object" |
| 1873 }, |
| 1874 "InventoryCustomBatchResponseEntry": { |
| 1875 "description": "A batch entry encoding a single non-batch response f
rom the inventory service of the Content API for Shopping.", |
| 1876 "id": "InventoryCustomBatchResponseEntry", |
| 1877 "properties": { |
| 1878 "batchId": { |
| 1879 "description": "The ID of the request entry this entry respo
nds to.", |
| 1880 "format": "uint32", |
| 1881 "type": "integer" |
| 1882 }, |
| 1883 "errors": { |
| 1884 "$ref": "Errors", |
| 1885 "description": "A list of errors defined if and only if the
request failed." |
| 1886 }, |
| 1887 "kind": { |
| 1888 "default": "content#inventoryCustomBatchResponseEntry", |
| 1889 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventoryCustomBatchResponseEntry\".", |
| 1890 "type": "string" |
| 1891 } |
| 1892 }, |
| 1893 "type": "object" |
| 1894 }, |
| 1895 "InventorySetRequest": { |
| 1896 "id": "InventorySetRequest", |
| 1897 "properties": { |
| 1898 "availability": { |
| 1899 "description": "The availability of the product.", |
| 1900 "type": "string" |
| 1901 }, |
| 1902 "price": { |
| 1903 "$ref": "Price", |
| 1904 "description": "The price of the product." |
| 1905 }, |
| 1906 "quantity": { |
| 1907 "description": "The quantity of the product. Must be equal t
o or greater than zero. Supported only for local products.", |
| 1908 "format": "uint32", |
| 1909 "type": "integer" |
| 1910 }, |
| 1911 "salePrice": { |
| 1912 "$ref": "Price", |
| 1913 "description": "The sale price of the product. Mandatory if
sale_price_effective_date is defined." |
| 1914 }, |
| 1915 "salePriceEffectiveDate": { |
| 1916 "description": "A date range represented by a pair of ISO 86
01 dates separated by a space, comma, or slash. Both dates might be specified as
'null' if undecided.", |
| 1917 "type": "string" |
| 1918 } |
| 1919 }, |
| 1920 "type": "object" |
| 1921 }, |
| 1922 "InventorySetResponse": { |
| 1923 "id": "InventorySetResponse", |
| 1924 "properties": { |
| 1925 "kind": { |
| 1926 "default": "content#inventorySetResponse", |
| 1927 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#inventorySetResponse\".", |
| 1928 "type": "string" |
| 1929 } |
| 1930 }, |
| 1931 "type": "object" |
| 1932 }, |
| 1933 "LoyaltyPoints": { |
| 1934 "id": "LoyaltyPoints", |
| 1935 "properties": { |
| 1936 "name": { |
| 1937 "description": "Name of loyalty points program. It is recomm
ended to limit the name to 12 full-width characters or 24 Roman characters.", |
| 1938 "type": "string" |
| 1939 }, |
| 1940 "pointsValue": { |
| 1941 "description": "The retailer's loyalty points in absolute va
lue.", |
| 1942 "format": "int64", |
| 1943 "type": "string" |
| 1944 }, |
| 1945 "ratio": { |
| 1946 "description": "The ratio of a point when converted to curre
ncy. Google assumes currency based on Merchant Center settings. If ratio is left
out, it defaults to 1.0.", |
| 1947 "format": "double", |
| 1948 "type": "number" |
| 1949 } |
| 1950 }, |
| 1951 "type": "object" |
| 1952 }, |
| 1953 "Price": { |
| 1954 "id": "Price", |
| 1955 "properties": { |
| 1956 "currency": { |
| 1957 "description": "The currency of the price.", |
| 1958 "type": "string" |
| 1959 }, |
| 1960 "value": { |
| 1961 "description": "The price represented as a number.", |
| 1962 "type": "string" |
| 1963 } |
| 1964 }, |
| 1965 "type": "object" |
| 1966 }, |
| 1967 "Product": { |
| 1968 "description": "Product data.", |
| 1969 "id": "Product", |
| 1970 "properties": { |
| 1971 "additionalImageLinks": { |
| 1972 "description": "Additional URLs of images of the item.", |
| 1973 "items": { |
| 1974 "type": "string" |
| 1975 }, |
| 1976 "type": "array" |
| 1977 }, |
| 1978 "adult": { |
| 1979 "description": "Set to true if the item is targeted towards
adults.", |
| 1980 "type": "boolean" |
| 1981 }, |
| 1982 "adwordsGrouping": { |
| 1983 "description": "Used to group items in an arbitrary way. Onl
y for CPA%, discouraged otherwise.", |
| 1984 "type": "string" |
| 1985 }, |
| 1986 "adwordsLabels": { |
| 1987 "description": "Similar to adwords_grouping, but only works
on CPC.", |
| 1988 "items": { |
| 1989 "type": "string" |
| 1990 }, |
| 1991 "type": "array" |
| 1992 }, |
| 1993 "adwordsRedirect": { |
| 1994 "description": "Allows advertisers to override the item URL
when the product is shown within the context of Product Ads.", |
| 1995 "type": "string" |
| 1996 }, |
| 1997 "ageGroup": { |
| 1998 "description": "Target age group of the item.", |
| 1999 "type": "string" |
| 2000 }, |
| 2001 "availability": { |
| 2002 "description": "Availability status of the item.", |
| 2003 "type": "string" |
| 2004 }, |
| 2005 "availabilityDate": { |
| 2006 "description": "The day a pre-ordered product becomes availa
ble for delivery.", |
| 2007 "type": "string" |
| 2008 }, |
| 2009 "brand": { |
| 2010 "description": "Brand of the item.", |
| 2011 "type": "string" |
| 2012 }, |
| 2013 "channel": { |
| 2014 "annotations": { |
| 2015 "required": [ |
| 2016 "content.products.insert" |
| 2017 ] |
| 2018 }, |
| 2019 "description": "The item's channel (online or local).", |
| 2020 "type": "string" |
| 2021 }, |
| 2022 "color": { |
| 2023 "description": "Color of the item.", |
| 2024 "type": "string" |
| 2025 }, |
| 2026 "condition": { |
| 2027 "description": "Condition or state of the item.", |
| 2028 "type": "string" |
| 2029 }, |
| 2030 "contentLanguage": { |
| 2031 "annotations": { |
| 2032 "required": [ |
| 2033 "content.products.insert" |
| 2034 ] |
| 2035 }, |
| 2036 "description": "The two-letter ISO 639-1 language code for t
he item.", |
| 2037 "type": "string" |
| 2038 }, |
| 2039 "customAttributes": { |
| 2040 "description": "A list of custom (merchant-provided) attribu
tes.", |
| 2041 "items": { |
| 2042 "$ref": "ProductCustomAttribute" |
| 2043 }, |
| 2044 "type": "array" |
| 2045 }, |
| 2046 "customGroups": { |
| 2047 "description": "A list of custom (merchant-provided) custom
attribute groups.", |
| 2048 "items": { |
| 2049 "$ref": "ProductCustomGroup" |
| 2050 }, |
| 2051 "type": "array" |
| 2052 }, |
| 2053 "customLabel0": { |
| 2054 "description": "Custom label 0 for custom grouping of items
in a Shopping campaign.", |
| 2055 "type": "string" |
| 2056 }, |
| 2057 "customLabel1": { |
| 2058 "description": "Custom label 1 for custom grouping of items
in a Shopping campaign.", |
| 2059 "type": "string" |
| 2060 }, |
| 2061 "customLabel2": { |
| 2062 "description": "Custom label 2 for custom grouping of items
in a Shopping campaign.", |
| 2063 "type": "string" |
| 2064 }, |
| 2065 "customLabel3": { |
| 2066 "description": "Custom label 3 for custom grouping of items
in a Shopping campaign.", |
| 2067 "type": "string" |
| 2068 }, |
| 2069 "customLabel4": { |
| 2070 "description": "Custom label 4 for custom grouping of items
in a Shopping campaign.", |
| 2071 "type": "string" |
| 2072 }, |
| 2073 "description": { |
| 2074 "description": "Description of the item.", |
| 2075 "type": "string" |
| 2076 }, |
| 2077 "destinations": { |
| 2078 "description": "Specifies the intended destinations for the
product.", |
| 2079 "items": { |
| 2080 "$ref": "ProductDestination" |
| 2081 }, |
| 2082 "type": "array" |
| 2083 }, |
| 2084 "energyEfficiencyClass": { |
| 2085 "description": "The energy efficiency class as defined in EU
directive 2010/30/EU.", |
| 2086 "type": "string" |
| 2087 }, |
| 2088 "expirationDate": { |
| 2089 "description": "Date that an item will expire.", |
| 2090 "type": "string" |
| 2091 }, |
| 2092 "gender": { |
| 2093 "description": "Target gender of the item.", |
| 2094 "type": "string" |
| 2095 }, |
| 2096 "googleProductCategory": { |
| 2097 "description": "Google's category of the item.", |
| 2098 "type": "string" |
| 2099 }, |
| 2100 "gtin": { |
| 2101 "description": "Global Trade Item Number (GTIN) of the item.
", |
| 2102 "type": "string" |
| 2103 }, |
| 2104 "id": { |
| 2105 "description": "The REST id of the product.", |
| 2106 "type": "string" |
| 2107 }, |
| 2108 "identifierExists": { |
| 2109 "description": "False when the item does not have unique pro
duct identifiers appropriate to its category, such as GTIN, MPN, and brand. Requ
ired according to the Unique Product Identifier Rules for all target countries e
xcept for Canada.", |
| 2110 "type": "boolean" |
| 2111 }, |
| 2112 "imageLink": { |
| 2113 "description": "URL of an image of the item.", |
| 2114 "type": "string" |
| 2115 }, |
| 2116 "installment": { |
| 2117 "$ref": "ProductInstallment", |
| 2118 "description": "Number and amount of installments to pay for
an item. Brazil only." |
| 2119 }, |
| 2120 "isBundle": { |
| 2121 "description": "Whether the item is a merchant-defined bundl
e. A bundle is a custom grouping of different products sold by a merchant for a
single price.", |
| 2122 "type": "boolean" |
| 2123 }, |
| 2124 "itemGroupId": { |
| 2125 "description": "Shared identifier for all variants of the sa
me product.", |
| 2126 "type": "string" |
| 2127 }, |
| 2128 "kind": { |
| 2129 "default": "content#product", |
| 2130 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#product\".", |
| 2131 "type": "string" |
| 2132 }, |
| 2133 "link": { |
| 2134 "description": "URL directly linking to your item's page on
your website.", |
| 2135 "type": "string" |
| 2136 }, |
| 2137 "loyaltyPoints": { |
| 2138 "$ref": "LoyaltyPoints", |
| 2139 "description": "Loyalty points that users receive after purc
hasing the item. Japan only." |
| 2140 }, |
| 2141 "material": { |
| 2142 "description": "The material of which the item is made.", |
| 2143 "type": "string" |
| 2144 }, |
| 2145 "mobileLink": { |
| 2146 "description": "Link to a mobile-optimized version of the la
nding page.", |
| 2147 "type": "string" |
| 2148 }, |
| 2149 "mpn": { |
| 2150 "description": "Manufacturer Part Number (MPN) of the item."
, |
| 2151 "type": "string" |
| 2152 }, |
| 2153 "multipack": { |
| 2154 "description": "The number of identical products in a mercha
nt-defined multipack.", |
| 2155 "format": "int64", |
| 2156 "type": "string" |
| 2157 }, |
| 2158 "offerId": { |
| 2159 "annotations": { |
| 2160 "required": [ |
| 2161 "content.products.insert" |
| 2162 ] |
| 2163 }, |
| 2164 "description": "An identifier of the item.", |
| 2165 "type": "string" |
| 2166 }, |
| 2167 "onlineOnly": { |
| 2168 "description": "Whether an item is available for purchase on
ly online.", |
| 2169 "type": "boolean" |
| 2170 }, |
| 2171 "pattern": { |
| 2172 "description": "The item's pattern (e.g. polka dots).", |
| 2173 "type": "string" |
| 2174 }, |
| 2175 "price": { |
| 2176 "$ref": "Price", |
| 2177 "description": "Price of the item." |
| 2178 }, |
| 2179 "productType": { |
| 2180 "description": "Your category of the item.", |
| 2181 "type": "string" |
| 2182 }, |
| 2183 "salePrice": { |
| 2184 "$ref": "Price", |
| 2185 "description": "Advertised sale price of the item." |
| 2186 }, |
| 2187 "salePriceEffectiveDate": { |
| 2188 "description": "Date range during which the item is on sale.
", |
| 2189 "type": "string" |
| 2190 }, |
| 2191 "shipping": { |
| 2192 "description": "Shipping rules.", |
| 2193 "items": { |
| 2194 "$ref": "ProductShipping" |
| 2195 }, |
| 2196 "type": "array" |
| 2197 }, |
| 2198 "shippingLabel": { |
| 2199 "description": "The shipping label of the product, used to g
roup product in account-level shipping rules.", |
| 2200 "type": "string" |
| 2201 }, |
| 2202 "shippingWeight": { |
| 2203 "$ref": "ProductShippingWeight", |
| 2204 "description": "Weight of the item for shipping." |
| 2205 }, |
| 2206 "sizeSystem": { |
| 2207 "description": "System in which the size is specified. Recom
mended for apparel items.", |
| 2208 "type": "string" |
| 2209 }, |
| 2210 "sizeType": { |
| 2211 "description": "The cut of the item. Recommended for apparel
items.", |
| 2212 "type": "string" |
| 2213 }, |
| 2214 "sizes": { |
| 2215 "description": "Size of the item.", |
| 2216 "items": { |
| 2217 "type": "string" |
| 2218 }, |
| 2219 "type": "array" |
| 2220 }, |
| 2221 "targetCountry": { |
| 2222 "annotations": { |
| 2223 "required": [ |
| 2224 "content.products.insert" |
| 2225 ] |
| 2226 }, |
| 2227 "description": "The two-letter ISO 3166 country code for the
item.", |
| 2228 "type": "string" |
| 2229 }, |
| 2230 "taxes": { |
| 2231 "description": "Tax information.", |
| 2232 "items": { |
| 2233 "$ref": "ProductTax" |
| 2234 }, |
| 2235 "type": "array" |
| 2236 }, |
| 2237 "title": { |
| 2238 "annotations": { |
| 2239 "required": [ |
| 2240 "content.products.insert" |
| 2241 ] |
| 2242 }, |
| 2243 "description": "Title of the item.", |
| 2244 "type": "string" |
| 2245 }, |
| 2246 "unitPricingBaseMeasure": { |
| 2247 "$ref": "ProductUnitPricingBaseMeasure", |
| 2248 "description": "The preference of the denominator of the uni
t price." |
| 2249 }, |
| 2250 "unitPricingMeasure": { |
| 2251 "$ref": "ProductUnitPricingMeasure", |
| 2252 "description": "The measure and dimension of an item." |
| 2253 }, |
| 2254 "validatedDestinations": { |
| 2255 "description": "The read-only list of intended destinations
which passed validation.", |
| 2256 "items": { |
| 2257 "type": "string" |
| 2258 }, |
| 2259 "type": "array" |
| 2260 }, |
| 2261 "warnings": { |
| 2262 "description": "Read-only warnings.", |
| 2263 "items": { |
| 2264 "$ref": "Error" |
| 2265 }, |
| 2266 "type": "array" |
| 2267 } |
| 2268 }, |
| 2269 "type": "object" |
| 2270 }, |
| 2271 "ProductCustomAttribute": { |
| 2272 "id": "ProductCustomAttribute", |
| 2273 "properties": { |
| 2274 "name": { |
| 2275 "description": "The name of the attribute.", |
| 2276 "type": "string" |
| 2277 }, |
| 2278 "type": { |
| 2279 "description": "The type of the attribute.", |
| 2280 "type": "string" |
| 2281 }, |
| 2282 "unit": { |
| 2283 "description": "Free-form unit of the attribute. Unit can on
ly be used for values of type INT or FLOAT.", |
| 2284 "type": "string" |
| 2285 }, |
| 2286 "value": { |
| 2287 "description": "The value of the attribute.", |
| 2288 "type": "string" |
| 2289 } |
| 2290 }, |
| 2291 "type": "object" |
| 2292 }, |
| 2293 "ProductCustomGroup": { |
| 2294 "id": "ProductCustomGroup", |
| 2295 "properties": { |
| 2296 "attributes": { |
| 2297 "description": "The sub-attributes.", |
| 2298 "items": { |
| 2299 "$ref": "ProductCustomAttribute" |
| 2300 }, |
| 2301 "type": "array" |
| 2302 }, |
| 2303 "name": { |
| 2304 "description": "The name of the group.", |
| 2305 "type": "string" |
| 2306 } |
| 2307 }, |
| 2308 "type": "object" |
| 2309 }, |
| 2310 "ProductDestination": { |
| 2311 "id": "ProductDestination", |
| 2312 "properties": { |
| 2313 "destinationName": { |
| 2314 "description": "The name of the destination.", |
| 2315 "type": "string" |
| 2316 }, |
| 2317 "intention": { |
| 2318 "description": "Whether the destination is required, exclude
d or should be validated.", |
| 2319 "type": "string" |
| 2320 } |
| 2321 }, |
| 2322 "type": "object" |
| 2323 }, |
| 2324 "ProductInstallment": { |
| 2325 "id": "ProductInstallment", |
| 2326 "properties": { |
| 2327 "amount": { |
| 2328 "$ref": "Price", |
| 2329 "description": "The amount the buyer has to pay per month." |
| 2330 }, |
| 2331 "months": { |
| 2332 "description": "The number of installments the buyer has to
pay.", |
| 2333 "format": "int64", |
| 2334 "type": "string" |
| 2335 } |
| 2336 }, |
| 2337 "type": "object" |
| 2338 }, |
| 2339 "ProductShipping": { |
| 2340 "id": "ProductShipping", |
| 2341 "properties": { |
| 2342 "country": { |
| 2343 "description": "The two-letter ISO 3166 country code for the
country to which an item will ship.", |
| 2344 "type": "string" |
| 2345 }, |
| 2346 "locationGroupName": { |
| 2347 "description": "The location where the shipping is applicabl
e, represented by a location group name.", |
| 2348 "type": "string" |
| 2349 }, |
| 2350 "locationId": { |
| 2351 "description": "The numeric id of a location that the shippi
ng rate applies to as defined in the AdWords API.", |
| 2352 "format": "int64", |
| 2353 "type": "string" |
| 2354 }, |
| 2355 "postalCode": { |
| 2356 "description": "The postal code range that the shipping rate
applies to, represented by a postal code, a postal code prefix using * wildcard
, a range between two postal codes or two postal code prefixes of equal length."
, |
| 2357 "type": "string" |
| 2358 }, |
| 2359 "price": { |
| 2360 "$ref": "Price", |
| 2361 "description": "Fixed shipping price, represented as a numbe
r." |
| 2362 }, |
| 2363 "region": { |
| 2364 "description": "The geographic region to which a shipping ra
te applies (e.g. zip code).", |
| 2365 "type": "string" |
| 2366 }, |
| 2367 "service": { |
| 2368 "description": "A free-form description of the service class
or delivery speed.", |
| 2369 "type": "string" |
| 2370 } |
| 2371 }, |
| 2372 "type": "object" |
| 2373 }, |
| 2374 "ProductShippingWeight": { |
| 2375 "id": "ProductShippingWeight", |
| 2376 "properties": { |
| 2377 "unit": { |
| 2378 "description": "The unit of value.", |
| 2379 "type": "string" |
| 2380 }, |
| 2381 "value": { |
| 2382 "description": "The weight of the product used to calculate
the shipping cost of the item.", |
| 2383 "format": "double", |
| 2384 "type": "number" |
| 2385 } |
| 2386 }, |
| 2387 "type": "object" |
| 2388 }, |
| 2389 "ProductStatus": { |
| 2390 "description": "The status of a product, i.e., information about a p
roduct computed asynchronously by the data quality analysis.", |
| 2391 "id": "ProductStatus", |
| 2392 "properties": { |
| 2393 "dataQualityIssues": { |
| 2394 "description": "A list of data quality issues associated wit
h the product.", |
| 2395 "items": { |
| 2396 "$ref": "ProductStatusDataQualityIssue" |
| 2397 }, |
| 2398 "type": "array" |
| 2399 }, |
| 2400 "destinationStatuses": { |
| 2401 "description": "The intended destinations for the product.", |
| 2402 "items": { |
| 2403 "$ref": "ProductStatusDestinationStatus" |
| 2404 }, |
| 2405 "type": "array" |
| 2406 }, |
| 2407 "kind": { |
| 2408 "default": "content#productStatus", |
| 2409 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productStatus\".", |
| 2410 "type": "string" |
| 2411 }, |
| 2412 "link": { |
| 2413 "description": "The link to the product.", |
| 2414 "type": "string" |
| 2415 }, |
| 2416 "productId": { |
| 2417 "description": "The id of the product for which status is re
ported.", |
| 2418 "type": "string" |
| 2419 }, |
| 2420 "title": { |
| 2421 "description": "The title of the product.", |
| 2422 "type": "string" |
| 2423 } |
| 2424 }, |
| 2425 "type": "object" |
| 2426 }, |
| 2427 "ProductStatusDataQualityIssue": { |
| 2428 "id": "ProductStatusDataQualityIssue", |
| 2429 "properties": { |
| 2430 "detail": { |
| 2431 "description": "A more detailed error string.", |
| 2432 "type": "string" |
| 2433 }, |
| 2434 "fetchStatus": { |
| 2435 "description": "The fetch status for landing_page_errors.", |
| 2436 "type": "string" |
| 2437 }, |
| 2438 "id": { |
| 2439 "description": "The id of the data quality issue.", |
| 2440 "type": "string" |
| 2441 }, |
| 2442 "location": { |
| 2443 "description": "The attribute name that is relevant for the
issue.", |
| 2444 "type": "string" |
| 2445 }, |
| 2446 "timestamp": { |
| 2447 "description": "The time stamp of the data quality issue.", |
| 2448 "type": "string" |
| 2449 }, |
| 2450 "valueOnLandingPage": { |
| 2451 "description": "The value of that attribute that was found o
n the landing page", |
| 2452 "type": "string" |
| 2453 }, |
| 2454 "valueProvided": { |
| 2455 "description": "The value the attribute had at time of evalu
ation.", |
| 2456 "type": "string" |
| 2457 } |
| 2458 }, |
| 2459 "type": "object" |
| 2460 }, |
| 2461 "ProductStatusDestinationStatus": { |
| 2462 "id": "ProductStatusDestinationStatus", |
| 2463 "properties": { |
| 2464 "approvalStatus": { |
| 2465 "description": "The destination's approval status.", |
| 2466 "type": "string" |
| 2467 }, |
| 2468 "destination": { |
| 2469 "description": "The name of the destination", |
| 2470 "type": "string" |
| 2471 }, |
| 2472 "intention": { |
| 2473 "description": "Whether the destination is required, exclude
d, selected by default or should be validated.", |
| 2474 "type": "string" |
| 2475 } |
| 2476 }, |
| 2477 "type": "object" |
| 2478 }, |
| 2479 "ProductTax": { |
| 2480 "id": "ProductTax", |
| 2481 "properties": { |
| 2482 "country": { |
| 2483 "description": "The country within which the item is taxed,
specified with a two-letter ISO 3166 country code.", |
| 2484 "type": "string" |
| 2485 }, |
| 2486 "locationId": { |
| 2487 "description": "The numeric id of a location that the tax ra
te applies to as defined in the Adwords API (https://developers.google.com/adwor
ds/api/docs/appendix/geotargeting).", |
| 2488 "format": "int64", |
| 2489 "type": "string" |
| 2490 }, |
| 2491 "postalCode": { |
| 2492 "description": "The postal code range that the tax rate appl
ies to, represented by a ZIP code, a ZIP code prefix using * wildcard, a range b
etween two ZIP codes or two ZIP code prefixes of equal length. Examples: 94114,
94*, 94002-95460, 94*-95*.", |
| 2493 "type": "string" |
| 2494 }, |
| 2495 "rate": { |
| 2496 "description": "The percentage of tax rate that applies to t
he item price.", |
| 2497 "format": "double", |
| 2498 "type": "number" |
| 2499 }, |
| 2500 "region": { |
| 2501 "description": "The geographic region to which the tax rate
applies.", |
| 2502 "type": "string" |
| 2503 }, |
| 2504 "taxShip": { |
| 2505 "description": "Set to true if tax is charged on shipping.", |
| 2506 "type": "boolean" |
| 2507 } |
| 2508 }, |
| 2509 "type": "object" |
| 2510 }, |
| 2511 "ProductUnitPricingBaseMeasure": { |
| 2512 "id": "ProductUnitPricingBaseMeasure", |
| 2513 "properties": { |
| 2514 "unit": { |
| 2515 "description": "The unit of the denominator.", |
| 2516 "type": "string" |
| 2517 }, |
| 2518 "value": { |
| 2519 "description": "The denominator of the unit price.", |
| 2520 "format": "int64", |
| 2521 "type": "string" |
| 2522 } |
| 2523 }, |
| 2524 "type": "object" |
| 2525 }, |
| 2526 "ProductUnitPricingMeasure": { |
| 2527 "id": "ProductUnitPricingMeasure", |
| 2528 "properties": { |
| 2529 "unit": { |
| 2530 "description": "The unit of the measure.", |
| 2531 "type": "string" |
| 2532 }, |
| 2533 "value": { |
| 2534 "description": "The measure of an item.", |
| 2535 "format": "double", |
| 2536 "type": "number" |
| 2537 } |
| 2538 }, |
| 2539 "type": "object" |
| 2540 }, |
| 2541 "ProductsCustomBatchRequest": { |
| 2542 "id": "ProductsCustomBatchRequest", |
| 2543 "properties": { |
| 2544 "entries": { |
| 2545 "items": { |
| 2546 "$ref": "ProductsCustomBatchRequestEntry" |
| 2547 }, |
| 2548 "type": "array" |
| 2549 } |
| 2550 }, |
| 2551 "type": "object" |
| 2552 }, |
| 2553 "ProductsCustomBatchRequestEntry": { |
| 2554 "description": "A batch entry encoding a single non-batch request to
the products service of the Content API for Shopping.", |
| 2555 "id": "ProductsCustomBatchRequestEntry", |
| 2556 "properties": { |
| 2557 "batchId": { |
| 2558 "description": "An entry ID, unique within the batch request
.", |
| 2559 "format": "uint32", |
| 2560 "type": "integer" |
| 2561 }, |
| 2562 "merchantId": { |
| 2563 "description": "The ID of the managing account.", |
| 2564 "format": "uint64", |
| 2565 "type": "string" |
| 2566 }, |
| 2567 "method": { |
| 2568 "description": "The method (get, insert or delete).", |
| 2569 "type": "string" |
| 2570 }, |
| 2571 "product": { |
| 2572 "$ref": "Product", |
| 2573 "description": "The product to insert. Only required if the
method is insert." |
| 2574 }, |
| 2575 "productId": { |
| 2576 "description": "The ID of the product to get or delete. Only
defined if the method is get or delete.", |
| 2577 "type": "string" |
| 2578 } |
| 2579 }, |
| 2580 "type": "object" |
| 2581 }, |
| 2582 "ProductsCustomBatchResponse": { |
| 2583 "id": "ProductsCustomBatchResponse", |
| 2584 "properties": { |
| 2585 "entries": { |
| 2586 "items": { |
| 2587 "$ref": "ProductsCustomBatchResponseEntry" |
| 2588 }, |
| 2589 "type": "array" |
| 2590 }, |
| 2591 "kind": { |
| 2592 "default": "content#productsCustomBatchResponse", |
| 2593 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productsCustomBatchResponse\".", |
| 2594 "type": "string" |
| 2595 } |
| 2596 }, |
| 2597 "type": "object" |
| 2598 }, |
| 2599 "ProductsCustomBatchResponseEntry": { |
| 2600 "description": "A batch entry encoding a single non-batch response f
rom the products service of the Content API for Shopping.", |
| 2601 "id": "ProductsCustomBatchResponseEntry", |
| 2602 "properties": { |
| 2603 "batchId": { |
| 2604 "description": "The ID of the request entry this entry respo
nds to.", |
| 2605 "format": "uint32", |
| 2606 "type": "integer" |
| 2607 }, |
| 2608 "errors": { |
| 2609 "$ref": "Errors", |
| 2610 "description": "A list of errors defined if and only if the
request failed." |
| 2611 }, |
| 2612 "kind": { |
| 2613 "default": "content#productsCustomBatchResponseEntry", |
| 2614 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productsCustomBatchResponseEntry\".", |
| 2615 "type": "string" |
| 2616 }, |
| 2617 "product": { |
| 2618 "$ref": "Product", |
| 2619 "description": "The inserted product. Only defined if the me
thod is insert and if the request was successful." |
| 2620 } |
| 2621 }, |
| 2622 "type": "object" |
| 2623 }, |
| 2624 "ProductsListResponse": { |
| 2625 "id": "ProductsListResponse", |
| 2626 "properties": { |
| 2627 "kind": { |
| 2628 "default": "content#productsListResponse", |
| 2629 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productsListResponse\".", |
| 2630 "type": "string" |
| 2631 }, |
| 2632 "nextPageToken": { |
| 2633 "type": "string" |
| 2634 }, |
| 2635 "resources": { |
| 2636 "items": { |
| 2637 "$ref": "Product" |
| 2638 }, |
| 2639 "type": "array" |
| 2640 } |
| 2641 }, |
| 2642 "type": "object" |
| 2643 }, |
| 2644 "ProductstatusesCustomBatchRequest": { |
| 2645 "id": "ProductstatusesCustomBatchRequest", |
| 2646 "properties": { |
| 2647 "entries": { |
| 2648 "items": { |
| 2649 "$ref": "ProductstatusesCustomBatchRequestEntry" |
| 2650 }, |
| 2651 "type": "array" |
| 2652 } |
| 2653 }, |
| 2654 "type": "object" |
| 2655 }, |
| 2656 "ProductstatusesCustomBatchRequestEntry": { |
| 2657 "description": "A batch entry encoding a single non-batch request to
the productstatuses service of the Content API for Shopping.", |
| 2658 "id": "ProductstatusesCustomBatchRequestEntry", |
| 2659 "properties": { |
| 2660 "batchId": { |
| 2661 "description": "An entry ID, unique within the batch request
.", |
| 2662 "format": "uint32", |
| 2663 "type": "integer" |
| 2664 }, |
| 2665 "merchantId": { |
| 2666 "description": "The ID of the managing account.", |
| 2667 "format": "uint64", |
| 2668 "type": "string" |
| 2669 }, |
| 2670 "method": { |
| 2671 "description": "The method (get).", |
| 2672 "type": "string" |
| 2673 }, |
| 2674 "productId": { |
| 2675 "description": "The ID of the product whose status to get.", |
| 2676 "type": "string" |
| 2677 } |
| 2678 }, |
| 2679 "type": "object" |
| 2680 }, |
| 2681 "ProductstatusesCustomBatchResponse": { |
| 2682 "id": "ProductstatusesCustomBatchResponse", |
| 2683 "properties": { |
| 2684 "entries": { |
| 2685 "items": { |
| 2686 "$ref": "ProductstatusesCustomBatchResponseEntry" |
| 2687 }, |
| 2688 "type": "array" |
| 2689 }, |
| 2690 "kind": { |
| 2691 "default": "content#productstatusesCustomBatchResponse", |
| 2692 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productstatusesCustomBatchResponse\".", |
| 2693 "type": "string" |
| 2694 } |
| 2695 }, |
| 2696 "type": "object" |
| 2697 }, |
| 2698 "ProductstatusesCustomBatchResponseEntry": { |
| 2699 "description": "A batch entry encoding a single non-batch response f
rom the productstatuses service of the Content API for Shopping.", |
| 2700 "id": "ProductstatusesCustomBatchResponseEntry", |
| 2701 "properties": { |
| 2702 "batchId": { |
| 2703 "description": "The ID of the request entry this entry respo
nds to.", |
| 2704 "format": "uint32", |
| 2705 "type": "integer" |
| 2706 }, |
| 2707 "errors": { |
| 2708 "$ref": "Errors", |
| 2709 "description": "A list of errors, if the request failed." |
| 2710 }, |
| 2711 "kind": { |
| 2712 "default": "content#productstatusesCustomBatchResponseEntry"
, |
| 2713 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productstatusesCustomBatchResponseEntry\".", |
| 2714 "type": "string" |
| 2715 }, |
| 2716 "productStatus": { |
| 2717 "$ref": "ProductStatus", |
| 2718 "description": "The requested product status. Only defined i
f the request was successful." |
| 2719 } |
| 2720 }, |
| 2721 "type": "object" |
| 2722 }, |
| 2723 "ProductstatusesListResponse": { |
| 2724 "id": "ProductstatusesListResponse", |
| 2725 "properties": { |
| 2726 "kind": { |
| 2727 "default": "content#productstatusesListResponse", |
| 2728 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"content#productstatusesListResponse\".", |
| 2729 "type": "string" |
| 2730 }, |
| 2731 "nextPageToken": { |
| 2732 "type": "string" |
| 2733 }, |
| 2734 "resources": { |
| 2735 "items": { |
| 2736 "$ref": "ProductStatus" |
| 2737 }, |
| 2738 "type": "array" |
| 2739 } |
| 2740 }, |
| 2741 "type": "object" |
| 2742 } |
| 2743 }, |
| 2744 "servicePath": "content/v2/", |
| 2745 "title": "Content API for Shopping", |
| 2746 "version": "v2" |
| 2747 } |
OLD | NEW |