How to Set Up Product Variations in Google Shopping

Last updated
Read time
12 min
Category
How to Set Up Product Variations in Google Shopping

To show a T-shirt in two colors and two sizes as one product with options, Google Shopping variants need one feed row per variant. Every row gets its own id, and every variant of the same product shares one item_group_id. Each row also needs at least one variant attribute (color, size, pattern, material, age group or gender) that sets it apart, and the landing page must show the same title, color, price and availability as the row. Google’s current rules also ask for an item_group_title and, since May 2026, a variant_option value.

If you sell on WooCommerce, don’t type these rows by hand: generate them from your store, where each variation already has its own SKU, price and stock. The rules come first below, then how CTX Feed builds the rows.

Redefine Your Sales Potential: The Power of Product Variations in Google Shopping

Google calls variants “a group of similar products that only differ from one another by product details”, such as color and size for clothing. A T-shirt in green and blue, sizes M and L, is four variants of one product.

When you group them with item_group_id, Google can show the product and its variants to shoppers as a group instead of as separate products. Here’s why we think that’s worth the effort.

Enhanced Visibility:

Color and size values feed the filters shoppers use to narrow search results. If your green variant has its own row with color: Green, it can match a shopper’s color filter. Grouping doesn’t guarantee more impressions; complete variant data gives each variant a fair chance in organic listings on Google Shopping and ads alike. It’s one part of ranking higher on Google Shopping, not a shortcut.

Less work, more sales:

Shoppers can see one product with its variants instead of scrolling past near-identical listings. On your side, each variant is still its own row, but the group ties them together, and Google can show them to shoppers as one group.

Detailed listing:

Each variant row carries its own price and stock. If medium green sells out, only that row changes to out of stock; large blue keeps selling. That’s also why the row has to match the landing page: Google compares the variant’s title, color, price, availability and image with what the page shows. A clean variant row is the base for extras such as Google Shopping annotations.

Setting Up Google Shopping Product Variations

Here’s what Google asks for on Google Shopping variants, attribute by attribute. “Six countries” means Brazil, France, Germany, Japan, the United Kingdom and the United States, the targets Google lists for Shopping ads on these pages.

AttributeWhat it doesRequired whenFormat and limits
item_group_idTies all variants of one product togetherFree listings: all product variants. Shopping ads: variants targeting the six countries1–50 characters; Unicode, ASCII recommended (letters, numbers, underscores, dashes)
colorThe variant’s colorApparel & Accessories (ID 166): free listings, and Shopping ads in the six countries1–100 characters in total, 1–40 per color; up to 3 colors separated by /
sizeThe variant’s sizeClothing (ID 1604) and Shoes (ID 187): free listings, and Shopping ads in the six countries1–100 characters; one size per product
size_typeThe cut: regular, petite, plus, tall, big, maternityOptionalUp to 2 values
size_systemThe country sizing convention (AU, BR, CN, DE, EU, FR, IT, JP, MEX, UK, US)Optional; without it, Google uses the standard system of your target countryOne value
patternThe variant’s patternProducts that vary by pattern0–100 characters
materialThe variant’s materialProducts that vary by material0–200 characters; 1 primary + up to 2 secondary, separated by /
age_groupnewborn, infant, toddler, kids, adultApparel & Accessories (ID 166): free listings, and Shopping ads in the six countries (some accessory sub-categories are optional)One of the listed values
gendermale, female, unisexApparel & Accessories (ID 166): free listings, and Shopping ads in the six countries (some accessory sub-categories are optional)One of the three values, in English
item_group_titleOne shared name for the whole groupListed in Google’s minimum requirements, sent with item_group_idThe same for every variant in the group; other limits: see Google spec
variant_optionNames the properties that define each variant, e.g. color:red,size:smallOptional on its own spec page; Google’s item_group_id page lists it in the minimum requirements, sent with item_group_title and item_group_idA name and a value, up to 250 characters each; repeat up to 30 times. Text feeds: name:value pairs separated by commas

