Short answer. google_product_category places a product in Google’s taxonomy, as either the numeric id or the full path (2271, or Apparel & Accessories > Clothing > Dresses), never both. It is optional for most products because Google assigns 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.
| Attribute | google_product_category |
|---|---|
| Requirement | Optional for each product, with three exceptions where it is required. |
| Format |
|
Google’s rules for google_product_category
- Use the most specific category that fits.
- Copy values from Google’s published taxonomy for the feed’s language; do not type them.
- Good titles, descriptions, brand and GTIN improve the automatic assignment.
Common mistakes, and the error each one becomes
- Your own category names in the field. → Invalid value [google_product_category]
- A partial path or the wrong separator. → Invalid value [google_product_category]
- A category that pulls a non-clothing product into apparel, creating attribute requirements. → Missing value [color] / [size] / [gender] / [age_group]
Where the value comes from on a connected store
| Shopify | Mapped exactly from the product’s Shopify Category through Shopify’s published mapping onto Google’s taxonomy. |
|---|---|
| WooCommerce | Not sent by the plugin, on the principle that an empty field beats a guessed one; WooCommerce categories are your own words. |
The free feed check reads this attribute from any feed file and reports the defects above; every check is listed.
Questions merchants ask
Id or path?
Either, but not both in one value. The id survives taxonomy renames; the path is readable. Both must match the published taxonomy exactly.
What does Google do when I leave it out?
Assigns a category automatically from your product data. For most catalogues that is accurate enough, and it is always better than a wrong value.
Is product_type the same thing?
No. product_type is your own categorisation, used for organising campaigns; google_product_category is Google’s taxonomy.
Sources
- Google product category [google_product_category] — Google Merchant Center Help
- Fixing Merchant Center disapprovals for product data quality violations — Google Merchant Center Help