OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/manufacturercenter": { | 5 "https://www.googleapis.com/auth/manufacturercenter": { |
6 "description": "Manage your product listings for Google Manu
facturer Center" | 6 "description": "Manage your product listings for Google Manu
facturer Center" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://manufacturers.googleapis.com/", | 12 "baseUrl": "https://manufacturers.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Manufacturer Center", | 14 "canonicalName": "Manufacturer Center", |
15 "description": "Public API for managing Manufacturer Center related data.", | 15 "description": "Public API for managing Manufacturer Center related data.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://developers.google.com/manufacturers/", | 17 "documentationLink": "https://developers.google.com/manufacturers/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "manufacturers:v1", | 22 "id": "manufacturers:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "manufacturers", | 24 "name": "manufacturers", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "access_token": { | |
29 "description": "OAuth access token.", | |
30 "location": "query", | |
31 "type": "string" | |
32 }, | |
33 "key": { | |
34 "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.", | |
35 "location": "query", | |
36 "type": "string" | |
37 }, | |
38 "quotaUser": { | |
39 "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.", | |
40 "location": "query", | |
41 "type": "string" | |
42 }, | |
43 "pp": { | |
44 "default": "true", | |
45 "description": "Pretty-print response.", | |
46 "location": "query", | |
47 "type": "boolean" | |
48 }, | |
49 "oauth_token": { | 28 "oauth_token": { |
50 "description": "OAuth 2.0 token for the current user.", | 29 "description": "OAuth 2.0 token for the current user.", |
51 "location": "query", | 30 "location": "query", |
52 "type": "string" | 31 "type": "string" |
53 }, | 32 }, |
54 "bearer_token": { | 33 "bearer_token": { |
55 "description": "OAuth bearer token.", | 34 "description": "OAuth bearer token.", |
56 "location": "query", | 35 "location": "query", |
57 "type": "string" | 36 "type": "string" |
58 }, | 37 }, |
59 "upload_protocol": { | 38 "upload_protocol": { |
60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 39 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
61 "location": "query", | 40 "location": "query", |
62 "type": "string" | 41 "type": "string" |
63 }, | 42 }, |
64 "prettyPrint": { | 43 "prettyPrint": { |
65 "default": "true", | 44 "default": "true", |
66 "description": "Returns response with indentations and line breaks."
, | 45 "description": "Returns response with indentations and line breaks."
, |
67 "location": "query", | 46 "location": "query", |
68 "type": "boolean" | 47 "type": "boolean" |
69 }, | 48 }, |
| 49 "fields": { |
| 50 "description": "Selector specifying which fields to include in a par
tial response.", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
70 "uploadType": { | 54 "uploadType": { |
71 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 55 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
72 "location": "query", | 56 "location": "query", |
73 "type": "string" | 57 "type": "string" |
74 }, | 58 }, |
75 "fields": { | |
76 "description": "Selector specifying which fields to include in a par
tial response.", | |
77 "location": "query", | |
78 "type": "string" | |
79 }, | |
80 "$.xgafv": { | 59 "$.xgafv": { |
81 "description": "V1 error format.", | 60 "description": "V1 error format.", |
82 "enum": [ | 61 "enum": [ |
83 "1", | 62 "1", |
84 "2" | 63 "2" |
85 ], | 64 ], |
86 "enumDescriptions": [ | 65 "enumDescriptions": [ |
87 "v1 error format", | 66 "v1 error format", |
88 "v2 error format" | 67 "v2 error format" |
89 ], | 68 ], |
(...skipping 13 matching lines...) Expand all Loading... |
103 "media", | 82 "media", |
104 "proto" | 83 "proto" |
105 ], | 84 ], |
106 "enumDescriptions": [ | 85 "enumDescriptions": [ |
107 "Responses with Content-Type of application/json", | 86 "Responses with Content-Type of application/json", |
108 "Media download with context-dependent Content-Type", | 87 "Media download with context-dependent Content-Type", |
109 "Responses with Content-Type of application/x-protobuf" | 88 "Responses with Content-Type of application/x-protobuf" |
110 ], | 89 ], |
111 "location": "query", | 90 "location": "query", |
112 "type": "string" | 91 "type": "string" |
| 92 }, |
| 93 "key": { |
| 94 "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.", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "access_token": { |
| 99 "description": "OAuth access token.", |
| 100 "location": "query", |
| 101 "type": "string" |
| 102 }, |
| 103 "quotaUser": { |
| 104 "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.", |
| 105 "location": "query", |
| 106 "type": "string" |
| 107 }, |
| 108 "pp": { |
| 109 "default": "true", |
| 110 "description": "Pretty-print response.", |
| 111 "location": "query", |
| 112 "type": "boolean" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "accounts": { | 117 "accounts": { |
118 "resources": { | 118 "resources": { |
119 "products": { | 119 "products": { |
120 "methods": { | 120 "methods": { |
121 "list": { | 121 "list": { |
122 "description": "Lists all the products in a Manufact
urer Center account.", | 122 "description": "Lists all the products in a Manufact
urer Center account.", |
123 "httpMethod": "GET", | 123 "httpMethod": "GET", |
124 "id": "manufacturers.accounts.products.list", | 124 "id": "manufacturers.accounts.products.list", |
125 "parameterOrder": [ | 125 "parameterOrder": [ |
126 "parent" | 126 "parent" |
127 ], | 127 ], |
128 "parameters": { | 128 "parameters": { |
| 129 "parent": { |
| 130 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
| 131 "location": "path", |
| 132 "pattern": "^accounts/[^/]+$", |
| 133 "required": true, |
| 134 "type": "string" |
| 135 }, |
129 "pageToken": { | 136 "pageToken": { |
130 "description": "The token returned by the pr
evious request.", | 137 "description": "The token returned by the pr
evious request.", |
131 "location": "query", | 138 "location": "query", |
132 "type": "string" | 139 "type": "string" |
133 }, | 140 }, |
134 "pageSize": { | 141 "pageSize": { |
135 "description": "Maximum number of product st
atuses to return in the response, used for\npaging.", | 142 "description": "Maximum number of product st
atuses to return in the response, used for\npaging.", |
136 "format": "int32", | 143 "format": "int32", |
137 "location": "query", | 144 "location": "query", |
138 "type": "integer" | 145 "type": "integer" |
139 }, | |
140 "parent": { | |
141 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", | |
142 "location": "path", | |
143 "pattern": "^accounts/[^/]+$", | |
144 "required": true, | |
145 "type": "string" | |
146 } | 146 } |
147 }, | 147 }, |
148 "path": "v1/{+parent}/products", | 148 "path": "v1/{+parent}/products", |
149 "response": { | 149 "response": { |
150 "$ref": "ListProductsResponse" | 150 "$ref": "ListProductsResponse" |
151 }, | 151 }, |
152 "scopes": [ | 152 "scopes": [ |
153 "https://www.googleapis.com/auth/manufacturercen
ter" | 153 "https://www.googleapis.com/auth/manufacturercen
ter" |
154 ] | 154 ] |
155 }, | 155 }, |
156 "get": { | 156 "get": { |
157 "description": "Gets the product from a Manufacturer
Center account, including product\nissues.", | 157 "description": "Gets the product from a Manufacturer
Center account, including product\nissues.", |
158 "httpMethod": "GET", | 158 "httpMethod": "GET", |
159 "id": "manufacturers.accounts.products.get", | 159 "id": "manufacturers.accounts.products.get", |
160 "parameterOrder": [ | 160 "parameterOrder": [ |
161 "parent", | 161 "parent", |
162 "name" | 162 "name" |
163 ], | 163 ], |
164 "parameters": { | 164 "parameters": { |
| 165 "parent": { |
| 166 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", |
| 167 "location": "path", |
| 168 "pattern": "^accounts/[^/]+$", |
| 169 "required": true, |
| 170 "type": "string" |
| 171 }, |
165 "name": { | 172 "name": { |
166 "description": "Name in the format `{target_
country}:{content_language}:{product_id}`.\n\n`target_country` - The target co
untry of the product as a CLDR territory\n code (for example
, US).\n\n`content_language` - The content language of the product as a two-lett
er\n ISO 639-1 language code (for example, en).\n\n`product_
id` - The ID of the product. For more information, see\n
https://support.google.com/manufacturers/answer/6124116#id.", | 173 "description": "Name in the format `{target_
country}:{content_language}:{product_id}`.\n\n`target_country` - The target co
untry of the product as a CLDR territory\n code (for example
, US).\n\n`content_language` - The content language of the product as a two-lett
er\n ISO 639-1 language code (for example, en).\n\n`product_
id` - The ID of the product. For more information, see\n
https://support.google.com/manufacturers/answer/6124116#id.", |
167 "location": "path", | 174 "location": "path", |
168 "pattern": "^[^/]+$", | 175 "pattern": "^[^/]+$", |
169 "required": true, | 176 "required": true, |
170 "type": "string" | 177 "type": "string" |
171 }, | |
172 "parent": { | |
173 "description": "Parent ID in the format `acc
ounts/{account_id}`.\n\n`account_id` - The ID of the Manufacturer Center account
.", | |
174 "location": "path", | |
175 "pattern": "^accounts/[^/]+$", | |
176 "required": true, | |
177 "type": "string" | |
178 } | 178 } |
179 }, | 179 }, |
180 "path": "v1/{+parent}/products/{+name}", | 180 "path": "v1/{+parent}/products/{+name}", |
181 "response": { | 181 "response": { |
182 "$ref": "Product" | 182 "$ref": "Product" |
183 }, | 183 }, |
184 "scopes": [ | 184 "scopes": [ |
185 "https://www.googleapis.com/auth/manufacturercen
ter" | 185 "https://www.googleapis.com/auth/manufacturercen
ter" |
186 ] | 186 ] |
187 } | 187 } |
188 } | 188 } |
189 } | 189 } |
190 } | 190 } |
191 } | 191 } |
192 }, | 192 }, |
193 "revision": "20161028", | 193 "revision": "20170322", |
194 "rootUrl": "https://manufacturers.googleapis.com/", | 194 "rootUrl": "https://manufacturers.googleapis.com/", |
195 "schemas": { | 195 "schemas": { |
| 196 "ListProductsResponse": { |
| 197 "id": "ListProductsResponse", |
| 198 "properties": { |
| 199 "products": { |
| 200 "description": "List of the products.", |
| 201 "items": { |
| 202 "$ref": "Product" |
| 203 }, |
| 204 "type": "array" |
| 205 }, |
| 206 "nextPageToken": { |
| 207 "description": "The token for the retrieval of the next page
of product statuses.", |
| 208 "type": "string" |
| 209 } |
| 210 }, |
| 211 "type": "object" |
| 212 }, |
| 213 "ProductDetail": { |
| 214 "description": "A product detail of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail.", |
| 215 "id": "ProductDetail", |
| 216 "properties": { |
| 217 "attributeValue": { |
| 218 "description": "The value of the attribute.", |
| 219 "type": "string" |
| 220 }, |
| 221 "sectionName": { |
| 222 "description": "A short section name that can be reused betw
een multiple product details.", |
| 223 "type": "string" |
| 224 }, |
| 225 "attributeName": { |
| 226 "description": "The name of the attribute.", |
| 227 "type": "string" |
| 228 } |
| 229 }, |
| 230 "type": "object" |
| 231 }, |
196 "Issue": { | 232 "Issue": { |
197 "description": "Product issue.", | 233 "description": "Product issue.", |
198 "id": "Issue", | 234 "id": "Issue", |
199 "properties": { | 235 "properties": { |
| 236 "description": { |
| 237 "description": "Description of the issue.", |
| 238 "type": "string" |
| 239 }, |
| 240 "type": { |
| 241 "description": "The server-generated type of the issue, for
example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", |
| 242 "type": "string" |
| 243 }, |
200 "attribute": { | 244 "attribute": { |
201 "description": "If present, the attribute that triggered the
issue. For more information\nabout attributes, see\nhttps://support.google.com/
manufacturers/answer/6124116.", | 245 "description": "If present, the attribute that triggered the
issue. For more information\nabout attributes, see\nhttps://support.google.com/
manufacturers/answer/6124116.", |
202 "type": "string" | 246 "type": "string" |
203 }, | 247 }, |
| 248 "timestamp": { |
| 249 "description": "The timestamp when this issue appeared.", |
| 250 "format": "google-datetime", |
| 251 "type": "string" |
| 252 }, |
204 "severity": { | 253 "severity": { |
205 "description": "The severity of the issue.", | 254 "description": "The severity of the issue.", |
206 "enum": [ | 255 "enum": [ |
207 "SEVERITY_UNSPECIFIED", | 256 "SEVERITY_UNSPECIFIED", |
208 "ERROR", | 257 "ERROR", |
209 "WARNING", | 258 "WARNING", |
210 "INFO" | 259 "INFO" |
211 ], | 260 ], |
212 "enumDescriptions": [ | 261 "enumDescriptions": [ |
213 "Unspecified severity, never used.", | 262 "Unspecified severity, never used.", |
214 "Error severity. The issue prevents the usage of the who
le item.", | 263 "Error severity. The issue prevents the usage of the who
le item.", |
215 "Warning severity. The issue is either one that prevents
the usage of the\nattribute that triggered it or one that will soon prevent the
usage of\nthe whole item.", | 264 "Warning severity. The issue is either one that prevents
the usage of the\nattribute that triggered it or one that will soon prevent the
usage of\nthe whole item.", |
216 "Info severity. The issue is one that doesn't require im
mediate attention.\nIt is, for example, used to communicate which attributes are
still\npending review." | 265 "Info severity. The issue is one that doesn't require im
mediate attention.\nIt is, for example, used to communicate which attributes are
still\npending review." |
217 ], | 266 ], |
218 "type": "string" | 267 "type": "string" |
219 }, | |
220 "description": { | |
221 "description": "Description of the issue.", | |
222 "type": "string" | |
223 }, | |
224 "type": { | |
225 "description": "The server-generated type of the issue, for
example,\n“INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.", | |
226 "type": "string" | |
227 } | 268 } |
228 }, | 269 }, |
229 "type": "object" | 270 "type": "object" |
230 }, | 271 }, |
231 "Product": { | 272 "FeatureDescription": { |
232 "description": "Product data.", | 273 "description": "A feature description of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#featuredesc
.", |
233 "id": "Product", | 274 "id": "FeatureDescription", |
234 "properties": { | 275 "properties": { |
235 "issues": { | 276 "text": { |
236 "description": "A server-generated list of issues associated
with the product.\n@OutputOnly", | 277 "description": "A detailed description of the feature.", |
237 "items": { | |
238 "$ref": "Issue" | |
239 }, | |
240 "type": "array" | |
241 }, | |
242 "manuallyDeletedAttributes": { | |
243 "description": "Names of the attributes of the product delet
ed manually via the\nManufacturer Center UI.\n@OutputOnly", | |
244 "items": { | |
245 "type": "string" | |
246 }, | |
247 "type": "array" | |
248 }, | |
249 "finalAttributes": { | |
250 "$ref": "Attributes", | |
251 "description": "Final attributes of the product. The final a
ttributes are obtained by\noverriding the uploaded attributes with the manually
provided and deleted\nattributes. Google systems only process, evaluate, review,
and/or use final\nattributes.\n@OutputOnly" | |
252 }, | |
253 "productId": { | |
254 "description": "The ID of the product. For more information,
see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", | |
255 "type": "string" | 278 "type": "string" |
256 }, | 279 }, |
257 "uploadedAttributes": { | 280 "image": { |
258 "$ref": "Attributes", | 281 "$ref": "Image", |
259 "description": "Attributes of the product uploaded via the M
anufacturer Center API or via\nfeeds." | 282 "description": "An optional image describing the feature." |
260 }, | 283 }, |
261 "parent": { | 284 "headline": { |
262 "description": "Parent ID in the format `accounts/{account_i
d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", | 285 "description": "A short description of the feature.", |
| 286 "type": "string" |
| 287 } |
| 288 }, |
| 289 "type": "object" |
| 290 }, |
| 291 "Price": { |
| 292 "description": "A price.", |
| 293 "id": "Price", |
| 294 "properties": { |
| 295 "currency": { |
| 296 "description": "The currency in which the price is denoted."
, |
263 "type": "string" | 297 "type": "string" |
264 }, | 298 }, |
265 "manuallyProvidedAttributes": { | 299 "amount": { |
266 "$ref": "Attributes", | 300 "description": "The numeric value of the price.", |
267 "description": "Attributes of the product provided manually
via the Manufacturer Center UI.\n@OutputOnly" | 301 "type": "string" |
268 }, | 302 } |
269 "contentLanguage": { | 303 }, |
270 "description": "The content language of the product as a two
-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", | 304 "type": "object" |
| 305 }, |
| 306 "Image": { |
| 307 "description": "An image.", |
| 308 "id": "Image", |
| 309 "properties": { |
| 310 "status": { |
| 311 "description": "The status of the image.\n@OutputOnly", |
| 312 "enum": [ |
| 313 "STATUS_UNSPECIFIED", |
| 314 "PENDING_PROCESSING", |
| 315 "PENDING_CRAWL", |
| 316 "OK", |
| 317 "ROBOTED", |
| 318 "XROBOTED", |
| 319 "CRAWL_ERROR", |
| 320 "PROCESSING_ERROR", |
| 321 "DECODING_ERROR", |
| 322 "TOO_BIG", |
| 323 "CRAWL_SKIPPED" |
| 324 ], |
| 325 "enumDescriptions": [ |
| 326 "Status is unspecified. Should not be used.", |
| 327 "Image was uploaded and is being processed.", |
| 328 "The image crawl is still pending.", |
| 329 "The image was processed and it meets the requirements."
, |
| 330 "The image URL is protected by robots.txt file and canno
t be crawled.", |
| 331 "The image URL is protected by X-Robots-Tag and cannot b
e crawled.", |
| 332 "There was an error while crawling the image.", |
| 333 "The image cannot be processed.", |
| 334 "The image cannot be decoded.", |
| 335 "The image is too big.", |
| 336 "The image was manually overridden and will not be crawl
ed." |
| 337 ], |
271 "type": "string" | 338 "type": "string" |
272 }, | 339 }, |
273 "targetCountry": { | 340 "type": { |
274 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", | 341 "description": "The type of the image, i.e., crawled or uplo
aded.\n@OutputOnly", |
| 342 "enum": [ |
| 343 "TYPE_UNSPECIFIED", |
| 344 "CRAWLED", |
| 345 "UPLOADED" |
| 346 ], |
| 347 "enumDescriptions": [ |
| 348 "Type is unspecified. Should not be used.", |
| 349 "The image was crawled from a provided URL.", |
| 350 "The image was uploaded." |
| 351 ], |
275 "type": "string" | 352 "type": "string" |
276 }, | 353 }, |
277 "name": { | 354 "imageUrl": { |
278 "description": "Name in the format `{target_country}:{conten
t_language}:{product_id}`.\n\n`target_country` - The target country of the pro
duct as a CLDR territory\n code (for example, US).\n\n`conte
nt_language` - The content language of the product as a two-letter\n
ISO 639-1 language code (for example, en).\n\n`product_id` - The
ID of the product. For more information, see\n https://suppo
rt.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", | 355 "description": "The URL of the image. For crawled images, th
is is the provided URL. For\nuploaded images, this is a serving URL from Google
if the image has been\nprocessed successfully.", |
279 "type": "string" | 356 "type": "string" |
280 } | 357 } |
281 }, | 358 }, |
282 "type": "object" | 359 "type": "object" |
283 }, | 360 }, |
284 "Attributes": { | 361 "Attributes": { |
285 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", | 362 "description": "Attributes of the product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116.", |
286 "id": "Attributes", | 363 "id": "Attributes", |
287 "properties": { | 364 "properties": { |
| 365 "productName": { |
| 366 "description": "The canonical name of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc
tname.", |
| 367 "type": "string" |
| 368 }, |
| 369 "sizeType": { |
| 370 "description": "The size type of the product. For more infor
mation, see\nhttps://support.google.com/manufacturers/answer/6124116#sizetype.", |
| 371 "type": "string" |
| 372 }, |
| 373 "suggestedRetailPrice": { |
| 374 "$ref": "Price", |
| 375 "description": "The suggested retail price (MSRP) of the pro
duct. For more information,\nsee https://support.google.com/manufacturers/answer
/6124116#price." |
| 376 }, |
| 377 "featureDescription": { |
| 378 "description": "The rich format description of the product.
For more information, see\nhttps://support.google.com/manufacturers/answer/61241
16#featuredesc.", |
| 379 "items": { |
| 380 "$ref": "FeatureDescription" |
| 381 }, |
| 382 "type": "array" |
| 383 }, |
| 384 "size": { |
| 385 "description": "The size of the product. For more informatio
n, see\nhttps://support.google.com/manufacturers/answer/6124116#size.", |
| 386 "type": "string" |
| 387 }, |
| 388 "title": { |
| 389 "description": "The title of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", |
| 390 "type": "string" |
| 391 }, |
| 392 "count": { |
| 393 "$ref": "Count", |
| 394 "description": "The count of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#count." |
| 395 }, |
| 396 "brand": { |
| 397 "description": "The brand name of the product. For more info
rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", |
| 398 "type": "string" |
| 399 }, |
| 400 "disclosureDate": { |
| 401 "description": "The disclosure date of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#discl
osure.", |
| 402 "type": "string" |
| 403 }, |
| 404 "material": { |
| 405 "description": "The material of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#material.", |
| 406 "type": "string" |
| 407 }, |
| 408 "scent": { |
| 409 "description": "The scent of the product. For more informati
on, see\n https://support.google.com/manufacturers/answer/6124116#scent.", |
| 410 "type": "string" |
| 411 }, |
| 412 "ageGroup": { |
| 413 "description": "The target age group of the product. For mor
e information, see\nhttps://support.google.com/manufacturers/answer/6124116#ageg
roup.", |
| 414 "type": "string" |
| 415 }, |
| 416 "productDetail": { |
| 417 "description": "The details of the product. For more informa
tion, see\nhttps://support.google.com/manufacturers/answer/6124116#productdetail
.", |
| 418 "items": { |
| 419 "$ref": "ProductDetail" |
| 420 }, |
| 421 "type": "array" |
| 422 }, |
| 423 "flavor": { |
| 424 "description": "The flavor of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#flavor.", |
| 425 "type": "string" |
| 426 }, |
| 427 "productPageUrl": { |
| 428 "description": "The URL of the detail page of the product. F
or more information, see\nhttps://support.google.com/manufacturers/answer/612411
6#productpage.", |
| 429 "type": "string" |
| 430 }, |
| 431 "mpn": { |
| 432 "description": "The Manufacturer Part Number (MPN) of the pr
oduct. For more information,\nsee https://support.google.com/manufacturers/answe
r/6124116#mpn.", |
| 433 "type": "string" |
| 434 }, |
| 435 "releaseDate": { |
| 436 "description": "The release date of the product. For more in
formation, see\nhttps://support.google.com/manufacturers/answer/6124116#release.
", |
| 437 "type": "string" |
| 438 }, |
288 "gtin": { | 439 "gtin": { |
289 "description": "The Global Trade Item Number (GTIN) of the p
roduct. For more information,\nsee https://support.google.com/manufacturers/answ
er/6124116#gtin.", | 440 "description": "The Global Trade Item Number (GTIN) of the p
roduct. For more information,\nsee https://support.google.com/manufacturers/answ
er/6124116#gtin.", |
290 "items": { | 441 "items": { |
291 "type": "string" | 442 "type": "string" |
292 }, | 443 }, |
293 "type": "array" | 444 "type": "array" |
294 }, | 445 }, |
295 "title": { | 446 "itemGroupId": { |
296 "description": "The title of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#title.", | 447 "description": "The item group id of the product. For more i
nformation, see\nhttps://support.google.com/manufacturers/answer/6124116#itemgro
upid.", |
297 "type": "string" | 448 "type": "string" |
298 }, | 449 }, |
299 "productLine": { | 450 "productLine": { |
300 "description": "The name of the group of products related to
the product. For more\ninformation, see\nhttps://support.google.com/manufacture
rs/answer/6124116#productline.", | 451 "description": "The name of the group of products related to
the product. For more\ninformation, see\nhttps://support.google.com/manufacture
rs/answer/6124116#productline.", |
301 "type": "string" | 452 "type": "string" |
302 }, | 453 }, |
303 "brand": { | 454 "capacity": { |
304 "description": "The brand name of the product. For more info
rmation, see\nhttps://support.google.com/manufacturers/answer/6124116#brand.", | 455 "$ref": "Capacity", |
| 456 "description": "The capacity of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#capacity." |
| 457 }, |
| 458 "description": { |
| 459 "description": "The description of the product. For more inf
ormation, see\nhttps://support.google.com/manufacturers/answer/6124116#descripti
on.", |
305 "type": "string" | 460 "type": "string" |
306 }, | 461 }, |
307 "productName": { | 462 "gender": { |
308 "description": "The canonical name of the product. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#produc
tname.", | 463 "description": "The target gender of the product. For more i
nformation, see\nhttps://support.google.com/manufacturers/answer/6124116#gender.
", |
309 "type": "string" | 464 "type": "string" |
310 }, | 465 }, |
| 466 "sizeSystem": { |
| 467 "description": "The size system of the product. For more inf
ormation, see\nhttps://support.google.com/manufacturers/answer/6124116#sizesyste
m.", |
| 468 "type": "string" |
| 469 }, |
| 470 "theme": { |
| 471 "description": "The theme of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#theme.", |
| 472 "type": "string" |
| 473 }, |
| 474 "pattern": { |
| 475 "description": "The pattern of the product. For more informa
tion, see\nhttps://support.google.com/manufacturers/answer/6124116#pattern.", |
| 476 "type": "string" |
| 477 }, |
| 478 "imageLink": { |
| 479 "$ref": "Image", |
| 480 "description": "The image of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#image." |
| 481 }, |
311 "productType": { | 482 "productType": { |
312 "description": "The manufacturer's category of the product.
For more information, see\nhttps://support.google.com/manufacturers/answer/61241
16#producttype.", | 483 "description": "The category of the product. For more inform
ation, see\nhttps://support.google.com/manufacturers/answer/6124116#producttype.
", |
313 "items": { | 484 "items": { |
314 "type": "string" | 485 "type": "string" |
315 }, | 486 }, |
316 "type": "array" | 487 "type": "array" |
317 }, | 488 }, |
318 "mpn": { | 489 "format": { |
319 "description": "The Manufacturer Part Number (MPN) of the pr
oduct. For more information,\nsee https://support.google.com/manufacturers/answe
r/6124116#mpn.", | 490 "description": "The format of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#format.", |
320 "type": "string" | 491 "type": "string" |
321 }, | 492 }, |
322 "productPageUrl": { | 493 "additionalImageLink": { |
323 "description": "The URL of the manufacturer's detail page of
the product. For more\ninformation, see\nhttps://support.google.com/manufacture
rs/answer/6124116#productpage.", | 494 "description": "The additional images of the product. For mo
re information, see\nhttps://support.google.com/manufacturers/answer/6124116#add
limage.", |
| 495 "items": { |
| 496 "$ref": "Image" |
| 497 }, |
| 498 "type": "array" |
| 499 }, |
| 500 "videoLink": { |
| 501 "description": "The videos of the product. For more informat
ion, see\nhttps://support.google.com/manufacturers/answer/6124116#video.", |
| 502 "items": { |
| 503 "type": "string" |
| 504 }, |
| 505 "type": "array" |
| 506 }, |
| 507 "color": { |
| 508 "description": "The color of the product. For more informati
on, see\nhttps://support.google.com/manufacturers/answer/6124116#color.", |
324 "type": "string" | 509 "type": "string" |
325 } | 510 } |
326 }, | 511 }, |
327 "type": "object" | 512 "type": "object" |
328 }, | 513 }, |
329 "ListProductsResponse": { | 514 "Count": { |
330 "id": "ListProductsResponse", | 515 "description": "The number of products in a single package. For more
information, see\nhttps://support.google.com/manufacturers/answer/6124116#count
.", |
| 516 "id": "Count", |
331 "properties": { | 517 "properties": { |
332 "products": { | 518 "value": { |
333 "description": "List of the products.", | 519 "description": "The numeric value of the number of products
in a package.", |
| 520 "format": "int64", |
| 521 "type": "string" |
| 522 }, |
| 523 "unit": { |
| 524 "description": "The unit in which these products are counted
.", |
| 525 "type": "string" |
| 526 } |
| 527 }, |
| 528 "type": "object" |
| 529 }, |
| 530 "Product": { |
| 531 "description": "Product data.", |
| 532 "id": "Product", |
| 533 "properties": { |
| 534 "uploadedAttributes": { |
| 535 "$ref": "Attributes", |
| 536 "description": "Attributes of the product uploaded via the M
anufacturer Center API or via\nfeeds." |
| 537 }, |
| 538 "parent": { |
| 539 "description": "Parent ID in the format `accounts/{account_i
d}`.\n\n`account_id` - The ID of the Manufacturer Center account.\n@OutputOnly", |
| 540 "type": "string" |
| 541 }, |
| 542 "manuallyProvidedAttributes": { |
| 543 "$ref": "Attributes", |
| 544 "description": "Attributes of the product provided manually
via the Manufacturer Center UI.\n@OutputOnly" |
| 545 }, |
| 546 "contentLanguage": { |
| 547 "description": "The content language of the product as a two
-letter ISO 639-1 language code\n(for example, en).\n@OutputOnly", |
| 548 "type": "string" |
| 549 }, |
| 550 "targetCountry": { |
| 551 "description": "The target country of the product as a CLDR
territory code (for example,\nUS).\n@OutputOnly", |
| 552 "type": "string" |
| 553 }, |
| 554 "name": { |
| 555 "description": "Name in the format `{target_country}:{conten
t_language}:{product_id}`.\n\n`target_country` - The target country of the pro
duct as a CLDR territory\n code (for example, US).\n\n`conte
nt_language` - The content language of the product as a two-letter\n
ISO 639-1 language code (for example, en).\n\n`product_id` - The
ID of the product. For more information, see\n https://suppo
rt.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", |
| 556 "type": "string" |
| 557 }, |
| 558 "issues": { |
| 559 "description": "A server-generated list of issues associated
with the product.\n@OutputOnly", |
334 "items": { | 560 "items": { |
335 "$ref": "Product" | 561 "$ref": "Issue" |
336 }, | 562 }, |
337 "type": "array" | 563 "type": "array" |
338 }, | 564 }, |
339 "nextPageToken": { | 565 "manuallyDeletedAttributes": { |
340 "description": "The token for the retrieval of the next page
of product statuses.", | 566 "description": "Names of the attributes of the product delet
ed manually via the\nManufacturer Center UI.\n@OutputOnly", |
| 567 "items": { |
| 568 "type": "string" |
| 569 }, |
| 570 "type": "array" |
| 571 }, |
| 572 "finalAttributes": { |
| 573 "$ref": "Attributes", |
| 574 "description": "Final attributes of the product. The final a
ttributes are obtained by\noverriding the uploaded attributes with the manually
provided and deleted\nattributes. Google systems only process, evaluate, review,
and/or use final\nattributes.\n@OutputOnly" |
| 575 }, |
| 576 "productId": { |
| 577 "description": "The ID of the product. For more information,
see\nhttps://support.google.com/manufacturers/answer/6124116#id.\n@OutputOnly", |
341 "type": "string" | 578 "type": "string" |
342 } | 579 } |
343 }, | 580 }, |
| 581 "type": "object" |
| 582 }, |
| 583 "Capacity": { |
| 584 "description": "The capacity of a product. For more information, see
\nhttps://support.google.com/manufacturers/answer/6124116#capacity.", |
| 585 "id": "Capacity", |
| 586 "properties": { |
| 587 "value": { |
| 588 "description": "The numeric value of the capacity.", |
| 589 "format": "int64", |
| 590 "type": "string" |
| 591 }, |
| 592 "unit": { |
| 593 "description": "The unit of the capacity, i.e., MB, GB, or T
B.", |
| 594 "type": "string" |
| 595 } |
| 596 }, |
344 "type": "object" | 597 "type": "object" |
345 } | 598 } |
346 }, | 599 }, |
347 "servicePath": "", | 600 "servicePath": "", |
348 "title": "Manufacturer Center API", | 601 "title": "Manufacturer Center API", |
349 "version": "v1" | 602 "version": "v1" |
350 } | 603 } |
OLD | NEW |