Two parent/child rules matter most. First, the parent product isn’t a product of its own on Google: Google says “Don’t submit a parent SKU as a separate product”. Second, Google says not to submit variants without variant attributes, because then nothing tells them apart. If your product differs only in size, every row in the family needs a size value.

You Must Know: before you submit your products to Google Merchant Center, check that every variant row has its own id, the shared item_group_id and its own variant values. If Merchant Center already flags items, our guide to common Google Merchant Center errors covers the wider list.

How to Set the Product Groups?

item_group_id is the field that makes the group (see how to create product groups in Google Shopping for the campaign side). Google’s rules for the item_group_id field:

  • Same value for every variant of one product.
  • A unique value for each group. Casing doesn’t count: abc123 and ABC123 are the same group to Google.
  • Never reuse a group value for a different product.
  • Don’t change it once assigned.
  • Which value? Google suggests the parent SKU. Any value that is shared, unique and stable meets the rules above; CTX Feed uses the parent product’s ID (more below).

Example: a T-shirt with parent SKU 311, in medium and large, green and blue. This is what the four rows look like:

iditem_group_idtitlecolorsize
311-M-GREEN311Classic T-shirt – M – GreenGreenM
311-L-GREEN311Classic T-shirt – L – GreenGreenL
311-M-BLUE311Classic T-shirt – M – BlueBlueM
311-L-BLUE311Classic T-shirt – L – BlueBlueL

Four rows, one group, and the id, title, color and size of each row agree. A hand-kept sheet like this means one row per variant to keep in sync with every price and stock change, so generate it from your store instead.

Set up Product Variations in Google Shopping

Your variants must differ by variant attributes. Google’s standard ones are color, pattern, material, age group, gender and size. The Google product feed specifications cover every other attribute. The rules that matter most for variants:

Color:

  • Use a real color name: “Green”, not “G”. No numbers, no “see image”.
  • Use the same color your landing page shows.
  • For multi-color products, give a primary color and up to two secondary colors, separated by /, like Black/Blue. Don’t use commas: with commas, only one color is applied.

Size:

  • One size value per product; if you send several, only the first is applied.
  • Add size_type for a cut such as petite or maternity, and size_system for the country convention.

Material: one primary plus up to two secondary materials, separated by / (see Google’s material attribute).

Here’s a ballpoint pen sold in two ink colors, two rows in one group:

iditem_group_idtitlecolor
332-GR332Smart ballpoint – GreenGreen
332-BL332Smart ballpoint – BlackBlack

variant_option and item_group_title

This is the newest part of Google’s variant rules. Google’s color and size pages say that as of May 2026, Google added a variant_option attribute to name the properties that define each variant. On the item_group_id page:

  • item_group_title gives the group one name, and it must be the same on every variant with the same item_group_id.
  • variant_option goes with item_group_title and item_group_id to define all variant-identifying properties. Google’s example value is color:red,size:small.
  • Keep the standard attributes too. Google says to send color, pattern, material, age group, gender and size in addition to variant_option, even when they’re the properties that define the variant. If color or size defines your variants, Google recommends sending it both ways.

So for the 311 T-shirt, the medium green row would also carry item_group_title: Classic T-shirt and variant_option: color:green,size:m, following Google’s example format.

In CTX Feed, the Google template’s attribute list includes Item Group Title, Variant Option Name and Variant Option Value. Add them as rows on the Config tab, with one Variant Option Name and Variant Option Value pair for each property (for example color, then size). CTX Feed writes the pairs in Google’s format: color:green,size:m in CSV, TSV and TXT feeds, and one <g:variant_option> group with name and value per pair in XML.

Is product type a variant attribute?

No. product_type is your own category path, such as Home > Women > Dresses > Maxi Dresses. It’s optional, up to 750 characters, and only the first value you send is used to organize bidding and reporting in Shopping campaigns. It doesn’t tell Google that two rows are variants. CTX Feed fills product_type with the product’s WooCommerce category path. To use it for bidding, see how to create product groups in Google Shopping.

