What Google Shopping requires
In Google Merchant Center the EAN goes in the gtin attribute of your product data. Google uses GTINs to match your products with the right search results and to understand what you sell. When a product has a GTIN from its manufacturer, Google wants you to submit it.
Google checks a number of things automatically:
- The length and the check digit must be correct.
- Restricted prefixes are not accepted: 02, 04 and 20 to 29 are for internal use within a shop, and 05, 98 and 99 are for coupons.
- One GTIN per product variant: a different size or colour needs a different GTIN.
- The GTIN should belong to the product. Do not submit a GTIN that a product does not actually have.
When our codes fit, and when another option is better
Our EAN codes are valid EAN-13 numbers with a correct check digit and are not in the restricted ranges, so they pass Google's format checks. Every code is sold only once.
- Your own products with no barcode yet: if you give each variant one of our EANs and print that barcode on the product or packaging, the product then has a GTIN, and you can submit it.
- Products from another manufacturer: use the GTIN that is already on the packaging, not a new code.
- Own-brand or handmade products without a GTIN: Google also accepts brand plus MPN (your own article number). If neither is available, you can set identifier_exists to "no". Buying codes is not compulsory for Google Shopping.
Keep in mind that our codes are not registered to you in the GS1 database. Google mainly checks format and consistency, but we cannot promise how Google will treat every product.
Step by step: adding an EAN to your product feed
- Assign one EAN to each variant and record which code belongs to which product.
- In your feed (spreadsheet, Content API or shop plugin) fill in the gtin attribute with the 13 digits, without spaces.
- Fill in brand with the brand shown on the product. For unbranded goods follow Google's current guidance.
- For variants, link products with item_group_id and give each its own gtin, size and colour.
- Upload or sync the feed and check the Products overview in Merchant Center for warnings.
Using Shopify, WooCommerce or another shop system? Most have a barcode or GTIN field per variant that is passed on to Google through the sales channel or plugin.
Common errors and how to fix them
- Incorrect value [gtin] / invalid GTIN: usually a typing error, a missing leading zero or a wrong check digit. Copy the codes from the CSV or TXT file we send you.
- Restricted or reserved GTIN: the code starts with an internal or coupon prefix. Our codes do not, so check whether an old internal number ended up in the feed.
- Missing value [gtin]: Google thinks the product should have a GTIN. Add it, or if the product genuinely has none, submit brand plus MPN or set identifier_exists to "no".
- Same GTIN on several products: each variant needs its own code. Give every size and colour a separate EAN.
- Mismatched GTIN: the GTIN does not match the brand or product Google expects. For products from another manufacturer, use the original code.
How many codes do you need for Google Shopping?
One per variant in your feed. A shop with 40 products in an average of three colours needs about 120 codes. Choose a pack in our pack overview; codes do not expire with us. Also selling on Amazon? Read our page about EAN codes for Amazon, because the rules there are stricter for branded products.
FAQ
Do your EAN codes pass the checks in Google Merchant Center?
Yes, our codes are valid EAN-13 numbers with a correct check digit and do not use restricted prefixes. How Google treats a particular product also depends on your other product data.
Is a GTIN mandatory for Google Shopping?
Only when a product has one. Own-brand or handmade products without a GTIN can use brand plus MPN, or identifier_exists set to "no".
Can I use one EAN for all colours of a product?
No. Each variant needs its own GTIN. Link the variants with item_group_id.
I resell products from another brand. Should I buy codes?
No. Use the GTIN already printed on the manufacturer's packaging. Do not submit a new code for an existing product.
How do I fix "Incorrect value [gtin]"?
Check for typing errors, spaces or missing digits, and copy the code straight from the file we send. If the code is ours and you are sure it was entered correctly, send us the message.
