Google Shopping Rules for Shopify (Auto-Assign Product Fields)
Google Shopping rules let you automatically assign the right Google product fields to your Shopify products without editing them one by one. Instead of hand-tagging hundreds of products, you write a rule once — "when a product matches these conditions, give it this Google value" — and the app applies it across your whole catalog. You can drive five fields this way: Google product category, gender, age group, color and condition. Getting these right is what keeps your Google Merchant Center feed complete and your products approved, so this guide walks through building a rule from scratch.
1 Pick which Google field to set
From the dashboard, open the Google rules section and choose the field you want to automate. There's a tab for each one: Product category, Gender, Age group, Color and Condition. Each field has its own independent set of rules, so you might have a handful of category rules and just one or two condition rules. Switch tabs any time to manage a different field — your rules for the others stay exactly as you left them.
2 Add a new rule
On the field's page you'll see a table of existing rules (empty if this is your first time) plus a list of how your products are currently grouped for that field. Click Add a Google [field] rule in the top bar to create one. The app opens the rule editor where you'll define what to match and what value to assign.
3 Choose whether to overwrite existing values
At the top of the editor, the Overwrite existing setting decides what happens when a product already has a value for this field. Do NOT overwrite existing only fills in products that are still blank — safest if you've already set some values by hand. Do overwrite existing replaces whatever is there with this rule's value. Pick do not overwrite when you're back-filling gaps, and overwrite when this rule should be the single source of truth.
4 Set AND / OR matching
Right below that, Matching rules controls how multiple conditions combine. Must match all rules (AND) means a product has to satisfy every condition before the value is assigned — use it to target a precise slice (e.g. tagged kids and priced under $20). Must match at least one rule (OR) assigns the value if any single condition is true — use it to catch a broad group (e.g. tagged shoes or sneakers or boots). If you only add one condition, the AND/OR choice doesn't matter.
5 Build your matching conditions
In the Matching rules section, click Add a rule to add a condition row. Each row lets you pick a product or variant property, a comparison, and a value to test against — tags, title, price, product type, vendor and more. Add as many rows as you need; the AND/OR setting from the previous step ties them together. This is where you describe which products should receive the Google value, so be as specific as the field calls for.
6 Choose the value to assign
The Assign value for [field] section is where you set what the matched products should get. For product category you search the official Google product taxonomy and pick the exact category — that's the value Google Merchant Center expects. For gender, age group, color and condition you enter the appropriate value for that field. This is the value every product matching your conditions will receive.
7 Save and let it apply
Save the rule from the bar at the top. The app applies it across your catalog and re-generates your feed, so the new Google values flow into your Google Shopping feed automatically. Back on the field's page you can see how your products are now grouped, spot any still marked not defined, and add more rules to cover them. Repeat for each field until your feed is complete.
Frequently asked questions
How do I set the Google product category?
Open the Product category tab in Google rules, click Add a Google Product category rule, build conditions for the products you want to target, then in Assign value for Product category search the Google taxonomy and pick the exact category. Save, and every matching product gets that Google product category in your feed.
Why is my Google Merchant Center feed disapproved?
The most common causes are a missing or wrong Google product category, or missing required attributes like gender, age group, color or condition for the items that need them (apparel especially). Use Google Shopping rules to assign those fields in bulk so your feed is complete — that clears the most frequent disapproval reasons.
What's the difference between AND and OR matching?
AND (Must match all rules) requires a product to satisfy every condition before the value is assigned — good for narrow, precise targeting. OR (Must match at least one rule) assigns the value if any condition matches — good for sweeping up a broad group. With a single condition the two behave identically.
Will a rule overwrite values I already set manually?
Only if you tell it to. Leave Overwrite existing on 'do not overwrite' and the rule only fills in products that are still blank, leaving your manual values untouched. Switch it to 'do overwrite' when you want the rule to be the single source of truth for that field.
Do I need a rule for every Google field?
No. Each field — product category, gender, age group, color, condition — is independent, so set up rules only for the fields your products actually need. Apparel typically needs all of them; many other products just need a product category and condition.
Can I target only some products instead of my whole catalog?
Yes — that's the point of the matching conditions. Add condition rows on tags, type, vendor, price and more, and combine them with AND/OR so the value lands only on the products you intend. Anything that doesn't match keeps its current value.
How does this feed into my Google Shopping feed?
The values your rules assign are written to each product and included in the Google Shopping feed the app generates. After you save, the feed re-generates, so your Google Merchant Center feed picks up the correct product category and attributes on its next fetch.