# Manufacturer Center API . accounts . products

## Instance Methods

Gets the product from a Manufacturer Center account, including product

Lists all the products in a Manufacturer Center account.

Retrieves the next page of results.

### Method Details

`get(parent=None, name=None, x__xgafv=None)`

    Gets the product from a Manufacturer Center account, including product
    issues.

    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:

        { # Product data.
        "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example,
            # US).
            # @OutputOnly
        "manuallyDeletedAttributes": [ # Names of the attributes of the product deleted manually via the
            # Manufacturer Center UI.
            # @OutputOnly
          "A String",
        ],
        "parent": "A String", # Parent ID in the format `accounts/{account_id}`.
            #
            # `account_id` - The ID of the Manufacturer Center account.
            # @OutputOnly
        "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code
            # (for example, en).
            # @OutputOnly
        "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.
            # @OutputOnly
        "manuallyProvidedAttributes": { # Attributes of the product. For more information, see # Attributes of the product provided manually via the Manufacturer Center UI.
            # @OutputOnly
            # https://support.google.com/manufacturers/answer/6124116.
          "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.
          "title": "A String", # The title of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#title.
          "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information,
              # see https://support.google.com/manufacturers/answer/6124116#mpn.
          "brand": "A String", # The brand name of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#brand.
          "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 manufacturer's detail page of the product. For more
              # information, see
              # https://support.google.com/manufacturers/answer/6124116#productpage.
          "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information,
              # see https://support.google.com/manufacturers/answer/6124116#gtin.
            "A String",
          ],
          "productType": [ # The manufacturer's category of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#producttype.
            "A String",
          ],
        },
        "finalAttributes": { # Attributes of the product. For more information, see # Final attributes of the product. The final attributes are obtained by
            # overriding the uploaded attributes with the manually provided and deleted
            # attributes. Google systems only process, evaluate, review, and/or use final
            # attributes.
            # @OutputOnly
            # https://support.google.com/manufacturers/answer/6124116.
          "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.
          "title": "A String", # The title of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#title.
          "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information,
              # see https://support.google.com/manufacturers/answer/6124116#mpn.
          "brand": "A String", # The brand name of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#brand.
          "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 manufacturer's detail page of the product. For more
              # information, see
              # https://support.google.com/manufacturers/answer/6124116#productpage.
          "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information,
              # see https://support.google.com/manufacturers/answer/6124116#gtin.
            "A String",
          ],
          "productType": [ # The manufacturer's category of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#producttype.
            "A String",
          ],
        },
        "uploadedAttributes": { # Attributes of the product. For more information, see # Attributes of the product uploaded via the Manufacturer Center API or via
            # feeds.
            # https://support.google.com/manufacturers/answer/6124116.
          "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.
          "title": "A String", # The title of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#title.
          "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information,
              # see https://support.google.com/manufacturers/answer/6124116#mpn.
          "brand": "A String", # The brand name of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#brand.
          "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 manufacturer's detail page of the product. For more
              # information, see
              # https://support.google.com/manufacturers/answer/6124116#productpage.
          "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information,
              # see https://support.google.com/manufacturers/answer/6124116#gtin.
            "A String",
          ],
          "productType": [ # The manufacturer's category of the product. For more information, see
              # https://support.google.com/manufacturers/answer/6124116#producttype.
            "A String",
          ],
        },
        "issues": [ # A server-generated list of issues associated with the product.
            # @OutputOnly
          { # 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.
            "type": "A String", # The server-generated type of the issue, for example,
                # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
            "severity": "A String", # The severity of the issue.
            "description": "A String", # Description of the issue.
          },
        ],
        "productId": "A String", # The ID of the product. For more information, see
            # https://support.google.com/manufacturers/answer/6124116#id.
            # @OutputOnly
      }

