| <html><body> |
| <style> |
| |
| body, h1, h2, h3, div, span, p, pre, a { |
| margin: 0; |
| padding: 0; |
| border: 0; |
| font-weight: inherit; |
| font-style: inherit; |
| font-size: 100%; |
| font-family: inherit; |
| vertical-align: baseline; |
| } |
| |
| body { |
| font-size: 13px; |
| padding: 1em; |
| } |
| |
| h1 { |
| font-size: 26px; |
| margin-bottom: 1em; |
| } |
| |
| h2 { |
| font-size: 24px; |
| margin-bottom: 1em; |
| } |
| |
| h3 { |
| font-size: 20px; |
| margin-bottom: 1em; |
| margin-top: 1em; |
| } |
| |
| pre, code { |
| line-height: 1.5; |
| font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| } |
| |
| pre { |
| margin-top: 0.5em; |
| } |
| |
| h1, h2, h3, p { |
| font-family: Arial, sans serif; |
| } |
| |
| h1, h2, h3 { |
| border-bottom: solid #CCC 1px; |
| } |
| |
| .toc_element { |
| margin-top: 0.5em; |
| } |
| |
| .firstline { |
| margin-left: 2 em; |
| } |
| |
| .method { |
| margin-top: 1em; |
| border: solid 1px #CCC; |
| padding: 1em; |
| background: #EEE; |
| } |
| |
| .details { |
| font-weight: bold; |
| font-size: 14px; |
| } |
| |
| </style> |
| |
| <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> |
| <h2>Instance Methods</h2> |
| <p class="toc_element"> |
| <code><a href="#delete">delete(parent, name, x__xgafv=None)</a></code></p> |
| <p class="firstline">Deletes the product from a Manufacturer Center account.</p> |
| <p class="toc_element"> |
| <code><a href="#get">get(parent, name, include=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Gets the product from a Manufacturer Center account, including product</p> |
| <p class="toc_element"> |
| <code><a href="#list">list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Lists all the products in a Manufacturer Center account.</p> |
| <p class="toc_element"> |
| <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| <p class="firstline">Retrieves the next page of results.</p> |
| <p class="toc_element"> |
| <code><a href="#update">update(parent, name, body=None, x__xgafv=None)</a></code></p> |
| <p class="firstline">Inserts or updates the attributes of the product in a Manufacturer Center</p> |
| <h3>Method Details</h3> |
| <div class="method"> |
| <code class="details" id="delete">delete(parent, name, x__xgafv=None)</code> |
| <pre>Deletes the product from a Manufacturer Center account. |
| |
| Args: |
| parent: string, Parent ID in the format `accounts/{account_id}`. |
| |
| `account_id` - The ID of the Manufacturer Center account. (required) |
| 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) |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # 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 `{}`. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="get">get(parent, name, include=None, x__xgafv=None)</code> |
| <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. |
| |
| Args: |
| parent: string, Parent ID in the format `accounts/{account_id}`. |
| |
| `account_id` - The ID of the Manufacturer Center account. (required) |
| 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) |
| include: string, The information to be included in the response. Only sections listed here |
| will be returned. (repeated) |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # Product data. |
| "parent": "A String", # Parent ID in the format `accounts/{account_id}`. |
| # |
| # `account_id` - The ID of the Manufacturer Center account. |
| "issues": [ # A server-generated list of issues associated with the product. |
| { # Product issue. |
| "attribute": "A String", # If present, the attribute that triggered the issue. For more information |
| # about attributes, see |
| # https://support.google.com/manufacturers/answer/6124116. |
| "destination": "A String", # The destination this issue applies to. |
| "title": "A String", # Short title describing the nature of the issue. |
| "description": "A String", # Longer description of the issue focused on how to resolve it. |
| "resolution": "A String", # What needs to happen to resolve the issue. |
| "type": "A String", # The server-generated type of the issue, for example, |
| # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. |
| "timestamp": "A String", # The timestamp when this issue appeared. |
| "severity": "A String", # The severity of the issue. |
| }, |
| ], |
| "productId": "A String", # The ID of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#id. |
| "attributes": { # Attributes of the product. For more information, see # Attributes of the product uploaded to the Manufacturer Center. Manually |
| # edited attributes are taken into account. |
| # https://support.google.com/manufacturers/answer/6124116. |
| "productName": "A String", # The canonical name of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productname. |
| "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productpage. |
| "releaseDate": "A String", # The release date of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#release. |
| "imageLink": { # An image. # The image of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#image. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| "count": { # The number of products in a single package. For more information, see # The count of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#count. |
| # https://support.google.com/manufacturers/answer/6124116#count. |
| "unit": "A String", # The unit in which these products are counted. |
| "value": "A String", # The numeric value of the number of products in a package. |
| }, |
| "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#gtin. |
| "A String", |
| ], |
| "color": "A String", # The color of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#color. |
| "title": "A String", # The title of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#title. |
| "sizeType": "A String", # The size type of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#sizetype. |
| "productDetail": [ # The details of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productdetail. |
| { # A product detail of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productdetail. |
| "sectionName": "A String", # A short section name that can be reused between multiple product details. |
| "attributeName": "A String", # The name of the attribute. |
| "attributeValue": "A String", # The value of the attribute. |
| }, |
| ], |
| "featureDescription": [ # The rich format description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#featuredesc. |
| { # A feature description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#featuredesc. |
| "headline": "A String", # A short description of the feature. |
| "image": { # An image. # An optional image describing the feature. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| "text": "A String", # A detailed description of the feature. |
| }, |
| ], |
| "includedDestination": [ # A list of included destinations. |
| "A String", |
| ], |
| "videoLink": [ # The videos of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#video. |
| "A String", |
| ], |
| "gender": "A String", # The target gender of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#gender. |
| "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. |
| "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data |
| # partners. |
| "scent": "A String", # The scent of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#scent. |
| "excludedDestination": [ # A list of excluded destinations. |
| "A String", |
| ], |
| "itemGroupId": "A String", # The item group id of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#itemgroupid. |
| "size": "A String", # The size of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#size. |
| "theme": "A String", # The theme of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#theme. |
| "description": "A String", # The description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#description. |
| "richProductContent": [ # Rich product content. For more information, see |
| # https://support.google.com/manufacturers/answer/9389865 |
| "A String", |
| ], |
| "brand": "A String", # The brand name of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#brand. |
| "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#mpn. |
| "disclosureDate": "A String", # The disclosure date of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#disclosure. |
| "material": "A String", # The material of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#material. |
| "productType": [ # The type or category of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#producttype. |
| "A String", |
| ], |
| "capacity": { # The capacity of a product. For more information, see # The capacity of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#capacity. |
| # https://support.google.com/manufacturers/answer/6124116#capacity. |
| "value": "A String", # The numeric value of the capacity. |
| "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. |
| }, |
| "format": "A String", # The format of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#format. |
| "pattern": "A String", # The pattern of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#pattern. |
| "ageGroup": "A String", # The target age group of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#agegroup. |
| "additionalImageLink": [ # The additional images of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#addlimage. |
| { # An image. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| ], |
| "sizeSystem": "A String", # The size system of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#sizesystem. |
| "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#price. |
| "currency": "A String", # The currency in which the price is denoted. |
| "amount": "A String", # The numeric value of the price. |
| }, |
| "flavor": "A String", # The flavor of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#flavor. |
| }, |
| "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code |
| # (for example, en). |
| "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example, |
| # US). |
| "destinationStatuses": [ # The status of the destinations. |
| { # The destination status. |
| "status": "A String", # The status of the destination. |
| "destination": "A String", # The name of the destination. |
| }, |
| ], |
| "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. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="list">list(parent, include=None, pageSize=None, pageToken=None, x__xgafv=None)</code> |
| <pre>Lists all the products in a Manufacturer Center account. |
| |
| Args: |
| parent: string, Parent ID in the format `accounts/{account_id}`. |
| |
| `account_id` - The ID of the Manufacturer Center account. (required) |
| include: string, The information to be included in the response. Only sections listed here |
| will be returned. (repeated) |
| pageSize: integer, Maximum number of product statuses to return in the response, used for |
| paging. |
| pageToken: string, The token returned by the previous request. |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { |
| "products": [ # List of the products. |
| { # Product data. |
| "parent": "A String", # Parent ID in the format `accounts/{account_id}`. |
| # |
| # `account_id` - The ID of the Manufacturer Center account. |
| "issues": [ # A server-generated list of issues associated with the product. |
| { # Product issue. |
| "attribute": "A String", # If present, the attribute that triggered the issue. For more information |
| # about attributes, see |
| # https://support.google.com/manufacturers/answer/6124116. |
| "destination": "A String", # The destination this issue applies to. |
| "title": "A String", # Short title describing the nature of the issue. |
| "description": "A String", # Longer description of the issue focused on how to resolve it. |
| "resolution": "A String", # What needs to happen to resolve the issue. |
| "type": "A String", # The server-generated type of the issue, for example, |
| # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc. |
| "timestamp": "A String", # The timestamp when this issue appeared. |
| "severity": "A String", # The severity of the issue. |
| }, |
| ], |
| "productId": "A String", # The ID of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#id. |
| "attributes": { # Attributes of the product. For more information, see # Attributes of the product uploaded to the Manufacturer Center. Manually |
| # edited attributes are taken into account. |
| # https://support.google.com/manufacturers/answer/6124116. |
| "productName": "A String", # The canonical name of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productname. |
| "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productpage. |
| "releaseDate": "A String", # The release date of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#release. |
| "imageLink": { # An image. # The image of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#image. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| "count": { # The number of products in a single package. For more information, see # The count of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#count. |
| # https://support.google.com/manufacturers/answer/6124116#count. |
| "unit": "A String", # The unit in which these products are counted. |
| "value": "A String", # The numeric value of the number of products in a package. |
| }, |
| "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#gtin. |
| "A String", |
| ], |
| "color": "A String", # The color of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#color. |
| "title": "A String", # The title of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#title. |
| "sizeType": "A String", # The size type of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#sizetype. |
| "productDetail": [ # The details of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productdetail. |
| { # A product detail of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productdetail. |
| "sectionName": "A String", # A short section name that can be reused between multiple product details. |
| "attributeName": "A String", # The name of the attribute. |
| "attributeValue": "A String", # The value of the attribute. |
| }, |
| ], |
| "featureDescription": [ # The rich format description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#featuredesc. |
| { # A feature description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#featuredesc. |
| "headline": "A String", # A short description of the feature. |
| "image": { # An image. # An optional image describing the feature. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| "text": "A String", # A detailed description of the feature. |
| }, |
| ], |
| "includedDestination": [ # A list of included destinations. |
| "A String", |
| ], |
| "videoLink": [ # The videos of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#video. |
| "A String", |
| ], |
| "gender": "A String", # The target gender of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#gender. |
| "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. |
| "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data |
| # partners. |
| "scent": "A String", # The scent of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#scent. |
| "excludedDestination": [ # A list of excluded destinations. |
| "A String", |
| ], |
| "itemGroupId": "A String", # The item group id of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#itemgroupid. |
| "size": "A String", # The size of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#size. |
| "theme": "A String", # The theme of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#theme. |
| "description": "A String", # The description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#description. |
| "richProductContent": [ # Rich product content. For more information, see |
| # https://support.google.com/manufacturers/answer/9389865 |
| "A String", |
| ], |
| "brand": "A String", # The brand name of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#brand. |
| "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#mpn. |
| "disclosureDate": "A String", # The disclosure date of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#disclosure. |
| "material": "A String", # The material of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#material. |
| "productType": [ # The type or category of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#producttype. |
| "A String", |
| ], |
| "capacity": { # The capacity of a product. For more information, see # The capacity of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#capacity. |
| # https://support.google.com/manufacturers/answer/6124116#capacity. |
| "value": "A String", # The numeric value of the capacity. |
| "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. |
| }, |
| "format": "A String", # The format of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#format. |
| "pattern": "A String", # The pattern of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#pattern. |
| "ageGroup": "A String", # The target age group of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#agegroup. |
| "additionalImageLink": [ # The additional images of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#addlimage. |
| { # An image. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| ], |
| "sizeSystem": "A String", # The size system of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#sizesystem. |
| "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#price. |
| "currency": "A String", # The currency in which the price is denoted. |
| "amount": "A String", # The numeric value of the price. |
| }, |
| "flavor": "A String", # The flavor of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#flavor. |
| }, |
| "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code |
| # (for example, en). |
| "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example, |
| # US). |
| "destinationStatuses": [ # The status of the destinations. |
| { # The destination status. |
| "status": "A String", # The status of the destination. |
| "destination": "A String", # The name of the destination. |
| }, |
| ], |
| "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. |
| }, |
| ], |
| "nextPageToken": "A String", # The token for the retrieval of the next page of product statuses. |
| }</pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| <pre>Retrieves the next page of results. |
| |
| Args: |
| previous_request: The request for the previous page. (required) |
| previous_response: The response from the request for the previous page. (required) |
| |
| Returns: |
| A request object that you can call 'execute()' on to request the next |
| page. Returns None if there are no more items in the collection. |
| </pre> |
| </div> |
| |
| <div class="method"> |
| <code class="details" id="update">update(parent, name, body=None, x__xgafv=None)</code> |
| <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. |
| |
| Args: |
| parent: string, Parent ID in the format `accounts/{account_id}`. |
| |
| `account_id` - The ID of the Manufacturer Center account. (required) |
| 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) |
| body: object, The request body. |
| The object takes the form of: |
| |
| { # Attributes of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116. |
| "productName": "A String", # The canonical name of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productname. |
| "productPageUrl": "A String", # The URL of the detail page of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productpage. |
| "releaseDate": "A String", # The release date of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#release. |
| "imageLink": { # An image. # The image of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#image. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| "count": { # The number of products in a single package. For more information, see # The count of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#count. |
| # https://support.google.com/manufacturers/answer/6124116#count. |
| "unit": "A String", # The unit in which these products are counted. |
| "value": "A String", # The numeric value of the number of products in a package. |
| }, |
| "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#gtin. |
| "A String", |
| ], |
| "color": "A String", # The color of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#color. |
| "title": "A String", # The title of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#title. |
| "sizeType": "A String", # The size type of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#sizetype. |
| "productDetail": [ # The details of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productdetail. |
| { # A product detail of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#productdetail. |
| "sectionName": "A String", # A short section name that can be reused between multiple product details. |
| "attributeName": "A String", # The name of the attribute. |
| "attributeValue": "A String", # The value of the attribute. |
| }, |
| ], |
| "featureDescription": [ # The rich format description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#featuredesc. |
| { # A feature description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#featuredesc. |
| "headline": "A String", # A short description of the feature. |
| "image": { # An image. # An optional image describing the feature. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| "text": "A String", # A detailed description of the feature. |
| }, |
| ], |
| "includedDestination": [ # A list of included destinations. |
| "A String", |
| ], |
| "videoLink": [ # The videos of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#video. |
| "A String", |
| ], |
| "gender": "A String", # The target gender of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#gender. |
| "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. |
| "targetClientId": "A String", # The target client id. Should only be used in the accounts of the data |
| # partners. |
| "scent": "A String", # The scent of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#scent. |
| "excludedDestination": [ # A list of excluded destinations. |
| "A String", |
| ], |
| "itemGroupId": "A String", # The item group id of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#itemgroupid. |
| "size": "A String", # The size of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#size. |
| "theme": "A String", # The theme of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#theme. |
| "description": "A String", # The description of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#description. |
| "richProductContent": [ # Rich product content. For more information, see |
| # https://support.google.com/manufacturers/answer/9389865 |
| "A String", |
| ], |
| "brand": "A String", # The brand name of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#brand. |
| "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#mpn. |
| "disclosureDate": "A String", # The disclosure date of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#disclosure. |
| "material": "A String", # The material of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#material. |
| "productType": [ # The type or category of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#producttype. |
| "A String", |
| ], |
| "capacity": { # The capacity of a product. For more information, see # The capacity of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#capacity. |
| # https://support.google.com/manufacturers/answer/6124116#capacity. |
| "value": "A String", # The numeric value of the capacity. |
| "unit": "A String", # The unit of the capacity, i.e., MB, GB, or TB. |
| }, |
| "format": "A String", # The format of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#format. |
| "pattern": "A String", # The pattern of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#pattern. |
| "ageGroup": "A String", # The target age group of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#agegroup. |
| "additionalImageLink": [ # The additional images of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#addlimage. |
| { # An image. |
| "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. |
| "type": "A String", # The type of the image, i.e., crawled or uploaded. |
| # @OutputOnly |
| "status": "A String", # The status of the image. |
| # @OutputOnly |
| }, |
| ], |
| "sizeSystem": "A String", # The size system of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#sizesystem. |
| "suggestedRetailPrice": { # A price. # The suggested retail price (MSRP) of the product. For more information, |
| # see https://support.google.com/manufacturers/answer/6124116#price. |
| "currency": "A String", # The currency in which the price is denoted. |
| "amount": "A String", # The numeric value of the price. |
| }, |
| "flavor": "A String", # The flavor of the product. For more information, see |
| # https://support.google.com/manufacturers/answer/6124116#flavor. |
| } |
| |
| x__xgafv: string, V1 error format. |
| Allowed values |
| 1 - v1 error format |
| 2 - v2 error format |
| |
| Returns: |
| An object of the form: |
| |
| { # 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 `{}`. |
| }</pre> |
| </div> |
| |
| </body></html> |