google_product_category is a product category from a list prepared by Google – the so-called taxonomy. In a feed, you write it as the category number, for example 1022 for tents, or as the full path. It helps Google better understand what you are selling and apply the rules that are valid for that category.
What is google_product_category
Imagine a huge warehouse where every shelf has a fixed number and nobody can rename it. That is what Google's taxonomy is like: a single tree of more than 5,500 categories, the same for every shop in the world. Each category has a number (ID) that is the same in every language, and a name translated into many languages.
Unlike product_type, where you write your own names, here you choose from a list.
What it looks like in a feed
<!-- as a number (recommended) -->
<g:google_product_category>1022</g:google_product_category>
<!-- or as the full path -->
<g:google_product_category>Sporting Goods > Outdoor Recreation > Camping & Hiking > Tents</g:google_product_category>Both examples mean the same "Tents" category. The number is shorter and doesn't depend on language or typos.
What it is used for
- Google can now assign a category on its own, so the field is optional for most products. It is required for certain types of goods, such as alcohol or gift cards.
- More precise rules. The category tells Google whether to ask you for things like colour, size and gender for clothing.
- Meta, Microsoft, TikTok and Pinterest use the same taxonomy, so one assignment serves several channels.
- The category list is public; Google publishes it as a text file and as a spreadsheet.
What to watch out for
- A category that is too general, such as "Sporting Goods". Choose the most specific one that still fits exactly.
- Your own text instead of the taxonomy. The value must be an ID or the exact path from Google's list.
- Several categories at once. The field accepts only one value.
- Changes to the taxonomy. Google occasionally renames or removes categories, so your assignments need checking.
How Sortyra helps
In Categories, you assign your categories (or the supplier's categories) to Google categories once for the whole category, and the assignment also applies to new products. The category number is written to the output for Google. If Google removes a category, the assignment is removed and you receive a notification.
Related terms
- product_type – your own category
- CATEGORYTEXT for Heureka
- Google Merchant Center
- Gender – gender
- Longer articles: Product categories and category trees, Categories in Sortyra
Frequently asked questions
Is google_product_category required?
Not for most products, as Google assigns the category itself. It is only required for selected types of goods, such as alcohol and gift cards.
Where can I find Google's category numbers?
In the official taxonomy list that Google publishes in the Merchant Center Help. Each line contains a category number and its path: Google taxonomy.
Should I use the number or the name of the category?
The number is recommended. It is unambiguous and doesn't depend on the language of the feed.