How to set Google Shopping product data in Shopify
By Michal Krkoska15 min read

I created a test product called "TEST guide product data" and Shopify suggested its category for me: "Product Customization in Product Add-Ons". It was meant to be a t-shirt. Shopify's guess was not even close.
That's the problem in one picture. Google needs a few facts about every product: what it is, its barcode, who it's for, its size and colour. Shopify has a place for each, but the places moved in the last two years, half the forum answers point at menus that no longer exist, and wrong guesses quietly go to Google.
This guide shows where each piece lives in Shopify today, how to fill it in for one product and for hundreds, and what only Merchant Center can do. One product takes 5 minutes. A catalogue is an afternoon, done once.
What Google needs, and where it lives in Shopify
Merchant Center is where Google keeps your product data; Shopify's Google & YouTube app sends it there. A metafield is an extra field on a product or variant. Category metafields are the ones Shopify adds when you pick a category. The "Google: ..." fields below are variant metafields the Google & YouTube app created in my store.
| Google attribute | Where to set it in Shopify | Required? |
|---|---|---|
| Google product category | Product page, Category field. Shopify translates it to Google's category. | Optional. Google assigns one automatically, but a correct Shopify category is what unlocks the right category metafields. |
| GTIN | Product page (or variant), Barcodes field, type GTIN, UPC, EAN or ISBN. | Recommended for every product that has a GTIN from its manufacturer. Products without one don't need it. |
| Brand | Product page, Vendor field. | Required for every product with a clear brand, including products you make yourself (then your store name is the brand). |
| MPN | Variant metafield Google: MPN. | Required for products without a manufacturer GTIN. Optional for custom-made products. |
| Identifier exists | Product metafield Google: Custom Product, set to true. | Recommended only for products with no identifiers at all, such as custom, handmade or vintage goods. |
| Condition | Variant metafield Google: Condition (new, refurbished, used). | Required for used and refurbished products. |
| Age group | Category metafield Age group, or variant metafield Google: Age Group. | Required for apparel and accessories in free listings everywhere, and in Shopping ads in Brazil, France, Germany, Japan, the UK and the US. |
| Gender | Category metafield Target gender, or variant metafield Google: Gender. | Required for apparel and accessories in free listings everywhere, and in Shopping ads in Brazil, France, Germany, Japan, the UK and the US. |
| Color | Category metafield Color. | Required for apparel and accessories in free listings everywhere, and in Shopping ads in Brazil, France, Germany, Japan, the UK and the US. |
| Size | Category metafield Size, or a Size variant option. | Required for clothing and shoes in free listings everywhere, and in Shopping ads in Brazil, France, Germany, Japan, the UK and the US. |
| Custom label 0 to 4 | Variant metafields Google: Custom Label 0 to Google: Custom Label 4. | Optional. Only you and Google Ads see them. |
The apparel rules come from Google's pages for age group, gender, color and size. In short: a t-shirt needs all four, a pair of shoes too, and a handbag needs age group, gender and colour but no size. A few small accessories, like keychains and tie clips, are exempt from age group and gender.
Step 1: Pick the right category
- In Shopify admin, click Products and open a product.
- Find the Category field under Media.
- If Shopify shows a suggestion, don't click Accept without reading it. Mine was wrong.
- Click the field and type what the product is, for example "t-shirts".
- Pick the most specific match. I chose T-Shirts in Clothing Tops, not T-Shirts in Baby & Children's Tops.
- Click Save.
You don't set Google's product category separately. Shopify's categories are built for channels like Google, and my "T-Shirts in Clothing Tops" went to Google as "Shirts & Tops". Google also assigns a category to every product automatically. The real reason to get the category right: it decides which fields Shopify offers you next.
Step 2: Fill in the category metafields (age group, gender, colour, size)
Once the category is saved, a Category metafields box appears lower on the product page. For a t-shirt it shows buttons like + Color, + Size, + Age group and + Target gender.
- Click + Age group. A row appears. Click Add and tick a value. I ticked Adults.
- Click + Target gender, then Add, and tick Female, Male or Unisex.
- Click + Color, then Add, and tick the colour.
- Click + Size, then Add, and tick the size.
- Click Save.
The first time you click one of these buttons, Shopify adds that field to your whole store. That's harmless.
Did it reach Google? Yes. On the channel mapping page (Step 5) my test product showed Age group: Adult, Target gender: Unisex, Color: Black and Size: M, all Resolved.
A store owner on the Google Ads forum had 270 products with colour and gender "listed in my product pages" that still arrived in Merchant Center without them (thread). In my experience the usual cause is that the values sit in the description or tags, not in these fields. Google doesn't read your description for this.
Step 3: Add the GTIN in the Barcodes field
A GTIN (Global Trade Item Number) is the number under a branded product's barcode: a 12-digit UPC in the US, a 13-digit EAN in Europe, an ISBN for books. Google uses it to match your product with the same product in other shops.
- On the product page, scroll to Inventory and open More details.
- Click the Barcodes field.
- Type the number.
- Click the type on the right (it says Custom by default) and choose GTIN, UPC, EAN or ISBN.
- Click Save.

