Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Veja os diferentes tipos de IDs de produto na API Content for Shopping:
Código da oferta
Uma offerId é uma string atribuída a um produto por um comerciante. Esse código representa um produto individual.
O offerId é exclusivo para o conjunto de ofertas no banco de dados do Merchant Center e
geralmente é um número sequencial numérico.
offerId pode ser um número de SKU interno que um comerciante atribui ao produto.
ID da REST
O ID REST é o identificador exclusivo de um produto atribuído pelo Google.
O ID REST é o productId das chamadas da API REST.
Os IDs REST são agregados com o formato online:en:label:1111111111. O
ID REST consiste nas quatro partes a seguir, separadas por dois pontos:
Canal ("on-line" ou "local")
Idioma do conteúdo (usando a designação de duas letras, por exemplo, en ou fr)
Rótulo do feed (pode ser o código de duas letras do país de destino do feed, por exemplo, US ou FR)
Código da oferta
Você vai unir isso como channel:contentLanguage:feedLabel:offerId, por
exemplo, online:en:US:1111111111.
ID externo do vendedor (marketplaces)
Os marketplaces
precisam atribuir um external_seller_id às ofertas enviadas para uma conta de vários vendedores. Esse campo representa um vendedor individual.
Os valores external_seller_id diferenciam maiúsculas de minúsculas e precisam atender aos seguintes
critérios:
De 1 a 50 caracteres de comprimento
Somente caracteres ASCII alfanuméricos e sublinhado (_), hífen (-),
ponto (.) e til (~)
A tabela a seguir resume alguns dos IDs que podem ser associados a um
produto:
Atributo
Descrição
Exemplo
Observações
offerId
Um código atribuído a um produto por um comerciante.
1111111111
Tipo de dados de string, identificador exclusivo para a oferta de um produto.
ID da REST
Um código atribuído a um produto pelo Google. No formato channel:contentLanguage:feedLabel:offerId.
online:en:label:1111111111
ID completo, incluindo offerId.
productId
Usado para fazer referência ao ID REST nas chamadas de API.
online:en:label:1111111111
Esse é o código REST de um produto.
id
Mesmo valor que o ID REST e productId.
online:en:label:1111111111
Usado dentro do corpo JSON de um produto para se referir ao productId dele.
external_seller_id
Um ID do vendedor escolhido pelo Marketplace.
example-Seller1
Obrigatório para contas de vários vendedores. Precisa ter entre 1 e 50
caracteres. Diferencia maiúsculas de minúsculas. Os dígitos e os caracteres especiais _, -, . e ~
são aceitos.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-13 UTC."],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and represents the future of product data integration with Google.\u003c/p\u003e\n"],["\u003cp\u003eThe beta version of the Merchant API is now available for developers to explore and help shape its future development.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can learn more about the benefits and features of the Merchant API, including how it can enhance integrations, in the official announcement blog post.\u003c/p\u003e\n"],["\u003cp\u003eProducts in the Merchant API are identified using various IDs, such as \u003ccode\u003eofferId\u003c/code\u003e, REST ID, \u003ccode\u003eproductId\u003c/code\u003e, and \u003ccode\u003eexternal_seller_id\u003c/code\u003e, each with specific characteristics and usage contexts.\u003c/p\u003e\n"],["\u003cp\u003eA comprehensive table provides detailed explanations and examples of different product ID attributes, outlining their purpose and format.\u003c/p\u003e\n"]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. Merchants assign an `offerId` to products. Google assigns a unique REST ID in the format `channel:contentLanguage:feedLabel:offerId`; this is also the `productId` and `id` in API calls. Marketplaces assign `external_seller_id` to offers for multi-seller accounts, it has specific format requirements. The Merchant API offers integration improvements; details on this and providing feedback are available via a linked article.\n"],null,["# Product IDs\n\nHere are the different kinds of product IDs in the Content API for Shopping:\n\nOffer ID\n: An `offerId` is a string assigned to a product by a merchant. This ID\n represents an individual product.\n: `offerId` is unique to the set of offers in the Merchant Center database, and\n is usually a numeric sequential number.\n: `offerId` can be an internal SKU number that a merchant assigns to the product.\n\nREST ID\n: A REST ID is the unique identifier for a product assigned by Google.\n: REST ID is the `productId` for REST API calls.\n\n: REST IDs are aggregates with the format `online:en:label:1111111111`. The\n REST ID consists of the following 4 parts, separated by colons:\n\n 1. Channel (\"online\" or \"local\")\n 2. Content Language (using the 2-letter designation, for example `en` or `fr`)\n 3. Feed label (might be the two-letter code for the feed's target country, for example `US` or `FR`)\n 4. Offer ID\n\n: You put this together as `channel:contentLanguage:feedLabel:offerId`, for\n example, `online:en:US:1111111111`.\n\nExternal Seller ID (Marketplaces)\n\n: [Marketplaces](//support.google.com/merchants/answer/6363319)\n must assign an `external_seller_id` to offers uploaded to a multi-seller\n account. This field represents an individual seller.\n\n `external_seller_id` values are case-sensitive, and must meet the following\n criteria:\n\n - 1-50 characters in length\n - Only alphanumeric ASCII characters, and underscore (_), hyphen (-), period (.), and tilde (\\~)\n\n This isn't the same as the internal\n [`seller_id`](/shopping-content/reference/rest/v2.1/accounts) field.\n\nThe following table summarizes some of the IDs that can be associated with a\nproduct:\n\n| Attribute | Description | Example | Notes |\n|----------------------|---------------------------------------------------------------------------------------------------|------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| `offerId` | An ID assigned to a product by a merchant. | `1111111111` | String data type, unique identifier for a product's offer. |\n| REST ID | An ID assigned to a product by Google. In the format `channel:contentLanguage:feedLabel:offerId`. | `online:en:label:1111111111` | Full ID including `offerId`. |\n| `productId` | Used to refer to the REST ID in API calls. | `online:en:label:1111111111` | This is the REST ID of a product. |\n| `id` | Same value as REST ID and `productId`. | `online:en:label:1111111111` | Used inside JSON body of a product to refer to its `productId`. |\n| `external_seller_id` | A seller ID chosen by the Marketplace. | `example-Seller1` | Required for multi-seller accounts. Must be 1-50 characters. Case-sensitive. Digits, and special characters _, -, ., and \\~ are accepted. |"]]