`list(parent=None, pageToken=None, x__xgafv=None, pageSize=None)`

    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)
      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
      pageSize: integer, Maximum number of product statuses to return in the response, used for
    paging.

    Returns:
      An object of the form:

        {
        "nextPageToken": "A String", # The token for the retrieval of the next page of product statuses.
        "products": [ # List of the products.
          { # Product data.
            "targetCountry": "A String", # The target country of the product as a CLDR territory code (for example,
                # US).
                # @OutputOnly
            "manuallyDeletedAttributes": [ # Names of the attributes of the product deleted manually via the
                # Manufacturer Center UI.
                # @OutputOnly
              "A String",
            ],
            "parent": "A String", # Parent ID in the format `accounts/{account_id}`.
                #
                # `account_id` - The ID of the Manufacturer Center account.
                # @OutputOnly
            "contentLanguage": "A String", # The content language of the product as a two-letter ISO 639-1 language code
                # (for example, en).
                # @OutputOnly
            "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.
                # @OutputOnly
            "manuallyProvidedAttributes": { # Attributes of the product. For more information, see # Attributes of the product provided manually via the Manufacturer Center UI.
                # @OutputOnly
                # https://support.google.com/manufacturers/answer/6124116.
              "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.
              "title": "A String", # The title of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#title.
              "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information,
                  # see https://support.google.com/manufacturers/answer/6124116#mpn.
              "brand": "A String", # The brand name of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#brand.
              "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 manufacturer's detail page of the product. For more
                  # information, see
                  # https://support.google.com/manufacturers/answer/6124116#productpage.
              "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information,
                  # see https://support.google.com/manufacturers/answer/6124116#gtin.
                "A String",
              ],
              "productType": [ # The manufacturer's category of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#producttype.
                "A String",
              ],
            },
            "finalAttributes": { # Attributes of the product. For more information, see # Final attributes of the product. The final attributes are obtained by
                # overriding the uploaded attributes with the manually provided and deleted
                # attributes. Google systems only process, evaluate, review, and/or use final
                # attributes.
                # @OutputOnly
                # https://support.google.com/manufacturers/answer/6124116.
              "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.
              "title": "A String", # The title of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#title.
              "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information,
                  # see https://support.google.com/manufacturers/answer/6124116#mpn.
              "brand": "A String", # The brand name of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#brand.
              "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 manufacturer's detail page of the product. For more
                  # information, see
                  # https://support.google.com/manufacturers/answer/6124116#productpage.
              "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information,
                  # see https://support.google.com/manufacturers/answer/6124116#gtin.
                "A String",
              ],
              "productType": [ # The manufacturer's category of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#producttype.
                "A String",
              ],
            },
            "uploadedAttributes": { # Attributes of the product. For more information, see # Attributes of the product uploaded via the Manufacturer Center API or via
                # feeds.
                # https://support.google.com/manufacturers/answer/6124116.
              "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.
              "title": "A String", # The title of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#title.
              "mpn": "A String", # The Manufacturer Part Number (MPN) of the product. For more information,
                  # see https://support.google.com/manufacturers/answer/6124116#mpn.
              "brand": "A String", # The brand name of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#brand.
              "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 manufacturer's detail page of the product. For more
                  # information, see
                  # https://support.google.com/manufacturers/answer/6124116#productpage.
              "gtin": [ # The Global Trade Item Number (GTIN) of the product. For more information,
                  # see https://support.google.com/manufacturers/answer/6124116#gtin.
                "A String",
              ],
              "productType": [ # The manufacturer's category of the product. For more information, see
                  # https://support.google.com/manufacturers/answer/6124116#producttype.
                "A String",
              ],
            },
            "issues": [ # A server-generated list of issues associated with the product.
                # @OutputOnly
              { # 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.
                "type": "A String", # The server-generated type of the issue, for example,
                    # “INCORRECT_TEXT_FORMATTING”, “IMAGE_NOT_SERVEABLE”, etc.
                "severity": "A String", # The severity of the issue.
                "description": "A String", # Description of the issue.
              },
            ],
            "productId": "A String", # The ID of the product. For more information, see
                # https://support.google.com/manufacturers/answer/6124116#id.
                # @OutputOnly
          },
        ],
      }

`list_next(previous_request, previous_response)`

    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.