Shopify sends the variant barcode to Google's GTIN field by default; mine appeared there straight away. Each variant needs its own barcode, and Google accepts 8, 12, 13 or 14 digits with a correct check digit; numbers starting with 2, 02 or 04 are rejected (Google's rules). Never invent a GTIN to make a warning go away.
Step 4: What to do when a product has no GTIN
Handmade, made to order, your own brand, vintage: lots of products never had a barcode, and Google knows that. Here is what I'd do:
| Your product | What to fill in |
|---|---|
| Branded product with a barcode | The GTIN in Barcodes. Nothing else. |
| Your own brand, no barcode | Your store name in Vendor as the brand, and a part number of your choice in Google: MPN. Leave the barcode empty. |
| Custom-made, one of a kind or vintage | Set Google: Custom Product to true. Leave barcode and MPN empty. |
The middle row is what Google's brand page asks for when you make a product yourself and are its only seller: your store name as the brand plus an MPN you choose, rather than the no-identifiers flag. Keep the flag for the last row.
Google: Custom Product is Shopify's name for Google's identifier exists attribute. True means "this product has no identifiers". Set it on a product that does have a GTIN and Google warns you anyway, so don't tick it on everything. It's a product metafield: find it under Product metafields on the product page, or as a bulk editor column.
"Limited performance due to missing value [gtin]" is a warning, not a ban
This is the message that sends people to the forums. It means Google thinks products in this category usually have a GTIN and yours didn't send one (Google's explanation). The product is not disapproved. It still shows, it just may show less often.
My opinion: if the product really has a barcode, add it, because it's free performance. If it really doesn't, set brand and MPN or the custom product flag as in the table above, and then ignore the warning. Don't spend a day fighting a yellow label on handmade candles.
One Shopify Community thread is worth knowing about. A store owner swore every product had its SKU and barcode filled in, and Google still said the GTIN was missing (thread). The usual culprits, in my experience: the number sits in the SKU field instead of Barcodes, it was typed into Merchant Center directly (the next Shopify sync overwrites it), or the product has variants and only one of them has the barcode.
Step 5: Check everything on the channel mapping page
The most useful screen in the whole job, and almost nobody mentions it. It shows exactly what Shopify sends to Google for one product.
- In Shopify admin, click Settings, then Apps. (Shopify's help page calls this menu Sales channels; some admins still show that name.)
- Click Google & YouTube.
- Scroll to Channel mapping and click Edit mappings.
- On the right, click the product name above the preview and pick the product you want to check.
The left side lists every Google field and its source: GTIN from Variant barcode, Brand from Product vendor, Custom label 0 from Google: Custom Label 0. The right side shows your product's values. Yellow means required and empty; my test t-shirt showed Size in yellow until I filled the Size category metafield.
You can change a source here to any product field, variant field or metafield, for example fill Custom label 1 from Product type. Shopify's help page says a mapping change applies to every product on that channel, so only do it on purpose.
Step 6: Set custom labels for bidding
Custom labels are five free text fields, numbered 0 to 4, that shoppers never see. Their only job is to let you split products into groups in Google Ads, so you can set different budgets and bids for each group. Google allows up to 1,000 different values per label (limits here).
To set one on a product:
- Open the product and scroll to Variant metafields.
- Click View all.
- Find Google: Custom Label 0 (it is under Unpinned), click Add, and type the value.
- Click Save.

Three ways I'd use them:
- Margin. Label 0 = "high margin", "low margin". You can afford to bid more on the first group. This is the most useful label for most shops.
- Bestsellers. Label 1 = "bestseller" for your top 10 to 20 products. Put them in their own campaign so they don't fight your long tail for budget.
- Season or clearance. Label 2 = "summer", "winter", "clearance". In September you lower bids on "summer" with one click instead of hunting through 400 products.
Write down what each number means. In six months nobody will remember that label 3 was "supplier B". Building the campaign groups is covered in my guide to setting up a Google Shopping campaign for Shopify. New or changed labels can take 24 to 48 hours to appear in Google Ads.
Step 7: Edit all of this in bulk
For 500 products you want the bulk editor. There are two of them, and that's the trick nobody tells you.
The product bulk editor handles category, barcodes and category metafields:
- Click Products, tick the products, and click Bulk edit.
- Click Columns (top right).
- Tick Product category. Under Category Metafields, tick Age group, Target gender, Color and Size.
- To get barcodes, tick Barcodes (each variant gets its own row).
- Edit the cells like a spreadsheet. You can copy a cell and paste it down a whole column. Click Save.
The variant bulk editor handles the "Google: ..." fields, including custom labels, condition and MPN. They don't appear in the product bulk editor's column list, which is why so many store owners think bulk editing custom labels is impossible. Shopify's metafield help page says variant metafields can be edited in bulk, but it doesn't say how to open them. What works in my admin is this address, with your own store name:
admin.shopify.com/store/YOUR-STORE/bulk?resource_name=ProductVariant&edit=metafields.mm-google-shopping.custom_label_0,metafields.mm-google-shopping.condition
Be clear about what this is: an admin address, not a documented feature. Shopify can change it at any time. When it works, you get one row per variant with a Google: Custom Label 0 and a Google: Condition column. Add more fields the same way: metafields.mm-google-shopping.custom_label_1 up to custom_label_4, and metafields.mm-google-shopping.mpn. Fill the cells, then click Save.
If the address stops working, use the documented route for custom labels instead: send them from a field you can bulk edit.
- Create your own product metafield, for example "Margin group": open any product, and in its Metafields section click Add definition (Shopify's steps).
- Fill it for all products in the product bulk editor (it appears under Metafields in Columns) or with a CSV, because Shopify's CSV help page supports product metafield columns.
- On the channel mapping page (Step 5), set Custom label 0 to come from that metafield.
This sends the same label for every variant of a product, which is fine for margin, bestsellers and season. Don't use the "Google Shopping / ..." columns in the product CSV for this: Shopify's CSV help page says the Google & YouTube channel doesn't use them.
For everything else in bulk, see my guide to bulk editing Shopify products with a CSV. Afterwards, check one product on the channel mapping page.
How long until Merchant Center sees the change?
You don't press anything. The Google & YouTube app syncs product changes automatically. In practice:
- Edits to existing products: I'd check Merchant Center the next day.
- New products: Shopify says Google reviews new products within 3 to 5 business days.
- Custom labels in Google Ads: up to 48 hours.
To see what Google thinks of a product, open Merchant Center, click Products & store, then Products, and open the Needs attention tab. It lists every product with a problem and the reason.
And one rule: fix data in Shopify, never by editing the product in Merchant Center. The next sync from Shopify overwrites anything you change there.
What you can't do from Shopify
Two jobs need Merchant Center itself:
- Rules that change many products at once, like "set custom label 2 to 'clearance' for everything under $10". Merchant Center calls these attribute rules. You need to add the Advanced data source management add-on under Settings, then Add-ons, and the rules live on each data source's Attribute rules tab (Google's steps).
- Data from another system, such as margin from your accounting tool. Put it in a Google Sheet with the product ID and the value, and add it as a supplemental data source: with the same add-on switched on, go to Settings, then Data sources, then the Supplemental sources tab (Google's steps). Supplemental sources add or overwrite single fields on products that already exist; they can't add new products.
Be careful with both: they silently overwrite what Shopify sends. Months later someone fixes a product in Shopify, nothing changes in Google, and nobody knows why. If Shopify can hold the data, keep it there.
Frequently asked questions
Where did the "Google fields" in the More actions menu go?
Shopify removed them. Product-level Google data now lives in metafields: the category metafields for age group, gender, colour and size, and the "Google: ..." variant metafields for condition, MPN and custom labels. The channel mapping page shows which field feeds which Google attribute.
Merchant Center says age group and gender are missing, but I set them. Why?
Open the product on the channel mapping page and look at the preview. If the values are empty there, they're stored somewhere Shopify doesn't send, like tags or the description, or only on some variants. If the preview shows them, wait a day for the sync and check again.
Do I need a GTIN for my own brand?
No. If you never registered barcodes with GS1, your products have no GTIN. Send your store name as the brand in Vendor and a part number you choose in Google: MPN, which is what Google asks for in this case. Mark one-of-a-kind or custom-made items as a custom product. Don't buy random barcodes to make the warning disappear.
Can I use a custom label for something shoppers see, like "on sale"?
No. Custom labels are never shown to shoppers. They only exist so you can group products in Google Ads. For a visible sale, use a compare-at price in Shopify.



