1{
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/manufacturercenter": {
6 "description": "Manage your product listings for Google Manufacturer Center"
7 }
8 }
9 }
10 },
11 "basePath": "",
12 "baseUrl": "https://manufacturers.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Manufacturer Center",
15 "description": "Public API for managing Manufacturer Center related data.",
16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/manufacturers/",
18 "fullyEncodeReservedExpansion": true,
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": "manufacturers:v1",
24 "kind": "discovery#restDescription",
25 "mtlsRootUrl": "https://manufacturers.mtls.googleapis.com/",
26 "name": "manufacturers",
27 "ownerDomain": "google.com",
28 "ownerName": "Google",
29 "parameters": {
30 "$.xgafv": {
31 "description": "V1 error format.",
32 "enum": [
33 "1",
34 "2"
35 ],
36 "enumDescriptions": [
37 "v1 error format",
38 "v2 error format"
39 ],
40 "location": "query",
41 "type": "string"
42 },
43 "access_token": {
44 "description": "OAuth access token.",
45 "location": "query",
46 "type": "string"
47 },
48 "alt": {
49 "default": "json",
50 "description": "Data format for response.",
51 "enum": [
52 "json",
53 "media",
54 "proto"
55 ],
56 "enumDescriptions": [
57 "Responses with Content-Type of application/json",
58 "Media download with context-dependent Content-Type",
59 "Responses with Content-Type of application/x-protobuf"
60 ],
61 "location": "query",
62 "type": "string"
63 },
64 "callback": {
65 "description": "JSONP",
66 "location": "query",
67 "type": "string"
68 },
69 "fields": {
70 "description": "Selector specifying which fields to include in a partial response.",
71 "location": "query",
72 "type": "string"
73 },
74 "key": {
75 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76 "location": "query",
77 "type": "string"
78 },
79 "oauth_token": {
80 "description": "OAuth 2.0 token for the current user.",
81 "location": "query",
82 "type": "string"
83 },
84 "prettyPrint": {
85 "default": "true",
86 "description": "Returns response with indentations and line breaks.",
87 "location": "query",
88 "type": "boolean"
89 },
90 "quotaUser": {
91 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92 "location": "query",
93 "type": "string"
94 },
95 "uploadType": {
96 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97 "location": "query",
98 "type": "string"
99 },
100 "upload_protocol": {
101 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102 "location": "query",
103 "type": "string"
104 }
105 },
106 "protocol": "rest",
107 "resources": {
108 "accounts": {
109 "resources": {
110 "languages": {
111 "resources": {
112 "productCertifications": {
113 "methods": {
114 "delete": {
115 "description": "Deletes a product certification by its name. This method can only be called by certification bodies.",
116 "flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications/{productCertificationsId}",
117 "httpMethod": "DELETE",
118 "id": "manufacturers.accounts.languages.productCertifications.delete",
119 "parameterOrder": [
120 "name"
121 ],
122 "parameters": {
123 "name": {
124 "description": "Required. The name of the product certification to delete. Format: accounts/{account}/languages/{language_code}/productCertifications/{id}",
125 "location": "path",
126 "pattern": "^accounts/[^/]+/languages/[^/]+/productCertifications/[^/]+$",
127 "required": true,
128 "type": "string"
129 }
130 },
131 "path": "v1/{+name}",
132 "response": {
133 "$ref": "Empty"
134 },
135 "scopes": [
136 "https://www.googleapis.com/auth/manufacturercenter"
137 ]
138 },
139 "get": {
140 "description": "Gets a product certification by its name. This method can only be called by certification bodies.",
141 "flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications/{productCertificationsId}",
142 "httpMethod": "GET",
143 "id": "manufacturers.accounts.languages.productCertifications.get",
144 "parameterOrder": [
145 "name"
146 ],
147 "parameters": {
148 "name": {
149 "description": "Required. The name of the product certification to get. Format: accounts/{account}/languages/{language_code}/productCertifications/{id}",
150 "location": "path",
151 "pattern": "^accounts/[^/]+/languages/[^/]+/productCertifications/[^/]+$",
152 "required": true,
153 "type": "string"
154 }
155 },
156 "path": "v1/{+name}",
157 "response": {
158 "$ref": "ProductCertification"
159 },
160 "scopes": [
161 "https://www.googleapis.com/auth/manufacturercenter"
162 ]
163 },
164 "list": {
165 "description": "Lists product certifications from a specified certification body. This method can only be called by certification bodies.",
166 "flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications",
167 "httpMethod": "GET",
168 "id": "manufacturers.accounts.languages.productCertifications.list",
169 "parameterOrder": [
170 "parent"
171 ],
172 "parameters": {
173 "pageSize": {
174 "description": "Optional. The maximum number of product certifications to return. The service may return fewer than this value. If unspecified, at most 50 product certifications will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.",
175 "format": "int32",
176 "location": "query",
177 "type": "integer"
178 },
179 "pageToken": {
180 "description": "Optional. A page token, received from a previous `ListProductCertifications` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListProductCertifications` must match the call that provided the page token. Required if requesting the second or higher page.",
181 "location": "query",
182 "type": "string"
183 },
184 "parent": {
185 "description": "Required. The parent, which owns this collection of product certifications. Format: accounts/{account}/languages/{language_code}",
186 "location": "path",
187 "pattern": "^accounts/[^/]+/languages/[^/]+$",
188 "required": true,
189 "type": "string"
190 }
191 },
192 "path": "v1/{+parent}/productCertifications",
193 "response": {
194 "$ref": "ListProductCertificationsResponse"
195 },
196 "scopes": [
197 "https://www.googleapis.com/auth/manufacturercenter"
198 ]
199 },
200 "patch": {
201 "description": "Updates (or creates if allow_missing = true) a product certification which links certifications with products. This method can only be called by certification bodies.",
202 "flatPath": "v1/accounts/{accountsId}/languages/{languagesId}/productCertifications/{productCertificationsId}",
203 "httpMethod": "PATCH",
204 "id": "manufacturers.accounts.languages.productCertifications.patch",
205 "parameterOrder": [
206 "name"
207 ],
208 "parameters": {
209 "name": {
210 "description": "Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where `id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1 code of a Shopping supported language according to https://support.google.com/merchants/answer/160637.",
211 "location": "path",
212 "pattern": "^accounts/[^/]+/languages/[^/]+/productCertifications/[^/]+$",
213 "required": true,
214 "type": "string"
215 },
216 "updateMask": {
217 "description": "Optional. The list of fields to update according to aip.dev/134. However, only full update is supported as of right now. Therefore, it can be either ignored or set to \"*\". Setting any other values will returns UNIMPLEMENTED error.",
218 "format": "google-fieldmask",
219 "location": "query",
220 "type": "string"
221 }
222 },
223 "path": "v1/{+name}",
224 "request": {
225 "$ref": "ProductCertification"
226 },
227 "response": {
228 "$ref": "ProductCertification"
229 },
230 "scopes": [
231 "https://www.googleapis.com/auth/manufacturercenter"
232 ]
233 }
234 }
235 }
236 }
237 },
238 "products": {
239 "methods": {
240 "delete": {
241 "description": "Deletes the product from a Manufacturer Center account.",
242 "flatPath": "v1/accounts/{accountsId}/products/{productsId}",
243 "httpMethod": "DELETE",
244 "id": "manufacturers.accounts.products.delete",
245 "parameterOrder": [
246 "parent",
247 "name"
248 ],
249 "parameters": {
250 "name": {
251 "description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.",
252 "location": "path",
253 "pattern": "^[^/]+$",
254 "required": true,
255 "type": "string"
256 },
257 "parent": {
258 "description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.",
259 "location": "path",
260 "pattern": "^accounts/[^/]+$",
261 "required": true,
262 "type": "string"
263 }
264 },
265 "path": "v1/{+parent}/products/{+name}",
266 "response": {
267 "$ref": "Empty"
268 },
269 "scopes": [
270 "https://www.googleapis.com/auth/manufacturercenter"
271 ]
272 },
273 "get": {
274 "description": "Gets the product from a Manufacturer Center account, including product issues. A recently updated product takes around 15 minutes to process. Changes are only visible after it has been processed. While some issues may be available once the product has been processed, other issues may take days to appear.",
275 "flatPath": "v1/accounts/{accountsId}/products/{productsId}",
276 "httpMethod": "GET",
277 "id": "manufacturers.accounts.products.get",
278 "parameterOrder": [
279 "parent",
280 "name"
281 ],
282 "parameters": {
283 "include": {
284 "description": "The information to be included in the response. Only sections listed here will be returned.",
285 "enum": [
286 "UNKNOWN",
287 "ATTRIBUTES",
288 "ISSUES",
289 "DESTINATION_STATUSES"
290 ],
291 "enumDescriptions": [
292 "Unknown, never used.",
293 "Include the attributes of the product.",
294 "Include the issues of the product.",
295 "Include the destination statuses of the product."
296 ],
297 "location": "query",
298 "repeated": true,
299 "type": "string"
300 },
301 "name": {
302 "description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.",
303 "location": "path",
304 "pattern": "^[^/]+$",
305 "required": true,
306 "type": "string"
307 },
308 "parent": {
309 "description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.",
310 "location": "path",
311 "pattern": "^accounts/[^/]+$",
312 "required": true,
313 "type": "string"
314 }
315 },
316 "path": "v1/{+parent}/products/{+name}",
317 "response": {
318 "$ref": "Product"
319 },
320 "scopes": [
321 "https://www.googleapis.com/auth/manufacturercenter"
322 ]
323 },
324 "list": {
325 "description": "Lists all the products in a Manufacturer Center account.",
326 "flatPath": "v1/accounts/{accountsId}/products",
327 "httpMethod": "GET",
328 "id": "manufacturers.accounts.products.list",
329 "parameterOrder": [
330 "parent"
331 ],
332 "parameters": {
333 "include": {
334 "description": "The information to be included in the response. Only sections listed here will be returned.",
335 "enum": [
336 "UNKNOWN",
337 "ATTRIBUTES",
338 "ISSUES",
339 "DESTINATION_STATUSES"
340 ],
341 "enumDescriptions": [
342 "Unknown, never used.",
343 "Include the attributes of the product.",
344 "Include the issues of the product.",
345 "Include the destination statuses of the product."
346 ],
347 "location": "query",
348 "repeated": true,
349 "type": "string"
350 },
351 "pageSize": {
352 "description": "Maximum number of product statuses to return in the response, used for paging.",
353 "format": "int32",
354 "location": "query",
355 "type": "integer"
356 },
357 "pageToken": {
358 "description": "The token returned by the previous request.",
359 "location": "query",
360 "type": "string"
361 },
362 "parent": {
363 "description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.",
364 "location": "path",
365 "pattern": "^accounts/[^/]+$",
366 "required": true,
367 "type": "string"
368 }
369 },
370 "path": "v1/{+parent}/products",
371 "response": {
372 "$ref": "ListProductsResponse"
373 },
374 "scopes": [
375 "https://www.googleapis.com/auth/manufacturercenter"
376 ]
377 },
378 "update": {
379 "description": "Inserts or updates the attributes of the product in a Manufacturer Center account. Creates a product with the provided attributes. If the product already exists, then all attributes are replaced with the new ones. The checks at upload time are minimal. All required attributes need to be present for a product to be valid. Issues may show up later after the API has accepted a new upload for a product and it is possible to overwrite an existing valid product with an invalid product. To detect this, you should retrieve the product and check it for issues once the new version is available. Uploaded attributes first need to be processed before they can be retrieved. Until then, new products will be unavailable, and retrieval of previously uploaded products will return the original state of the product.",
380 "flatPath": "v1/accounts/{accountsId}/products/{productsId}",
381 "httpMethod": "PUT",
382 "id": "manufacturers.accounts.products.update",
383 "parameterOrder": [
384 "parent",
385 "name"
386 ],
387 "parameters": {
388 "name": {
389 "description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.",
390 "location": "path",
391 "pattern": "^[^/]+$",
392 "required": true,
393 "type": "string"
394 },
395 "parent": {
396 "description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.",
397 "location": "path",
398 "pattern": "^accounts/[^/]+$",
399 "required": true,
400 "type": "string"
401 }
402 },
403 "path": "v1/{+parent}/products/{+name}",
404 "request": {
405 "$ref": "Attributes"
406 },
407 "response": {
408 "$ref": "Empty"
409 },
410 "scopes": [
411 "https://www.googleapis.com/auth/manufacturercenter"
412 ]
413 }
414 }
415 }
416 }
417 }
418 },
419 "revision": "20231109",
420 "rootUrl": "https://manufacturers.googleapis.com/",
421 "schemas": {
422 "Attributes": {
423 "description": "Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116.",
424 "id": "Attributes",
425 "properties": {
426 "additionalImageLink": {
427 "description": "The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage.",
428 "items": {
429 "$ref": "Image"
430 },
431 "type": "array"
432 },
433 "ageGroup": {
434 "description": "The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup.",
435 "type": "string"
436 },
437 "brand": {
438 "description": "The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand.",
439 "type": "string"
440 },
441 "capacity": {
442 "$ref": "Capacity",
443 "description": "The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity."
444 },
445 "certification": {
446 "description": "Optional. List of certifications claimed by this product.",
447 "items": {
448 "$ref": "GoogleShoppingManufacturersV1ProductCertification"
449 },
450 "type": "array"
451 },
452 "color": {
453 "description": "The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color.",
454 "type": "string"
455 },
456 "count": {
457 "$ref": "Count",
458 "description": "The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count."
459 },
460 "description": {
461 "description": "The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description.",
462 "type": "string"
463 },
464 "disclosureDate": {
465 "description": "The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure.",
466 "type": "string"
467 },
468 "excludedDestination": {
469 "description": "A list of excluded destinations such as \"ClientExport\", \"ClientShoppingCatalog\" or \"PartnerShoppingCatalog\". For more information, see https://support.google.com/manufacturers/answer/7443550",
470 "items": {
471 "type": "string"
472 },
473 "type": "array"
474 },
475 "featureDescription": {
476 "description": "The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.",
477 "items": {
478 "$ref": "FeatureDescription"
479 },
480 "type": "array"
481 },
482 "flavor": {
483 "description": "The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor.",
484 "type": "string"
485 },
486 "format": {
487 "description": "The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format.",
488 "type": "string"
489 },
490 "gender": {
491 "description": "The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender.",
492 "type": "string"
493 },
494 "grocery": {
495 "$ref": "Grocery",
496 "description": "Grocery Attributes. See more at https://support.google.com/manufacturers/answer/12098458#grocery."
497 },
498 "gtin": {
499 "description": "The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin.",
500 "items": {
501 "type": "string"
502 },
503 "type": "array"
504 },
505 "imageLink": {
506 "$ref": "Image",
507 "description": "The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image."
508 },
509 "includedDestination": {
510 "description": "A list of included destinations such as \"ClientExport\", \"ClientShoppingCatalog\" or \"PartnerShoppingCatalog\". For more information, see https://support.google.com/manufacturers/answer/7443550",
511 "items": {
512 "type": "string"
513 },
514 "type": "array"
515 },
516 "itemGroupId": {
517 "description": "The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid.",
518 "type": "string"
519 },
520 "material": {
521 "description": "The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material.",
522 "type": "string"
523 },
524 "mpn": {
525 "description": "The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn.",
526 "type": "string"
527 },
528 "nutrition": {
529 "$ref": "Nutrition",
530 "description": "Nutrition Attributes. See more at https://support.google.com/manufacturers/answer/12098458#food-servings."
531 },
532 "pattern": {
533 "description": "The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern.",
534 "type": "string"
535 },
536 "productDetail": {
537 "description": "The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.",
538 "items": {
539 "$ref": "ProductDetail"
540 },
541 "type": "array"
542 },
543 "productHighlight": {
544 "description": "The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942",
545 "items": {
546 "type": "string"
547 },
548 "type": "array"
549 },
550 "productLine": {
551 "description": "The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline.",
552 "type": "string"
553 },
554 "productName": {
555 "description": "The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname.",
556 "type": "string"
557 },
558 "productPageUrl": {
559 "description": "The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage.",
560 "type": "string"
561 },
562 "productType": {
563 "description": "The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype.",
564 "items": {
565 "type": "string"
566 },
567 "type": "array"
568 },
569 "releaseDate": {
570 "description": "The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release.",
571 "type": "string"
572 },
573 "richProductContent": {
574 "description": "Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865",
575 "items": {
576 "type": "string"
577 },
578 "type": "array"
579 },
580 "scent": {
581 "description": "The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent.",
582 "type": "string"
583 },
584 "size": {
585 "description": "The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size.",
586 "type": "string"
587 },
588 "sizeSystem": {
589 "description": "The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem.",
590 "type": "string"
591 },
592 "sizeType": {
593 "description": "The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype.",
594 "items": {
595 "type": "string"
596 },
597 "type": "array"
598 },
599 "suggestedRetailPrice": {
600 "$ref": "Price",
601 "description": "The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price."
602 },
603 "targetClientId": {
604 "description": "The target client id. Should only be used in the accounts of the data partners. For more information, see https://support.google.com/manufacturers/answer/10857344",
605 "type": "string"
606 },
607 "theme": {
608 "description": "The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme.",
609 "type": "string"
610 },
611 "title": {
612 "description": "The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title.",
613 "type": "string"
614 },
615 "videoLink": {
616 "description": "The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video.",
617 "items": {
618 "type": "string"
619 },
620 "type": "array"
621 },
622 "virtualModelLink": {
623 "description": "Virtual Model (3d) asset link.",
624 "type": "string"
625 }
626 },
627 "type": "object"
628 },
629 "Capacity": {
630 "description": "The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity.",
631 "id": "Capacity",
632 "properties": {
633 "unit": {
634 "description": "The unit of the capacity, i.e., MB, GB, or TB.",
635 "type": "string"
636 },
637 "value": {
638 "description": "The numeric value of the capacity.",
639 "format": "int64",
640 "type": "string"
641 }
642 },
643 "type": "object"
644 },
645 "Certification": {
646 "description": "Description of a certification.",
647 "id": "Certification",
648 "properties": {
649 "authority": {
650 "description": "Required. Name of the certification body.",
651 "type": "string"
652 },
653 "code": {
654 "description": "Required. A unique code to identify the certification.",
655 "type": "string"
656 },
657 "link": {
658 "description": "Optional. A URL link to the certification.",
659 "type": "string"
660 },
661 "logo": {
662 "description": "Optional. A URL link to the certification logo.",
663 "type": "string"
664 },
665 "name": {
666 "description": "Required. Name of the certification.",
667 "type": "string"
668 },
669 "validUntil": {
670 "description": "Optional. The expiration date (UTC).",
671 "type": "string"
672 },
673 "value": {
674 "description": "Optional. A custom value of the certification.",
675 "type": "string"
676 }
677 },
678 "type": "object"
679 },
680 "Count": {
681 "description": "The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count.",
682 "id": "Count",
683 "properties": {
684 "unit": {
685 "description": "The unit in which these products are counted.",
686 "type": "string"
687 },
688 "value": {
689 "description": "The numeric value of the number of products in a package.",
690 "format": "int64",
691 "type": "string"
692 }
693 },
694 "type": "object"
695 },
696 "DestinationStatus": {
697 "description": "The destination status.",
698 "id": "DestinationStatus",
699 "properties": {
700 "destination": {
701 "description": "The name of the destination.",
702 "type": "string"
703 },
704 "status": {
705 "description": "The status of the destination.",
706 "enum": [
707 "UNKNOWN",
708 "ACTIVE",
709 "PENDING",
710 "DISAPPROVED"
711 ],
712 "enumDescriptions": [
713 "Unspecified status, never used.",
714 "The product is used for this destination.",
715 "The decision is still pending.",
716 "The product is disapproved. Please look at the issues."
717 ],
718 "type": "string"
719 }
720 },
721 "type": "object"
722 },
723 "Empty": {
724 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
725 "id": "Empty",
726 "properties": {},
727 "type": "object"
728 },
729 "FeatureDescription": {
730 "description": "A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc.",
731 "id": "FeatureDescription",
732 "properties": {
733 "headline": {
734 "description": "A short description of the feature.",
735 "type": "string"
736 },
737 "image": {
738 "$ref": "Image",
739 "description": "An optional image describing the feature."
740 },
741 "text": {
742 "description": "A detailed description of the feature.",
743 "type": "string"
744 }
745 },
746 "type": "object"
747 },
748 "FloatUnit": {
749 "description": "Combination of float amount and unit.",
750 "id": "FloatUnit",
751 "properties": {
752 "amount": {
753 "description": "amount.",
754 "format": "double",
755 "type": "number"
756 },
757 "unit": {
758 "description": "unit.",
759 "type": "string"
760 }
761 },
762 "type": "object"
763 },
764 "GoogleShoppingManufacturersV1ProductCertification": {
765 "description": "Description of a certification.",
766 "id": "GoogleShoppingManufacturersV1ProductCertification",
767 "properties": {
768 "authority": {
769 "description": "Required. Name of the certification body.",
770 "type": "string"
771 },
772 "code": {
773 "description": "Required. A unique code to identify the certification.",
774 "type": "string"
775 },
776 "name": {
777 "description": "Required. Name of the certification.",
778 "type": "string"
779 }
780 },
781 "type": "object"
782 },
783 "Grocery": {
784 "id": "Grocery",
785 "properties": {
786 "activeIngredients": {
787 "description": "Active ingredients.",
788 "type": "string"
789 },
790 "alcoholByVolume": {
791 "description": "Alcohol by volume.",
792 "format": "double",
793 "type": "number"
794 },
795 "allergens": {
796 "description": "Allergens.",
797 "type": "string"
798 },
799 "derivedNutritionClaim": {
800 "description": "Derived nutrition claim.",
801 "items": {
802 "type": "string"
803 },
804 "type": "array"
805 },
806 "directions": {
807 "description": "Directions.",
808 "type": "string"
809 },
810 "indications": {
811 "description": "Indications.",
812 "type": "string"
813 },
814 "ingredients": {
815 "description": "Ingredients.",
816 "type": "string"
817 },
818 "nutritionClaim": {
819 "description": "Nutrition claim.",
820 "items": {
821 "type": "string"
822 },
823 "type": "array"
824 },
825 "storageInstructions": {
826 "description": "Storage instructions.",
827 "type": "string"
828 }
829 },
830 "type": "object"
831 },
832 "Image": {
833 "description": "An image.",
834 "id": "Image",
835 "properties": {
836 "imageUrl": {
837 "description": "The URL of the image. For crawled images, this is the provided URL. For uploaded images, this is a serving URL from Google if the image has been processed successfully.",
838 "type": "string"
839 },
840 "status": {
841 "description": "The status of the image. @OutputOnly",
842 "enum": [
843 "STATUS_UNSPECIFIED",
844 "PENDING_PROCESSING",
845 "PENDING_CRAWL",
846 "OK",
847 "ROBOTED",
848 "XROBOTED",
849 "CRAWL_ERROR",
850 "PROCESSING_ERROR",
851 "DECODING_ERROR",
852 "TOO_BIG",
853 "CRAWL_SKIPPED",
854 "HOSTLOADED",
855 "HTTP_404"
856 ],
857 "enumDescriptions": [
858 "The image status is unspecified. Should not be used.",
859 "The image was uploaded and is being processed.",
860 "The image crawl is still pending.",
861 "The image was processed and it meets the requirements.",
862 "The image URL is protected by robots.txt file and cannot be crawled.",
863 "The image URL is protected by X-Robots-Tag and cannot be crawled.",
864 "There was an error while crawling the image.",
865 "The image cannot be processed.",
866 "The image cannot be decoded.",
867 "The image is too big.",
868 "The image was manually overridden and will not be crawled.",
869 "The image crawl was postponed to avoid overloading the host.",
870 "The image URL returned a \"404 Not Found\" error."
871 ],
872 "type": "string"
873 },
874 "type": {
875 "description": "The type of the image, i.e., crawled or uploaded. @OutputOnly",
876 "enum": [
877 "TYPE_UNSPECIFIED",
878 "CRAWLED",
879 "UPLOADED"
880 ],
881 "enumDescriptions": [
882 "Type is unspecified. Should not be used.",
883 "The image was crawled from a provided URL.",
884 "The image was uploaded."
885 ],
886 "type": "string"
887 }
888 },
889 "type": "object"
890 },
891 "Issue": {
892 "description": "Product issue.",
893 "id": "Issue",
894 "properties": {
895 "attribute": {
896 "description": "If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116.",
897 "type": "string"
898 },
899 "description": {
900 "description": "Longer description of the issue focused on how to resolve it.",
901 "type": "string"
902 },
903 "destination": {
904 "description": "The destination this issue applies to.",
905 "type": "string"
906 },
907 "resolution": {
908 "description": "What needs to happen to resolve the issue.",
909 "enum": [
910 "RESOLUTION_UNSPECIFIED",
911 "USER_ACTION",
912 "PENDING_PROCESSING"
913 ],
914 "enumDescriptions": [
915 "Unspecified resolution, never used.",
916 "The user who provided the data must act in order to resolve the issue (for example by correcting some data).",
917 "The issue will be resolved automatically (for example image crawl or Google review). No action is required now. Resolution might lead to another issue (for example if crawl fails)."
918 ],
919 "type": "string"
920 },
921 "severity": {
922 "description": "The severity of the issue.",
923 "enum": [
924 "SEVERITY_UNSPECIFIED",
925 "ERROR",
926 "WARNING",
927 "INFO"
928 ],
929 "enumDescriptions": [
930 "Unspecified severity, never used.",
931 "Error severity. The issue prevents the usage of the whole item.",
932 "Warning severity. The issue is either one that prevents the usage of the attribute that triggered it or one that will soon prevent the usage of the whole item.",
933 "Info severity. The issue is one that doesn't require immediate attention. It is, for example, used to communicate which attributes are still pending review."
934 ],
935 "type": "string"
936 },
937 "timestamp": {
938 "description": "The timestamp when this issue appeared.",
939 "format": "google-datetime",
940 "type": "string"
941 },
942 "title": {
943 "description": "Short title describing the nature of the issue.",
944 "type": "string"
945 },
946 "type": {
947 "description": "The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.",
948 "type": "string"
949 }
950 },
951 "type": "object"
952 },
953 "ListProductCertificationsResponse": {
954 "description": "Response for ListProductCertifications method.",
955 "id": "ListProductCertificationsResponse",
956 "properties": {
957 "nextPageToken": {
958 "description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.",
959 "type": "string"
960 },
961 "productCertifications": {
962 "description": "The product certifications from the specified certification body.",
963 "items": {
964 "$ref": "ProductCertification"
965 },
966 "type": "array"
967 }
968 },
969 "type": "object"
970 },
971 "ListProductsResponse": {
972 "id": "ListProductsResponse",
973 "properties": {
974 "nextPageToken": {
975 "description": "The token for the retrieval of the next page of product statuses.",
976 "type": "string"
977 },
978 "products": {
979 "description": "List of the products.",
980 "items": {
981 "$ref": "Product"
982 },
983 "type": "array"
984 }
985 },
986 "type": "object"
987 },
988 "Nutrition": {
989 "id": "Nutrition",
990 "properties": {
991 "addedSugars": {
992 "$ref": "FloatUnit",
993 "description": "Added sugars."
994 },
995 "addedSugarsDailyPercentage": {
996 "description": "Added sugars daily percentage.",
997 "format": "double",
998 "type": "number"
999 },
1000 "calcium": {
1001 "$ref": "FloatUnit",
1002 "description": "Calcium."
1003 },
1004 "calciumDailyPercentage": {
1005 "description": "Calcium daily percentage.",
1006 "format": "double",
1007 "type": "number"
1008 },
1009 "cholesterol": {
1010 "$ref": "FloatUnit",
1011 "description": "Cholesterol."
1012 },
1013 "cholesterolDailyPercentage": {
1014 "description": "Cholesterol daily percentage.",
1015 "format": "double",
1016 "type": "number"
1017 },
1018 "dietaryFiber": {
1019 "$ref": "FloatUnit",
1020 "description": "Dietary fiber."
1021 },
1022 "dietaryFiberDailyPercentage": {
1023 "description": "Dietary fiber daily percentage.",
1024 "format": "double",
1025 "type": "number"
1026 },
1027 "energy": {
1028 "$ref": "FloatUnit",
1029 "description": "Mandatory Nutrition Facts. Energy."
1030 },
1031 "energyFromFat": {
1032 "$ref": "FloatUnit",
1033 "description": "Energy from fat."
1034 },
1035 "folateDailyPercentage": {
1036 "description": "Folate daily percentage.",
1037 "format": "double",
1038 "type": "number"
1039 },
1040 "folateFolicAcid": {
1041 "$ref": "FloatUnit",
1042 "description": "Folate folic acid."
1043 },
1044 "folateMcgDfe": {
1045 "description": "Folate mcg DFE.",
1046 "format": "double",
1047 "type": "number"
1048 },
1049 "iron": {
1050 "$ref": "FloatUnit",
1051 "description": "Iron."
1052 },
1053 "ironDailyPercentage": {
1054 "description": "Iron daily percentage.",
1055 "format": "double",
1056 "type": "number"
1057 },
1058 "monounsaturatedFat": {
1059 "$ref": "FloatUnit",
1060 "description": "Monounsaturated fat."
1061 },
1062 "nutritionFactMeasure": {
1063 "description": "Nutrition fact measure.",
1064 "type": "string"
1065 },
1066 "polyols": {
1067 "$ref": "FloatUnit",
1068 "description": "Polyols."
1069 },
1070 "polyunsaturatedFat": {
1071 "$ref": "FloatUnit",
1072 "description": "Polyunsaturated fat."
1073 },
1074 "potassium": {
1075 "$ref": "FloatUnit",
1076 "description": "Potassium."
1077 },
1078 "potassiumDailyPercentage": {
1079 "description": "Potassium daily percentage.",
1080 "format": "double",
1081 "type": "number"
1082 },
1083 "preparedSizeDescription": {
1084 "description": "Prepared size description.",
1085 "type": "string"
1086 },
1087 "protein": {
1088 "$ref": "FloatUnit",
1089 "description": "Protein."
1090 },
1091 "proteinDailyPercentage": {
1092 "description": "Protein daily percentage.",
1093 "format": "double",
1094 "type": "number"
1095 },
1096 "saturatedFat": {
1097 "$ref": "FloatUnit",
1098 "description": "Saturated fat."
1099 },
1100 "saturatedFatDailyPercentage": {
1101 "description": "Saturated fat daily percentage.",
1102 "format": "double",
1103 "type": "number"
1104 },
1105 "servingSizeDescription": {
1106 "description": "Food Serving Size. Serving size description.",
1107 "type": "string"
1108 },
1109 "servingSizeMeasure": {
1110 "$ref": "FloatUnit",
1111 "description": "Serving size measure."
1112 },
1113 "servingsPerContainer": {
1114 "description": "Servings per container.",
1115 "type": "string"
1116 },
1117 "sodium": {
1118 "$ref": "FloatUnit",
1119 "description": "Sodium."
1120 },
1121 "sodiumDailyPercentage": {
1122 "description": "Sodium daily percentage.",
1123 "format": "double",
1124 "type": "number"
1125 },
1126 "starch": {
1127 "$ref": "FloatUnit",
1128 "description": "Starch."
1129 },
1130 "totalCarbohydrate": {
1131 "$ref": "FloatUnit",
1132 "description": "Total carbohydrate."
1133 },
1134 "totalCarbohydrateDailyPercentage": {
1135 "description": "Total carbohydrate daily percentage.",
1136 "format": "double",
1137 "type": "number"
1138 },
1139 "totalFat": {
1140 "$ref": "FloatUnit",
1141 "description": "Total fat."
1142 },
1143 "totalFatDailyPercentage": {
1144 "description": "Total fat daily percentage.",
1145 "format": "double",
1146 "type": "number"
1147 },
1148 "totalSugars": {
1149 "$ref": "FloatUnit",
1150 "description": "Total sugars."
1151 },
1152 "totalSugarsDailyPercentage": {
1153 "description": "Total sugars daily percentage.",
1154 "format": "double",
1155 "type": "number"
1156 },
1157 "transFat": {
1158 "$ref": "FloatUnit",
1159 "description": "Trans fat."
1160 },
1161 "transFatDailyPercentage": {
1162 "description": "Trans fat daily percentage.",
1163 "format": "double",
1164 "type": "number"
1165 },
1166 "vitaminD": {
1167 "$ref": "FloatUnit",
1168 "description": "Vitamin D."
1169 },
1170 "vitaminDDailyPercentage": {
1171 "description": "Vitamin D daily percentage.",
1172 "format": "double",
1173 "type": "number"
1174 },
1175 "voluntaryNutritionFact": {
1176 "description": "Voluntary nutrition fact.",
1177 "items": {
1178 "$ref": "VoluntaryNutritionFact"
1179 },
1180 "type": "array"
1181 }
1182 },
1183 "type": "object"
1184 },
1185 "Price": {
1186 "description": "A price.",
1187 "id": "Price",
1188 "properties": {
1189 "amount": {
1190 "description": "The numeric value of the price.",
1191 "type": "string"
1192 },
1193 "currency": {
1194 "description": "The currency in which the price is denoted.",
1195 "type": "string"
1196 }
1197 },
1198 "type": "object"
1199 },
1200 "Product": {
1201 "description": "Product data.",
1202 "id": "Product",
1203 "properties": {
1204 "attributes": {
1205 "$ref": "Attributes",
1206 "description": "Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account."
1207 },
1208 "contentLanguage": {
1209 "description": "The content language of the product as a two-letter ISO 639-1 language code (for example, en).",
1210 "type": "string"
1211 },
1212 "destinationStatuses": {
1213 "description": "The status of the destinations.",
1214 "items": {
1215 "$ref": "DestinationStatus"
1216 },
1217 "type": "array"
1218 },
1219 "issues": {
1220 "description": "A server-generated list of issues associated with the product.",
1221 "items": {
1222 "$ref": "Issue"
1223 },
1224 "type": "array"
1225 },
1226 "name": {
1227 "description": "Name in the format `{target_country}:{content_language}:{product_id}`. `target_country` - The target country of the product as a CLDR territory code (for example, US). `content_language` - The content language of the product as a two-letter ISO 639-1 language code (for example, en). `product_id` - The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.",
1228 "type": "string"
1229 },
1230 "parent": {
1231 "description": "Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account.",
1232 "type": "string"
1233 },
1234 "productId": {
1235 "description": "The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id.",
1236 "type": "string"
1237 },
1238 "targetCountry": {
1239 "description": "The target country of the product as a CLDR territory code (for example, US).",
1240 "type": "string"
1241 }
1242 },
1243 "type": "object"
1244 },
1245 "ProductCertification": {
1246 "description": "Product certification data.",
1247 "id": "ProductCertification",
1248 "properties": {
1249 "brand": {
1250 "description": "Required. This is the product's brand name. The brand is used to help identify your product.",
1251 "type": "string"
1252 },
1253 "certification": {
1254 "description": "Required. A list of certifications to link to the described product.",
1255 "items": {
1256 "$ref": "Certification"
1257 },
1258 "type": "array"
1259 },
1260 "countryCode": {
1261 "description": "Optional. A 2-letter country code (ISO 3166-1 Alpha 2).",
1262 "items": {
1263 "type": "string"
1264 },
1265 "type": "array"
1266 },
1267 "destinationStatuses": {
1268 "description": "Output only. The statuses of the destinations.",
1269 "items": {
1270 "$ref": "DestinationStatus"
1271 },
1272 "readOnly": true,
1273 "type": "array"
1274 },
1275 "issues": {
1276 "description": "Output only. A server-generated list of issues associated with the product.",
1277 "items": {
1278 "$ref": "Issue"
1279 },
1280 "readOnly": true,
1281 "type": "array"
1282 },
1283 "mpn": {
1284 "description": "Optional. These are the Manufacturer Part Numbers (MPN). MPNs are used to uniquely identify a specific product among all products from the same manufacturer",
1285 "items": {
1286 "type": "string"
1287 },
1288 "type": "array"
1289 },
1290 "name": {
1291 "description": "Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where `id` is a some unique identifier and `language_code` is a 2-letter ISO 639-1 code of a Shopping supported language according to https://support.google.com/merchants/answer/160637.",
1292 "type": "string"
1293 },
1294 "productCode": {
1295 "description": "Optional. Another name for GTIN.",
1296 "items": {
1297 "type": "string"
1298 },
1299 "type": "array"
1300 },
1301 "productType": {
1302 "description": "Optional. These are your own product categorization system in your product data.",
1303 "items": {
1304 "type": "string"
1305 },
1306 "type": "array"
1307 },
1308 "title": {
1309 "description": "Required. This is to clearly identify the product you are certifying.",
1310 "type": "string"
1311 }
1312 },
1313 "type": "object"
1314 },
1315 "ProductDetail": {
1316 "description": "A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail.",
1317 "id": "ProductDetail",
1318 "properties": {
1319 "attributeName": {
1320 "description": "The name of the attribute.",
1321 "type": "string"
1322 },
1323 "attributeValue": {
1324 "description": "The value of the attribute.",
1325 "type": "string"
1326 },
1327 "sectionName": {
1328 "description": "A short section name that can be reused between multiple product details.",
1329 "type": "string"
1330 }
1331 },
1332 "type": "object"
1333 },
1334 "VoluntaryNutritionFact": {
1335 "description": "Voluntary Nutrition Facts.",
1336 "id": "VoluntaryNutritionFact",
1337 "properties": {
1338 "dailyPercentage": {
1339 "description": "Daily percentage.",
1340 "format": "double",
1341 "type": "number"
1342 },
1343 "name": {
1344 "description": "Name.",
1345 "type": "string"
1346 },
1347 "value": {
1348 "$ref": "FloatUnit",
1349 "description": "Value."
1350 }
1351 },
1352 "type": "object"
1353 }
1354 },
1355 "servicePath": "",
1356 "title": "Manufacturer Center API",
1357 "version": "v1",
1358 "version_module": true
1359}
View as plain text