ID [id]

The ID [id] attribute allows you and Google to identify your products and to distinguish each product from the others.

When to use

Required for each product

Format

Follow these formatting guidelines to make sure Google understands the data you're submitting.

For details on when and how to submit values in English, learn more about submitting your product data

Type Unicode characters (Recommended: ASCII only): alphanumeric, underscores, and dashes 
Limits 1–50 characters
Repeated field No
Schema.org property
(What's this?)
Product.sku, Type: Text
 
File format Example value
Text feeds tddy123uk
XML feeds <g:id>tddy123uk</g:id>


To format your data for Content API, see the Content API for Shopping.

Guidelines

Follow these guidelines to make sure you submit high-quality data for your products.

Minimum requirements

These are the requirements you'll need to meet to show your product. If you don't follow these requirements, we'll disapprove your product and let you know in the Diagnostics page in your Merchant Center account.

  • Submit a unique ID for each different product.
  • Use a stable ID for each product. Once you've assigned an ID to a product, don't change it. The ID you choose, in combination with country of sale and language, identifies the product, helps Google to retrieve any product-specific information, and is used to track the product's performance history in Merchant Center and Google Ads. If you change the ID, you'll overwrite your product and its history.
  • Use the same ID for the same product targeting different countries or different languages within the same country. Learn more about language requirements
    • If you target a multilingual country, like Switzerland, use the same ID for a product shared in each supported language such as German, French, and Italian.
    • If you target multiple countries, like the United States and Canada, use the same ID for a product shared between countries.
  • Don’t use casing to make IDs unique. While product IDs are case-sensitive in the Merchant Center, there may be cases in which two products with product IDs that differ only by casing are interpreted as the same product. For example, if you submit ID "abc123" for one product and ID "ABC123" for another, these offers may be confused in Google Ads filtering or there could be issues matching them across supplemental and primary feeds. Instead of casing, use unique combinations of letters and numbers to differentiate products.
  • Don’t reuse or recycle the same ID for different products. For example:
    • Don’t reuse an ID for different products in the same country of sale or language.
    • Don’t reuse an ID for products with variants. Each variant is a unique product and needs its unique ID.
    • Don’t reuse an ID if you sell a “promotion of the day.” IDs are linked to a product, not a promotion.
    • Don’t recycle an ID for new products. Even if you’re not selling a product anymore or the product is out of stock, don't use that product's ID for any other product.
  • Avoid white space. Consecutive white spaces and white spaces before and after the ID will be automatically removed.
  • Don't submit invalid unicode characters. These characters are generally added during your file's encoding process. To avoid them, use UTF-8 encoding. To help prevent encoding issues, submit files in a compressed format. Examples of invalid unicode characters include:
    • Control characters (for example, U+200D)
    • Function characters
    • Private area characters
    • Surrogate pairs
    • Unassigned code points

Best practices

These best practices can help you go beyond the basic requirements to optimize your product data for performance.

  • Use SKUs as IDs where possible. SKUs help us to understand the structure of your landing page. Since SKUs are unique, they can also help prevent you from accidentally reusing IDs.

Examples

Product without variants
Product data for an Android Squishable
Attribute Value
ID [id] 01ABC
Product with variants

Include a unique ID for each variant of the product. For example, if you have a parent SKU for a set of 4 variants of the same product, submit the parent SKU as the value for the item group ID [item_group_id] attribute and a unique ID based on the parent SKU for the ID [id] attribute.

Product data for red Google Malibu sunglasses
Attribute Value

Color [color]

Red

Item group ID [item_group_id]

12345

ID [id]

12345-R
   
Product data for green Google Malibu sunglasses
Attribute Value

Color [color]

Green

Item group ID [item_group_id]

12345

ID [id]

12345-G
   
Product data for yellow Google Malibu sunglasses
Attribute Value

Color [color]

Yellow

Item group ID [item_group_id]

12345

ID [id]

12345-Y
   
Product data for blue Google Malibu sunglasses
Attribute Value

Color [color]

Blue

Item group ID [item_group_id]

12345

ID [id]

12345-B
Same product submitted to multiple countries
Product data for an Android Squishable sold in the United States
Attribute Value
Country of sale United States
ID [id] 01ABC
   
Product data for an Android Squishable sold in Canada
Attribute Value
Country of sale Canada
ID [id] 01ABC
Was this helpful?
How can we improve it?

Need more help?

Sign in for additional support options to quickly solve your issue

true
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
71525
false