How to Set Up Product Variations in Google Shopping with a Plugin

In WooCommerce, a variable product (set up as in how to add color and size in WooCommerce) is a parent with child variations, and each variation has its own SKU, price and stock. That’s exactly the shape Google wants, so the job is to turn each variation into a row.

Here’s what CTX Feed does with them:

  • One row per variation. With All Variations, each variation becomes its own row with its own SKU, price, stock and attribute values, and the parent is replaced by its variations.
  • item_group_id is filled for you. It’s mapped to Parent Id [Group Id]: a variation reports its parent’s ID, so all variants of one product share a value. The Google template already maps this row.
  • You add the variant attributes. Map size, color, material and pattern on the Config tab from the matching product attribute.
  • Titles carry the options. A variation’s title is the parent title plus its attribute values.
  • Empty fields borrow from the parent, such as the description, except sale price and gallery images.
CTX Feed Config tab row mapping Item Group Id [item_group_id] to the Parent Id [Group Id] attribute
CTX Feed Config tab row mapping Item Group Id [item_group_id] to the Parent Id [Group Id] attribute

Every variation mode is in the free plugin, so you can create the feed with CTX Feed using the free version of CTX Feed. If your store’s size or gender values don’t match what Google expects (say “Extra Large” vs “XL”), Dynamic Attributes can rewrite them on the way into the feed; that part needs CTX Feed Pro. See how to change size values for Google.

Include variations: the eight modes

The Include variations setting in Feed settings decides what reaches the feed. It has eight modes, all in the free plugin. New feeds start on All Variations, and a feed saved with the field blank is treated as All Variations too. The step-by-step is in the Include Variations doc.

CTX Feed Feed settings card with the Include variations dropdown set to All Variations
CTX Feed Feed settings card with the Include variations dropdown set to All Variations

To compare them, take a store with two products: a Hoodie (simple product) and a T-shirt (variable product) in Red ($50), Blue ($30) and Black ($55), added in that order.

ModeRows in the feedT-shirt row(s)For Google Shopping
All Variations4Red, Blue, BlackUse this
Variable Products (Parent)2Parent onlyNo options shown
Default Variation2The default variationOne variant only
Cheapest Variation2BlueOne variant only
Expensive Variation2BlackOne variant only
First Variation2RedOne variant only
Last Variation2BlackOne variant only
Variable + Variations5Parent, then Red, Blue, BlackAvoid: sends the parent as a product

All Variations:

Each T-shirt variation becomes its own row, and the parent is replaced by them: Hoodie, T-shirt Red, T-shirt Blue, T-shirt Black. Four rows. This is the standard choice for Google Shopping, and the only mode that gives Google every variant without also sending the parent as a product of its own.

Default Variation:

CTX Feed exports the one variation that matches the product’s default attributes in WooCommerce. If the T-shirt’s default is Blue, the feed has the Hoodie and T-shirt Blue: two rows. If no default attributes are set, CTX Feed writes the parent row instead. Google then sees one real, buyable variant with its own price, not the group.

Variable Products (Parent):

Only the parent is written, as a single row: Hoodie and T-shirt, two rows. The parent has no price or stock of its own, so two extra settings appear:

  • Variable price: First Variation Price (the default), Max Variation Price or Min Variation Price.
  • Variable quantity: First Variation Quantity (the default), Max Variation Quantity, Min Variation Quantity or Sum of Variation Quantity.

With the defaults, the T-shirt row reports Red’s price ($50) and Red’s stock. Pick Min Variation Price and it reports $30. Details: set variable product price and quantity.

This is how you exclude variants from a Google feed while keeping the product: Google gets one product with no variants to group.

Cheapest Variation:

CTX Feed exports the single lowest-priced variation; on a tie, the first one wins. Here that’s T-shirt Blue ($30): two rows.

Expensive Variation:

The single highest-priced variation: T-shirt Black ($55). Two rows.

First Variation:

The first variation in the product’s variation list: T-shirt Red. Two rows.

Last Variation:

