← All feed attributes

google_product_categoryoptional, exact, and better empty than wrong

Google Shopping attribute reference · updated 20 September 2026 · 4 min read

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.

Attributegoogle_product_category
RequirementOptional for each product, with three exceptions where it is required.
Format
  • Numeric id or full path from Google’s taxonomy; not both.
  • Path separator is > with spaces around it.
  • One value per product.

Google’s rules for google_product_category

Common mistakes, and the error each one becomes

Where the value comes from on a connected store

ShopifyMapped exactly from the product’s Shopify Category through Shopify’s published mapping onto Google’s taxonomy.
WooCommerceNot 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

Merchant Center errors on this attribute

Invalid value [google_product_category]Fix “Invalid value [google_product_category]” in Google Merchant Center
Warning
Missing value [color] / [size] / [gender] / [age_group]Fix “Missing value [color]”, [size], [gender] and [age_group] for apparel in Merchant Center
Product disapproved

Read next

Shopify Google Shopping feed: what syncs on its own, and what disapprovesShopify syncs to Merchant Center by itself — then the barcodes, the variants, the Markets prices and a thirty-day refresh window get in the way. What to fix, and how to check a store without installing anything.
7 min
Not sure what's wrong with your feed?Paste your feed URL and FeedRobin checks every product for missing barcodes, images, descriptions and more — free, no account needed.
Check my feed — it's free What it checks →