Short answer. Merchant Center reports “Invalid value [google_product_category]” when the value is not a numeric id or a full path from Google’s product taxonomy: your own category names, partial paths and mixed id-plus-path values all fail. Use the exact id or the exact path, or remove the attribute, because Google assigns a category automatically and the attribute is optional for most products.
| Shown in Merchant Center as | Invalid value [google_product_category] |
|---|---|
| Attribute | google_product_category |
| Effect | Warning |
| Where to find it | Products → Needs attention, then filter by this issue |
| Free check | Reported by the free feed check |
What Merchant Center means by “Invalid value [google_product_category]”
google_product_category places a product in Google’s own taxonomy, and its specification is strict about form: either the numeric id of a category or the full path from the top (2271 or Apparel & Accessories > Clothing > Dresses), and not both. Your own category names, a partial path, a path with the wrong separator or a misspelt level are all “Invalid value [google_product_category]”, listed among the data quality issues.
The same page makes the attribute optional for most products, because Google assigns every product a category automatically from its title, description, brand and GTIN. It becomes necessary when the automatic guess is wrong for a category that has extra requirements, when you target campaigns by category, and for some alcohol products. So an invalid value is often worth removing rather than fixing.
Why it happens
- Store categories exported as Google’s. “Womens > Tops > Summer” is your taxonomy, not Google’s.
- Partial paths.
Clothing > Dresseswithout the top level. - Id and path together, or an id from an old taxonomy version.
- Separator and encoding. A slash instead of
>, or&written asand. - A translated path when the feed targets a country whose taxonomy language differs from the one you copied.
How to fix it
In Shopify
Set the product’s Category in Shopify, from Shopify’s standard product taxonomy. Shopify publishes the mapping from its taxonomy onto Google’s, so a connected store gets the exact Google value with nothing to type; Shopify’s own channel does the same. Do not paste Google paths into a product type or tag and map that: the type field is free text and drifts.
In WooCommerce
WooCommerce categories are your own words, and there is no built-in mapping onto Google’s. Either maintain a mapping table in your feed plugin (category → Google id, top two levels are usually enough) or leave the attribute out and let Google assign. Our free connector does not send the attribute at all, on the principle that an empty field is better than a guessed one.
In a CSV or XML feed
Download Google’s current taxonomy for the feed’s language and country, and for each row either write the exact numeric id or the exact full path, copied not typed. Rows you cannot map reliably should have the cell emptied; Google’s automatic category is better than a wrong one. Check that the column uses > with spaces around it as the separator.
How long until Merchant Center clears it
Valid values, or removed ones, are processed on the next fetch and the issue clears within 24–72 hours. If products then land in the wrong automatic category, that surfaces as new attribute requirements (apparel needing sizes, for instance), which is your cue to set the value deliberately for that group.
What FeedRobin does about it
The free check counts products with no Google product category, as an advisory finding that never affects the score: a feed is valid without it. It does not validate the values against the taxonomy. We never invent a category from your own words, because guessing Google’s branch puts products in the wrong aisle; for a connected Shopify store we fill the value exactly from Shopify’s published mapping, and for a URL or file source we pass through what your file states. The dashboard tells a Shopify merchant which products still have no Category set, which is the one field to fill.
Questions merchants ask
Should I send the id or the path?
Either, but not both in one value. The id (for example 2271) survives taxonomy renames; the path (Apparel & Accessories > Clothing > Dresses) is readable in the feed. Whichever you send has to match Google’s published taxonomy exactly.
Is the attribute required?
Optional for most products. Google assigns every product a category automatically. It becomes required when the automatic assignment is wrong for a category with mandatory attributes, when you target campaigns by category, and for some alcohol products.
Can I map my WooCommerce or Shopify categories to Google’s?
Shopify assigns every product a taxonomy node and publishes the mapping onto Google’s, so a connected Shopify store gets the exact value. WooCommerce categories are your own words and need a mapping table; without one, leaving the field empty is safer than guessing.
Sources
- Google product category [google_product_category] — Google Merchant Center Help
- Fixing Merchant Center disapprovals for product data quality violations — Google Merchant Center Help
- Product issues (Content API for Shopping): the issue codes and the titles Merchant Center shows — Google Merchant Center Help