How to Generate a Google Shopping Data Feed for WooCommerce

Last updated
Read time
6 min
Category
How to Generate a Google Shopping Data Feed for WooCommerce
Google Shopping data feed

To generate a Google Shopping data feed for WooCommerce, you export your product data, titles, prices, images, categories, and identifiers like GTIN, into a file formatted to Google Merchant Center’s specifications, then connect that file to your Merchant Center account. Doing this by hand works for a handful of products, but it falls apart fast once your catalog grows or your prices change weekly. 

A feed plugin like CTX Feed handles the mapping automatically, so this guide covers both what the feed actually needs to contain and how to build one without touching a spreadsheet.

What a Google Shopping data feed contains

A data feed is a structured file, usually XML or CSV, that lists the attributes Google needs to display your products and match them to relevant searches. Google groups over 50 possible attributes into ten categories, but a WooCommerce store only needs a short list of them to get listed correctly.

  • Product ID: a unique identifier per item, typically your SKU.
  • Title: should match your product name closely. Titles padded with marketing language tend to underperform on exact-match searches.
  • Price: the current selling price, matching exactly what’s on the live product page.
  • Description: the full product description, not a shortened marketing blurb.
  • Product URL: the page a shopper lands on after clicking the listing.
  • Product category: mapped to Google’s own taxonomy, not your WooCommerce category names.
  • GTIN or MPN: a global identifier. A missing or incorrect one is the single most common reason feeds get rejected.
  • Condition: new, used, or refurbished.
  • Brand: your manufacturer name or store brand.
  • Image URL: a direct, publicly accessible link to the product image.
  • Availability: in stock, out of stock, or preorder.

Building the feed manually vs. using a plugin

You can technically build this file in Excel, with attributes as column headers and product data pasted underneath. It works for a five-product catalog. It stops working the moment you have variable products, frequent price changes, or more than one sales channel, because every update has to be entered by hand and kept in sync across every feed you maintain.

That’s the gap a plugin closes. CTX Feed is a WooCommerce feed plugin with pre-built templates for 220+ channels, including Google Shopping. Select the Google Shopping template, and it fills in the required attributes automatically by reading directly from your product pages.

How to generate a Google Shopping data feed using CTX Feed

After installing and activating CTX Feed, a new menu appears in your WordPress dashboard. Building the feed itself takes a few minutes once your account is set up.

  1. Name the feed and select your country. This tells CTX Feed which Merchant Center region the feed targets.
  2. Choose the Google Shopping template. The Template dropdown holds ready-made options for 220+ channels; picking Google Shopping loads its exact attribute requirements.
  3. Select your file type. CSV and XML are the most widely accepted formats for Merchant Center.
  4. Review the auto-populated attributes. CTX Feed fills in title, price, description, and the other standard fields by reading your existing product data.
  5. Add or edit attributes as needed. Use the (+) icon to add anything missing, like sale_price_effective_date if you’re running a sale campaign and want Google to show and hide the sale price on the same schedule as your store.
  6. Generate the feed. CTX Feed writes your product data under each attribute and builds the file.

Adding attributes WooCommerce doesn’t store by default

GTIN, MPN, and brands often won’t appear in the Value dropdown when you’re building the feed, because WooCommerce doesn’t have native fields for them. CTX Feed adds these as custom fields under the plugin’s settings. Enable GTIN there, then open any product page under Product Data → Inventory to enter the value. Once it’s saved on the product, it becomes available in the feed’s Value dropdown.

Mapping your categories to Google’s taxonomy

Google Shopping uses its own category structure, separate from your WooCommerce categories. Under Category Mapping, select your merchant account, then match each of your existing categories to the closest Google category from the dropdown. This step affects which searches your products can actually surface in, so it’s worth doing properly rather than leaving categories unmapped.

Filtering out-of-stock and incomplete products

CTX Feed Pro includes filters to exclude products before they ever reach Google. Turning on “Remove Out Of Stock Products” keeps stock-outs from showing up in search results and getting clicked on by someone who then can’t buy the item, which is a fast way to lose trust with a shopper. You can also filter out products missing a description, image, or price, and build separate feeds by category, shipping country, or tax rules.

Automating feed updates

Set an update interval in Manage Feeds, and CTX Feed will regenerate the file automatically, pulling in price changes, stock updates, and new products without you touching the feed again.

Uploading your feed to Google Merchant Center

Merchant Center’s interface was rebuilt, so if you’ve followed an older guide, don’t look for a “Feeds” tab. It’s now called Data sources, under Products → Add data source.

Choose Scheduled fetch and paste in the feed URL CTX Feed generated for you. Set your fetch frequency, and Merchant Center will pull updates on that schedule going forward. This is the piece that makes the whole setup low-maintenance: your product pages change, CTX Feed rewrites the feed file, and Merchant Center fetches the new version on its own schedule. No manual re-upload, ever.

Why CTX Feed for WooCommerce merchants

CTX Feed’s main advantage isn’t any single feature. It’s that the tutorial above, category mapping, custom attributes, filtering, scheduled updates, works the same way across all 220+ supported channels, not just Google Shopping.

Key features:

  • Unlimited products and unlimited feeds, regardless of catalog size.
  • 220+ pre-built channel templates, including Facebook, TikTok, Bing, and Pinterest.
  • Support for XML, CSV, TSV, XLS, TXT, and JSON output.
  • Built-in support for variable, bundle, and subscription products.
  • Smart filtering by stock status, category, or completeness.

Pricing and plan details change over time, so check the current pricing page before publishing anything specific.

Frequently Asked Questions

How do I exclude a product from my Google Shopping feed?

Use CTX Feed’s smart filters to exclude by category, stock status, or a custom rule, without removing the product from your store. This keeps out-of-stock or unfinished listings out of Google Shopping while leaving everything else untouched.

Can I exclude specific product variants from the feed?

Yes. When generating the feed, CTX Feed lets you choose whether to include all variations of a variable product or only selected ones, so you’re not forced to publish every size or color combination.

Why is my Google Shopping feed showing errors in the Merchant Center?

Most rejections trace back to a missing or incorrect GTIN, a mismatched price between the feed and the live product page, or a missing required attribute like availability. Check the specific error in Merchant Center’s diagnostics; it will name the exact attribute and product causing the rejection.

How do I create a feed for Google Merchant Center from WooCommerce?

Install a feed plugin such as CTX Feed, select the Google Shopping template, and generate the file. Then add it to the Merchant Center as a data source using Scheduled fetch so it updates automatically.

Do I have to re-upload the feed file every time I change a product?

No, not if you’re using scheduled fetch. CTX Feed regenerates the file at your chosen interval, and Merchant Center pulls the latest version on its own schedule.

Key Takeaways

  • A Google Shopping feed needs a short list of required attributes: ID, title, price, description, URL, category, GTIN/MPN, condition, brand, image, and availability.
  • Manual feed creation works for tiny catalogs and breaks down fast once you have variable products or frequent price changes.
  • CTX Feed maps WooCommerce product data to Google’s requirements automatically, with templates covering 220+ channels beyond just Google Shopping.
  • GTIN and category mapping errors are the most common causes of feed rejection.
  • Merchant Center now uses “Data sources,” not “Feeds,” so scheduled fetch setup lives under Products → Add data source.
  • Filtering out-of-stock and incomplete products before they reach Google keeps rejected or untrustworthy listings out of search results.
  • Scheduled fetch removes the need to manually re-upload the feed after every product change.
[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.