The last variation in the list: T-shirt Black. Two rows.

Variable + Variations:

The parent row and every variation row, parent first: Hoodie, T-shirt (parent), Red, Blue, Black. Five rows. The parent’s price and quantity come from the same Variable price and Variable quantity settings. For Google Shopping, skip this mode: Google says not to submit the parent as a separate product. CTX Feed’s own docs keep it for channels that want both the group entry and the variants.

CTX Feed Feed settings with Include variations set to Variable + Variations, showing the Variable price and Variable quantity selects
CTX Feed Feed settings with Include variations set to Variable + Variations, showing the Variable price and Variable quantity selects

In short: for Google Shopping, pick All Variations, check the item_group_id row and add your size and color rows.

Why Google Isn’t Grouping Your Variants (and How to Fix It)

When Google variants show up as separate products, go missing, or get disapproved, it’s usually one of these five.

1. Only parent products are in the feed. Include variations is set to Variable Products (Parent). Switch it to All Variations and regenerate the feed.

2. Variant rows have no size or color. Without those rows, Google can’t tell the variants apart. Add size and color (and material or pattern, if your products vary by them) on the Config tab, mapped to your WooCommerce attributes.

3. item_group_id is missing or doesn’t match. Every variation of a product must share one group value. Check that the item_group_id row exists and is mapped to Parent Id [Group Id]. If you changed the mapping on a live feed, remember that Google asks you not to change group values once assigned.

4. A variation has no price. CTX Feed still writes the variation, but with an empty price, and Google rejects that item. Set the price on the variation in WooCommerce. For other fields, an empty variation value falls back to the parent; for details, see add variable product info to variations.

5. The landing page doesn’t open the right variant. Google wants the landing page to match the variant’s values, including price, and recommends a different URL for each variant. One case we’ve seen in support: a store whose attribute values used non-Latin letters (Arabic, for example) got “Mismatched value (price)”. The feed links were correct, but WooCommerce strips those encoded values from the URL, so the product page didn’t preselect the variation. The fix is on the site, not in the feed: a small code snippet that restores the preselection. To check, search your feed’s links for attribute_ first.

FAQ

Can I exclude product variants from my Google Shopping feed?

Yes. Set Include variations to Variable Products (Parent) to send one row per product, or to a single-variant mode (Default, Cheapest, Expensive, First or Last) to send one real variant per product. Google then gets one row per product, with no variants to show as options.

What’s the difference between id and item_group_id?

id identifies one single product, so every variant has its own. item_group_id groups several products as variants of one product, so all variants share it.

Is item_group_id required in every country?

For free listings, yes: Google requires it for product variants. For Shopping ads, it’s required for variants targeting Brazil, France, Germany, Japan, the United Kingdom and the United States.

How many colors can one variant have?

Up to three: one primary and up to two secondary colors, separated by / (for example Red/Green/Black). Each color can be 1–40 characters, and the whole value up to 100.

Conclusion

Google Shopping groups variants when each one has its own row, its own id, a shared item_group_id and the color or size that sets it apart, and when the landing page matches. Google’s current rules also ask for item_group_title and, since May 2026, variant_option. In WooCommerce, the fastest way to get there is to generate those rows from your variations rather than keep a sheet by hand.

Variable products need one row per variant, a shared item_group_id and the right color and size. CTX Feed writes one row per WooCommerce variation and fills item_group_id automatically; you map color and size once on the Config tab. Every variation mode is in the free plugin. CTX Feed Pro adds Dynamic Attributes to clean up size and gender values.

See CTX Feed Pro · Get the free version on WordPress.org

[CTA] Stop reading. Start fixing.
Fix your product feed with CTX Feed Pro.

Free version on WordPress.org. Every Pro licence includes a 30-day money-back guarantee.

[0] Comments
Join the discussion
Leave a comment →

Leave a comment.

[NEWSLETTER] Field Notes, monthly

One email a month.
Zero fluff.

Channel-spec changes, plugin releases, the occasional deep dive on something we broke.