1<html><body> 2<style> 3 4body, h1, h2, h3, div, span, p, pre, a { 5 margin: 0; 6 padding: 0; 7 border: 0; 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 13} 14 15body { 16 font-size: 13px; 17 padding: 1em; 18} 19 20h1 { 21 font-size: 26px; 22 margin-bottom: 1em; 23} 24 25h2 { 26 font-size: 24px; 27 margin-bottom: 1em; 28} 29 30h3 { 31 font-size: 20px; 32 margin-bottom: 1em; 33 margin-top: 1em; 34} 35 36pre, code { 37 line-height: 1.5; 38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; 39} 40 41pre { 42 margin-top: 0.5em; 43} 44 45h1, h2, h3, p { 46 font-family: Arial, sans serif; 47} 48 49h1, h2, h3 { 50 border-bottom: solid #CCC 1px; 51} 52 53.toc_element { 54 margin-top: 0.5em; 55} 56 57.firstline { 58 margin-left: 2 em; 59} 60 61.method { 62 margin-top: 1em; 63 border: solid 1px #CCC; 64 padding: 1em; 65 background: #EEE; 66} 67 68.details { 69 font-weight: bold; 70 font-size: 14px; 71} 72 73</style> 74 75<h1><a href="manufacturers_v1.html">Manufacturer Center API</a> . <a href="manufacturers_v1.accounts.html">accounts</a> . <a href="manufacturers_v1.accounts.products.html">products</a></h1> 76<h2>Instance Methods</h2> 77<p class="toc_element"> 78 <code><a href="#close">close()</a></code></p> 79<p class="firstline">Close httplib2 connections.</p> 80<p class="toc_element"> 81 <code><a href="#delete">delete(parent, name, x__xgafv=None)</a></code></p> 82<p class="firstline">Deletes the product from a Manufacturer Center account.</p> 83<p class="toc_element"> 84 <code><a href="#get">get(parent, name, include=None, x__xgafv=None)</a></code></p> 85<p class="firstline">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.</p> 86<p class="toc_element"> 87 <code><a href="#list">list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> 88<p class="firstline">Lists all the products in a Manufacturer Center account.</p> 89<p class="toc_element"> 90 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> 91<p class="firstline">Retrieves the next page of results.</p> 92<p class="toc_element"> 93 <code><a href="#update">update(parent, name, body=None, x__xgafv=None)</a></code></p> 94<p class="firstline">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.</p> 95<h3>Method Details</h3> 96<div class="method"> 97 <code class="details" id="close">close()</code> 98 <pre>Close httplib2 connections.</pre> 99</div> 100 101<div class="method"> 102 <code class="details" id="delete">delete(parent, name, x__xgafv=None)</code> 103 <pre>Deletes the product from a Manufacturer Center account. 104 105Args: 106 parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) 107 name: string, 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. (required) 108 x__xgafv: string, V1 error format. 109 Allowed values 110 1 - v1 error format 111 2 - v2 error format 112 113Returns: 114 An object of the form: 115 116 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`. 117}</pre> 118</div> 119 120<div class="method"> 121 <code class="details" id="get">get(parent, name, include=None, x__xgafv=None)</code> 122 <pre>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. 123 124Args: 125 parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) 126 name: string, 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. (required) 127 include: string, The information to be included in the response. Only sections listed here will be returned. (repeated) 128 Allowed values 129 UNKNOWN - Unknown, never used. 130 ATTRIBUTES - Include the attributes of the product. 131 ISSUES - Include the issues of the product. 132 DESTINATION_STATUSES - Include the destination statuses of the product. 133 x__xgafv: string, V1 error format. 134 Allowed values 135 1 - v1 error format 136 2 - v2 error format 137 138Returns: 139 An object of the form: 140 141 { # Product data. 142 "attributes": { # Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116. # Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account. 143 "additionalImageLink": [ # The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. 144 { # An image. 145 "imageUrl": "A String", # 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. 146 "status": "A String", # The status of the image. @OutputOnly 147 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 148 }, 149 ], 150 "ageGroup": "A String", # The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. 151 "brand": "A String", # The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. 152 "capacity": { # The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. 153 "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. 154 "value": "A String", # The numeric value of the capacity. 155 }, 156 "color": "A String", # The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. 157 "count": { # The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count. # The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. 158 "unit": "A String", # The unit in which these products are counted. 159 "value": "A String", # The numeric value of the number of products in a package. 160 }, 161 "description": "A String", # The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. 162 "disclosureDate": "A String", # The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. 163 "excludedDestination": [ # A list of excluded destinations. 164 "A String", 165 ], 166 "featureDescription": [ # The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. 167 { # A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. 168 "headline": "A String", # A short description of the feature. 169 "image": { # An image. # An optional image describing the feature. 170 "imageUrl": "A String", # 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. 171 "status": "A String", # The status of the image. @OutputOnly 172 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 173 }, 174 "text": "A String", # A detailed description of the feature. 175 }, 176 ], 177 "flavor": "A String", # The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. 178 "format": "A String", # The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. 179 "gender": "A String", # The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. 180 "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. 181 "A String", 182 ], 183 "imageLink": { # An image. # The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. 184 "imageUrl": "A String", # 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. 185 "status": "A String", # The status of the image. @OutputOnly 186 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 187 }, 188 "includedDestination": [ # A list of included destinations. 189 "A String", 190 ], 191 "itemGroupId": "A String", # The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. 192 "material": "A String", # The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. 193 "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. 194 "pattern": "A String", # The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. 195 "productDetail": [ # The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. 196 { # A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. 197 "attributeName": "A String", # The name of the attribute. 198 "attributeValue": "A String", # The value of the attribute. 199 "sectionName": "A String", # A short section name that can be reused between multiple product details. 200 }, 201 ], 202 "productHighlight": [ # The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942 203 "A String", 204 ], 205 "productLine": "A String", # The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. 206 "productName": "A String", # The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. 207 "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. 208 "productType": [ # The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. 209 "A String", 210 ], 211 "releaseDate": "A String", # The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. 212 "richProductContent": [ # Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865 213 "A String", 214 ], 215 "scent": "A String", # The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. 216 "size": "A String", # The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. 217 "sizeSystem": "A String", # The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. 218 "sizeType": [ # The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. 219 "A String", 220 ], 221 "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. 222 "amount": "A String", # The numeric value of the price. 223 "currency": "A String", # The currency in which the price is denoted. 224 }, 225 "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data partners. 226 "theme": "A String", # The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. 227 "title": "A String", # The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. 228 "videoLink": [ # The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. 229 "A String", 230 ], 231 }, 232 "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code (for example, en). 233 "destinationStatuses": [ # The status of the destinations. 234 { # The destination status. 235 "destination": "A String", # The name of the destination. 236 "status": "A String", # The status of the destination. 237 }, 238 ], 239 "issues": [ # A server-generated list of issues associated with the product. 240 { # Product issue. 241 "attribute": "A String", # If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116. 242 "description": "A String", # Longer description of the issue focused on how to resolve it. 243 "destination": "A String", # The destination this issue applies to. 244 "resolution": "A String", # What needs to happen to resolve the issue. 245 "severity": "A String", # The severity of the issue. 246 "timestamp": "A String", # The timestamp when this issue appeared. 247 "title": "A String", # Short title describing the nature of the issue. 248 "type": "A String", # The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. 249 }, 250 ], 251 "name": "A String", # 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 "parent": "A String", # Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. 253 "productId": "A String", # The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. 254 "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example, US). 255}</pre> 256</div> 257 258<div class="method"> 259 <code class="details" id="list">list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)</code> 260 <pre>Lists all the products in a Manufacturer Center account. 261 262Args: 263 parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) 264 include: string, The information to be included in the response. Only sections listed here will be returned. (repeated) 265 Allowed values 266 UNKNOWN - Unknown, never used. 267 ATTRIBUTES - Include the attributes of the product. 268 ISSUES - Include the issues of the product. 269 DESTINATION_STATUSES - Include the destination statuses of the product. 270 pageSize: integer, Maximum number of product statuses to return in the response, used for paging. 271 pageToken: string, The token returned by the previous request. 272 x__xgafv: string, V1 error format. 273 Allowed values 274 1 - v1 error format 275 2 - v2 error format 276 277Returns: 278 An object of the form: 279 280 { 281 "nextPageToken": "A String", # The token for the retrieval of the next page of product statuses. 282 "products": [ # List of the products. 283 { # Product data. 284 "attributes": { # Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116. # Attributes of the product uploaded to the Manufacturer Center. Manually edited attributes are taken into account. 285 "additionalImageLink": [ # The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. 286 { # An image. 287 "imageUrl": "A String", # 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. 288 "status": "A String", # The status of the image. @OutputOnly 289 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 290 }, 291 ], 292 "ageGroup": "A String", # The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. 293 "brand": "A String", # The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. 294 "capacity": { # The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. 295 "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. 296 "value": "A String", # The numeric value of the capacity. 297 }, 298 "color": "A String", # The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. 299 "count": { # The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count. # The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. 300 "unit": "A String", # The unit in which these products are counted. 301 "value": "A String", # The numeric value of the number of products in a package. 302 }, 303 "description": "A String", # The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. 304 "disclosureDate": "A String", # The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. 305 "excludedDestination": [ # A list of excluded destinations. 306 "A String", 307 ], 308 "featureDescription": [ # The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. 309 { # A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. 310 "headline": "A String", # A short description of the feature. 311 "image": { # An image. # An optional image describing the feature. 312 "imageUrl": "A String", # 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. 313 "status": "A String", # The status of the image. @OutputOnly 314 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 315 }, 316 "text": "A String", # A detailed description of the feature. 317 }, 318 ], 319 "flavor": "A String", # The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. 320 "format": "A String", # The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. 321 "gender": "A String", # The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. 322 "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. 323 "A String", 324 ], 325 "imageLink": { # An image. # The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. 326 "imageUrl": "A String", # 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. 327 "status": "A String", # The status of the image. @OutputOnly 328 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 329 }, 330 "includedDestination": [ # A list of included destinations. 331 "A String", 332 ], 333 "itemGroupId": "A String", # The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. 334 "material": "A String", # The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. 335 "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. 336 "pattern": "A String", # The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. 337 "productDetail": [ # The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. 338 { # A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. 339 "attributeName": "A String", # The name of the attribute. 340 "attributeValue": "A String", # The value of the attribute. 341 "sectionName": "A String", # A short section name that can be reused between multiple product details. 342 }, 343 ], 344 "productHighlight": [ # The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942 345 "A String", 346 ], 347 "productLine": "A String", # The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. 348 "productName": "A String", # The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. 349 "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. 350 "productType": [ # The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. 351 "A String", 352 ], 353 "releaseDate": "A String", # The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. 354 "richProductContent": [ # Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865 355 "A String", 356 ], 357 "scent": "A String", # The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. 358 "size": "A String", # The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. 359 "sizeSystem": "A String", # The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. 360 "sizeType": [ # The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. 361 "A String", 362 ], 363 "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. 364 "amount": "A String", # The numeric value of the price. 365 "currency": "A String", # The currency in which the price is denoted. 366 }, 367 "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data partners. 368 "theme": "A String", # The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. 369 "title": "A String", # The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. 370 "videoLink": [ # The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. 371 "A String", 372 ], 373 }, 374 "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code (for example, en). 375 "destinationStatuses": [ # The status of the destinations. 376 { # The destination status. 377 "destination": "A String", # The name of the destination. 378 "status": "A String", # The status of the destination. 379 }, 380 ], 381 "issues": [ # A server-generated list of issues associated with the product. 382 { # Product issue. 383 "attribute": "A String", # If present, the attribute that triggered the issue. For more information about attributes, see https://support.google.com/manufacturers/answer/6124116. 384 "description": "A String", # Longer description of the issue focused on how to resolve it. 385 "destination": "A String", # The destination this issue applies to. 386 "resolution": "A String", # What needs to happen to resolve the issue. 387 "severity": "A String", # The severity of the issue. 388 "timestamp": "A String", # The timestamp when this issue appeared. 389 "title": "A String", # Short title describing the nature of the issue. 390 "type": "A String", # The server-generated type of the issue, for example, “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. 391 }, 392 ], 393 "name": "A String", # 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. 394 "parent": "A String", # Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. 395 "productId": "A String", # The ID of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#id. 396 "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example, US). 397 }, 398 ], 399}</pre> 400</div> 401 402<div class="method"> 403 <code class="details" id="list_next">list_next(previous_request, previous_response)</code> 404 <pre>Retrieves the next page of results. 405 406Args: 407 previous_request: The request for the previous page. (required) 408 previous_response: The response from the request for the previous page. (required) 409 410Returns: 411 A request object that you can call 'execute()' on to request the next 412 page. Returns None if there are no more items in the collection. 413 </pre> 414</div> 415 416<div class="method"> 417 <code class="details" id="update">update(parent, name, body=None, x__xgafv=None)</code> 418 <pre>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. 419 420Args: 421 parent: string, Parent ID in the format `accounts/{account_id}`. `account_id` - The ID of the Manufacturer Center account. (required) 422 name: string, 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. (required) 423 body: object, The request body. 424 The object takes the form of: 425 426{ # Attributes of the product. For more information, see https://support.google.com/manufacturers/answer/6124116. 427 "additionalImageLink": [ # The additional images of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#addlimage. 428 { # An image. 429 "imageUrl": "A String", # 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. 430 "status": "A String", # The status of the image. @OutputOnly 431 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 432 }, 433 ], 434 "ageGroup": "A String", # The target age group of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#agegroup. 435 "brand": "A String", # The brand name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#brand. 436 "capacity": { # The capacity of a product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. # The capacity of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#capacity. 437 "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. 438 "value": "A String", # The numeric value of the capacity. 439 }, 440 "color": "A String", # The color of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#color. 441 "count": { # The number of products in a single package. For more information, see https://support.google.com/manufacturers/answer/6124116#count. # The count of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#count. 442 "unit": "A String", # The unit in which these products are counted. 443 "value": "A String", # The numeric value of the number of products in a package. 444 }, 445 "description": "A String", # The description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#description. 446 "disclosureDate": "A String", # The disclosure date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#disclosure. 447 "excludedDestination": [ # A list of excluded destinations. 448 "A String", 449 ], 450 "featureDescription": [ # The rich format description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. 451 { # A feature description of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#featuredesc. 452 "headline": "A String", # A short description of the feature. 453 "image": { # An image. # An optional image describing the feature. 454 "imageUrl": "A String", # 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. 455 "status": "A String", # The status of the image. @OutputOnly 456 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 457 }, 458 "text": "A String", # A detailed description of the feature. 459 }, 460 ], 461 "flavor": "A String", # The flavor of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#flavor. 462 "format": "A String", # The format of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#format. 463 "gender": "A String", # The target gender of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gender. 464 "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#gtin. 465 "A String", 466 ], 467 "imageLink": { # An image. # The image of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#image. 468 "imageUrl": "A String", # 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. 469 "status": "A String", # The status of the image. @OutputOnly 470 "type": "A String", # The type of the image, i.e., crawled or uploaded. @OutputOnly 471 }, 472 "includedDestination": [ # A list of included destinations. 473 "A String", 474 ], 475 "itemGroupId": "A String", # The item group id of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#itemgroupid. 476 "material": "A String", # The material of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#material. 477 "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#mpn. 478 "pattern": "A String", # The pattern of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#pattern. 479 "productDetail": [ # The details of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. 480 { # A product detail of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productdetail. 481 "attributeName": "A String", # The name of the attribute. 482 "attributeValue": "A String", # The value of the attribute. 483 "sectionName": "A String", # A short section name that can be reused between multiple product details. 484 }, 485 ], 486 "productHighlight": [ # The product highlights. For more information, see https://support.google.com/manufacturers/answer/10066942 487 "A String", 488 ], 489 "productLine": "A String", # The name of the group of products related to the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productline. 490 "productName": "A String", # The canonical name of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productname. 491 "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#productpage. 492 "productType": [ # The type or category of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#producttype. 493 "A String", 494 ], 495 "releaseDate": "A String", # The release date of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#release. 496 "richProductContent": [ # Rich product content. For more information, see https://support.google.com/manufacturers/answer/9389865 497 "A String", 498 ], 499 "scent": "A String", # The scent of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#scent. 500 "size": "A String", # The size of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#size. 501 "sizeSystem": "A String", # The size system of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizesystem. 502 "sizeType": [ # The size type of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#sizetype. 503 "A String", 504 ], 505 "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#price. 506 "amount": "A String", # The numeric value of the price. 507 "currency": "A String", # The currency in which the price is denoted. 508 }, 509 "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data partners. 510 "theme": "A String", # The theme of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#theme. 511 "title": "A String", # The title of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#title. 512 "videoLink": [ # The videos of the product. For more information, see https://support.google.com/manufacturers/answer/6124116#video. 513 "A String", 514 ], 515} 516 517 x__xgafv: string, V1 error format. 518 Allowed values 519 1 - v1 error format 520 2 - v2 error format 521 522Returns: 523 An object of the form: 524 525 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`. 526}</pre> 527</div> 528 529</body></html>