Shopify Product Feeds: XML for Google Merchant Center and Meta

A Shopify product feed is the file or API sync that tells Google and Meta what you sell. Here's how the native apps work, when a feed app pays off, and how to fix the disapprovals that quietly cap your Shopping spend.

Pixel-art price tag beside an ad target, a product feed carrying the store catalog to ad platforms.

A Shopify product feed is the structured list of every product variant you sell, with its ID, title, price, stock, image and identifiers, sent to Google Merchant Center and Meta's catalog. Most stores should start with Shopify's own Google & YouTube and Facebook & Instagram apps, then add a feed app only when titles, labels or extra channels need control.

The feed matters more than most teams think. Shopping ads, Performance Max, free listings and Meta's catalog ads all read from it. A bad title can't be fixed with a better bid. A price mismatch can pull a best seller out of every auction overnight.

This post covers what a feed is, which formats Google and Meta accept now, what the native Shopify apps sync, the required attributes, variants, custom labels, shipping and tax, the common disapprovals and how to fix them, and a checklist you can run this week.

Key takeaways

  • Start native. Shopify's Google and Meta apps sync over each platform's API, which is fresher than any file you could host.
  • One variant, one item. Each size and color gets its own id, price, stock and image, grouped by item_group_id.
  • Identifiers decide reach. Real GTINs, or brand plus MPN for your own products, keep items out of the limited performance bucket.
  • Labels make bidding smart. Use custom labels for margin, price band and season so ads spend where profit is.
  • Prices must match the page. Most price disapprovals come from structured data, currency or sale dates, not the feed itself.

What is a Shopify product feed?

A product feed is a data file or API stream that describes your catalog in the format an ad platform expects. Each row, or each XML item, is one thing a shopper can buy. For apparel that means one row per size and color, not one row per shirt.

Google reads it in Merchant Center and serves it through Google Ads. Meta reads it in Commerce Manager as a catalog for Meta Ads Manager. Both then use it to build Shopping ads, free listings, Performance Max assets, dynamic retargeting and shop tabs.

Think of the feed as a translation layer. Your Shopify store stores products its own way, with options, variants, metafields and collections. Google and Meta want flat attributes with fixed names. The feed maps one to the other. Getting that field mapping right is most of the job.

Why does the feed matter for paid search and social?

Shopping campaigns don't use keywords the way search ads do. Google decides which query your product matches mostly from the feed's title, description, category and attributes. Meta's catalog ads work the same way for which product to show which person.

So the feed is your targeting. If your title says "Classic Tee" and shoppers search "heavyweight cotton t-shirt black", you lose the match. That's why I treat feed work as part of paid ads structure for e-commerce, not as an IT chore.

Which feed formats does Google Merchant Center accept?

Google lists the supported file types on its product file help page. As of November 2026 they are:

Method What it is Best for
Tab-delimited file (.txt or .tsv) One row per item, one column per attribute Small catalogs edited by hand in a sheet
XML (RSS 2.0 or Atom 1.0) One item element per product, attributes in the g: namespace Feed apps and scripts, nested data like shipping
Compressed file (.gz, .zip, .bz2) A zipped .txt or .xml Very large catalogs
API (Merchant API) Products pushed one by one as they change Shopify's own channel, feed apps, custom builds

Files can be up to 4 GB and should be saved as UTF-8 or UTF-16, per the same page. You can upload a file once or give Google a link starting with http, https or sftp so it fetches the file on a schedule.

RSS 2.0 vs Atom vs CSV: does the format change results?

No. The format is only the wrapper. Google applies the same product data specification to every source. A title is a title whether it sits in a column or an XML tag.

The real differences are practical. XML handles repeated values cleanly, like several shipping rules or extra images. A tab-delimited file is easier for a person to read and fix. Pick the one your tooling outputs and stop worrying about it.

What changed with the Merchant API in 2025 and 2026?

Google replaced the old Content API for Shopping with the Merchant API. Per Google's deprecation and sunset page, the Content API reached its sunset on August 18, 2026. Teams can request an extension, but extensions don't run past final decommissioning in early 2027.

What this means for you depends on how you sync:

  • Shopify's Google & YouTube channel or a maintained feed app. The vendor owns the migration. Check that your app is current and move on.
  • A custom script on the Content API. It needs a rewrite on the Merchant API, or an approved extension while you rebuild.
  • A scheduled file fetch. Files are not affected. This is one reason file feeds remain a safe fallback.

How does the RSS 2.0 XML format work?

Google's RSS 2.0 specification asks for an RSS root that declares the Google namespace. Each product is an item. Every attribute takes the g: prefix, or Google ignores it.

A few rules on that page trip people up. Each item must include title, link and description, even though plain RSS treats them as optional. Empty attributes should be removed, not left blank. And every file must include every product, because a product missing from the file is removed from Merchant Center.

Here's a trimmed example for one variant of a fake t-shirt. The store, IDs and URLs are made up.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
  <channel>
    <title>Example Supply Co</title>
    <link>https://example.com</link>
    <description>Product feed (trimmed example)</description>
    <item>
      <g:id>shopify_US_8012345678901_45012345678901</g:id>
      <g:item_group_id>8012345678901</g:item_group_id>
      <title>Heavyweight Cotton T-Shirt, Black, Large</title>
      <link>https://example.com/products/heavyweight-tee?variant=45012345678901</link>
      <description>A 7 oz heavyweight cotton tee with a boxy fit and ribbed collar.</description>
      <g:image_link>https://example.com/cdn/heavyweight-tee-black.jpg</g:image_link>
      <g:availability>in_stock</g:availability>
      <g:price>38.00 USD</g:price>
      <g:sale_price>29.00 USD</g:sale_price>
      <g:brand>Example Supply Co</g:brand>
      <g:mpn>ESC-HWT-BLK-L</g:mpn>
      <g:condition>new</g:condition>
      <g:google_product_category>212</g:google_product_category>
      <g:product_type>Apparel &gt; Tops &gt; T-Shirts</g:product_type>
      <g:color>Black</g:color>
      <g:size>L</g:size>
      <g:gender>unisex</g:gender>
      <g:age_group>adult</g:age_group>
      <g:custom_label_0>margin_high</g:custom_label_0>
      <g:custom_label_1>price_25_50</g:custom_label_1>
      <g:shipping>
        <g:country>US</g:country>
        <g:service>Standard</g:service>
        <g:price>5.00 USD</g:price>
      </g:shipping>
    </item>
  </channel>
</rss>

Two details in that example are easy to miss. The &gt; is how you write a greater-than sign inside XML. And the ID follows the pattern Shopify's Google channel uses, which Elevar documents as "shopify_US_" plus product ID plus variant ID. If you switch feed sources, keep IDs stable or you lose each item's history.

What do Shopify's native Google and Meta apps sync?

Shopify gives you two free channel apps. Both sync products over the platform's API, so there is no file to host.

The Google & YouTube channel

Shopify's Google & YouTube channel connects your store to Merchant Center and syncs products automatically. Before it will run, your store must meet Shopify's channel requirements. As of November 2026 those include:

  • An online store that isn't in private mode.
  • A valid payment provider.
  • A refund policy and terms of service linked in the footer menu.
  • At least one visible contact method.
  • A currency that matches the country you sell to.
  • A GTIN for each product, or brand plus MPN when there's no GTIN.
  • Product options and variants written in English.

The shipping rules matter most. Only the General shipping profile syncs, and Shopify warns that custom profiles will sync incorrectly. Carrier-calculated rates work only for certain carriers in Australia, Germany and the United States. Everyone else should use flat rates for the feed.

The channel's product status page says Google reviews new products within 3-5 business days after the first sync. The channel also refreshes products on its own to stay inside Google's 30-day expiry policy.

The Facebook & Instagram app

Shopify's Facebook & Instagram app syncs products to one Meta catalog. That catalog then feeds every Meta surface you've set up. Changes usually show on Facebook within a few minutes.

To sync, a product must require shipping, have a return policy, meet Meta's title, description and image rules, and carry a Google Product Category. It also can't be free. Each variant needs its own details like size and color, or publishing fails.

Two features are worth knowing. You can choose which products to make available, product by product or in the bulk editor. And channel mapping lets you send different data to Meta than your store shows, such as a shorter title kept in a metafield.

When should you use a feed app instead?

The native apps are good at syncing. They are thin at shaping. A feed app sits between Shopify and the channels and lets you rewrite titles, build custom labels, add rules and send one catalog to many places.

Here's how I decide:

Situation Native apps Feed app
Under a few hundred SKUs, Google and Meta only Yes Not yet
Titles need brand, gender, material or size added Hard (edit every product) Yes, with rules
Custom labels for margin or seasonality Manual per product Yes, from tags or metafields
Extra channels (Microsoft, Pinterest, TikTok, marketplaces) Partly, per app Yes, one source
Different titles for Google and Meta Meta only via channel mapping Yes
You need a hosted XML or TSV file No Yes
Many disapprovals you fix the same way each week Manual Yes, with rules

My default is native first. Fix the product data in Shopify, since that also improves your store pages. Add a feed app when the rules you need would take more than an hour a week by hand. Common names include Simprosys, DataFeedWatch, Feedonomics and Channable, and I'd trial two on your own catalog before you pick.

Which attributes are required in a Google product feed?

Google's product data specification is the source of truth. Here are the attributes most Shopify stores need, with the limits as of November 2026.

Attribute Required? Key rule
id Yes Max 50 characters, unique, stable over time
title Yes Max 150 characters
description Yes Max 5,000 characters, plain text
link Yes Must start with http or https
image_link Yes 500 x 500 pixel minimum enforced from January 31, 2027
availability Yes in_stock, out_of_stock, preorder or backorder
price Yes Number plus ISO 4217 currency code, like 38.00 USD
brand Yes for new products Max 70 characters, except movies, books and music
gtin Where one exists Strongly recommended, max 14 digits per value
mpn Only if no GTIN Max 70 characters
condition For used or refurbished new, refurbished or used
item_group_id For variants in some countries Max 50 characters
color, size, gender, age_group For apparel in some countries Apparel only

The country list for item_group_id and apparel attributes is Brazil, France, Germany, Japan, the UK and the US. Free listings also need item_group_id for all variants.

What about GTIN, MPN and identifier_exists?

A GTIN is the barcode number a manufacturer assigns, like a UPC in the US. Google uses it to match your item to its catalog. If you resell branded goods, the GTIN is on the box. In Shopify it goes in the barcode field under Inventory on each variant.

If you make your own products, you likely have no GTIN. Send brand plus an MPN, which is a part number you assign. If you have neither, set identifier_exists to no. Don't buy random barcodes or reuse one across items. That creates mismatches that are hard to undo.

Should prices include tax?

It depends on the country. Google's spec says not to include tax in price for the US and Canada. For other countries, include VAT or GST in the price. Shopify's channel syncs shipping and tax settings from your store, so set them correctly there first.

How should variants work in the feed?

Each variant is its own item. A shirt in three colors and four sizes is 12 items. Each gets its own id, link, price, availability and, ideally, its own image.

They are tied together by item_group_id, which is usually the Shopify product ID. That tells Google these 12 items are one product. Google can then show the right color in an ad and roll up reporting.

Four rules keep variants clean:

  1. Use the variant URL. Link to the product URL with ?variant= and the variant ID, so the page loads with that size and color selected.
  2. Use the variant image. A black shirt ad that shows a white shirt is a mismatch. Assign images per variant in Shopify.
  3. Put the variant in the title. "Heavyweight Cotton T-Shirt, Black, Large" beats twelve items all called "Heavyweight Cotton T-Shirt".
  4. Send real options. Map your Shopify options to color and size attributes. Options named "Option1" won't map.

A common failure is a store that sells sizes as separate products instead of variants. The feed then has no item_group_id to share. Fix it in Shopify by merging those products into one product with variants.

How do custom labels help bidding?

Custom labels are five free-form fields, custom_label_0 to custom_label_4. Google's custom label help page allows 1 to 100 characters per value and up to 1,000 unique values for each label across your account. Shoppers never see them. You use them to split campaigns and set different targets.

Bar chart of break-even ROAS: 1.67x at a 60% gross margin, 2.5x at 40% and 5x at 20%.Bar chart of break-even ROAS: 1.67x at a 60% gross margin, 2.5x at 40% and 5x at 20%.
Break-even ROAS is 1 divided by gross margin, so one blended target overspends on low-margin items. Worked example on assumed margins. Worked example from this guide.

Here's the scheme I'd start with:

Label Values Use
custom_label_0 margin_high, margin_mid, margin_low Different ROAS targets by profit
custom_label_1 price_0_25, price_25_50, price_50_plus Separate cheap and expensive items
custom_label_2 bestseller, new, clearance Push winners, test new items, clear stock
custom_label_3 season_summer, season_winter, evergreen Turn seasonal items up and down
custom_label_4 stock_low, stock_ok Stop spending on items about to sell out

The values come from Shopify. Tags work for simple cases. Metafields are cleaner, because a feed app can read them as fields. Margin usually comes from cost per item, which Shopify stores on each variant.

For more on picking those targets, see contribution margin for e-commerce and the glossary entry on return on ad spend.

How do product category and product type differ?

google_product_category is a value from Google's fixed taxonomy, sent as an ID like 212 or the full path. Google calls it optional, but Shopify's channel asks for one on each product, and Meta's sync needs one too.

product_type is your own category path, up to 750 characters. It's yours to define, so make it match how you want to split campaigns. A path like "Apparel > Tops > T-Shirts" lets you build product groups by type without touching labels.

I'd fill both. Category helps Google understand the item. Type helps you organize spend.

How do you set up shipping in the feed?

Google needs to know what shipping costs, because many countries require it in the offer. Shopify's requirements page says offers without shipping cost are disapproved in those countries. You have two ways to send it.

  • Account-level shipping in Merchant Center. You set rates by country once, and they apply to all items. This is what Shopify's channel syncs from your General shipping profile.
  • Item-level shipping attribute. You send a shipping block on each item, as in the XML example above. Use this only when items differ, like freight on furniture.

Keep shipping simple and consistent with checkout. If the ad says $5 shipping and checkout says $12, you lose the sale and risk a mismatch warning.

What are the most common disapprovals and how do you fix them?

Most feed problems are a short list. Shopify's product status page and Google's issue pages cover the fixes.

Issue Usual cause Fix
Mismatched price Structured data, currency or sale dates differ from the feed Fix the page markup and sale dates, then request a re-check
Missing identifiers No barcode and no brand plus MPN Add GTIN in the variant barcode field, or brand and MPN
Promotional overlay on image Text, badges or watermarks on the main image Replace with a clean product photo
Missing image Product or variant has no image Add at least one image in Media
Unavailable landing page Product not published to Online Store Publish to both Online Store and the Google channel
Excessive capitalization Title in all caps Rewrite in sentence or title case
Missing shipping Custom shipping profile or no zone for a country Use the General profile with a zone per target country

Why does Google say my price doesn't match?

Google's mismatched price help page lists the causes. The big ones for Shopify stores are:

  • Structured data. The price or currency in your page's JSON-LD differs from the feed. Theme apps and review apps often add their own product markup.
  • Multi-currency. The page shows a converted price while the markup still holds the base currency.
  • Sale dates. A sale starts or ends at the wrong time or in the wrong time zone.
  • Prices loaded by JavaScript. Googlebot reads the HTML the server returns, so prices added after load can cause errors.

Fix the source, then test the page with Google's rich results test. After you request a website check, Google may take up to 12 hours to review it. Clean schema markup prevents most of these. I cover the markup side in schema markup for AI search.

Why are good products stuck in limited performance?

Google flags items that lack GTIN, MPN or brand as limited performance. They aren't disapproved, but they get less reach. This is the most common quiet problem in Shopify feeds, because the barcode field is often blank.

The fix is data entry, not a setting. Export your variants, fill barcodes from your supplier's sheet, and import them back. For your own brand, fill vendor as brand and give each variant an MPN.

How do you optimize titles and attributes?

Once items are approved, titles do the most work. Google matches queries to titles first. Meta shows the title in the ad. A clear title is the cheapest lift in the feed.

A formula I like for apparel is brand, product type, key attribute, color, size. For hard goods, it's brand, product, key spec, model. Here's the difference:

Before: Classic Tee
After:  Example Supply Co Heavyweight Cotton T-Shirt, Black, Large

Before: The Weekender
After:  Example Supply Co Waxed Canvas Duffel Bag, 40L, Olive

Put the most searched words first, since titles get cut short in ads. Meta recommends 65 characters to avoid truncation even though it allows 200, per its catalog field reference.

Then fill the optional attributes that match how people shop. Material, pattern, product_highlight and extra images all give Google more to match on. Descriptions should read like good product copy, not a keyword list. The same rules that make product page copy convert also help the feed.

Watch out for one trap. A title in the feed that's very different from the page title can confuse shoppers and reviewers. Keep them close. Better product names on the page usually help organic search too, as covered in category page SEO for e-commerce.

How is a Meta catalog different from a Google feed?

Meta reads a very similar feed but with its own rules. Its catalog field reference lists the required fields. Here's where it differs from Google, as of November 2026:

Field Google Meta
id Max 50 characters Max 100 characters
title Max 150 characters Max 200, 65 recommended
description Max 5,000 characters Max 9,999 characters
availability in_stock, out_of_stock and more in stock or out of stock, with a space
brand Required for new products One of brand, GTIN or MPN required
image_link 500 x 500 minimum from 2027 JPEG or PNG, 500 x 500 minimum, up to 8 MB
category google_product_category optional google_product_category or fb_product_category required
item_group_id Required for variants in some countries Required for products with variants

Meta accepts CSV, TSV, RSS XML and Atom XML, per its Feed API guide. In XML, Google attributes keep the g: prefix and the same namespace. So one XML feed can often serve both, with small fixes.

Scheduled feeds, replace vs update

Meta's scheduled feed docs offer hourly and daily schedules, and nothing more often than once per hour. There are two kinds:

  • Replace schedule. Each upload is a full refresh. Items missing from the file are deleted.
  • Update schedule. Each upload creates or updates items but deletes nothing. It works best with only changed items.

If you run a file feed to Meta, use a daily replace to keep the catalog clean and an hourly update for price and stock.

Scheduled fetch or API: which sync method should you use?

You have three options. Each trades freshness against control.

Method Freshness Control Good for
Native channel app (API) Near real time Low Most stores to start
Feed app (API or hosted file) Minutes to hours High Stores that need rules and labels
Scheduled file fetch As often as you schedule High Fallback, extra channels, custom builds
Custom Merchant API build Real time Total Large catalogs with engineers on staff

Price and stock are the fields that go stale. If you change prices often or run flash sales, you want an API sync. A daily file can show a sale price for hours after the sale ends, which is exactly what triggers mismatches.

If you build your own sync, Shopify webhooks for product and inventory updates are the trigger. Push only the changed items on each event. Then run a full refresh once a day to catch anything a webhook missed.

How does a Shopify feed break?

Feeds rarely break all at once. They drift. Here are the patterns to watch for.

  • Two feeds for the same items. The native channel and a feed app both send products, so items show twice or fight. Pick one source per channel.
  • IDs change. A new feed app uses SKUs as IDs instead of Shopify IDs. Every item starts over with no history, and remarketing tags stop matching.
  • Custom shipping profiles. A new profile for heavy items breaks shipping sync, and those items get disapproved.
  • Theme or app markup. A new reviews app adds its own product schema with a different price. Mismatches follow.
  • Images with badges. A designer adds "SALE" to main images for a promo. Google flags the overlay.
  • Unpublished products. A product is live on the Google channel but hidden from the Online Store. The landing page fails.
  • Missing items from a file. Google's RSS spec says items left out of a file are removed. A partial export wipes part of your catalog.

Most of these are data hygiene problems more than feed problems. A weekly look at the diagnostics page catches them early.

Step by step: set up and validate your feed

Here's the build in order. It assumes you start with the native apps.

  1. Fix store basics. Add refund policy and terms to the footer, show a contact method and turn off password protection.
  2. Fix shipping. Put all rates in the General profile, with a zone for each target country.
  3. Fill identifiers. Add barcodes to variants, or vendor as brand plus an MPN.
  4. Set categories. Give every product a product category and a product type.
  5. Clean images. One clean main image per product, one per variant color, at least 500 x 500 pixels.
  6. Install the Google & YouTube channel. Connect Merchant Center and let the first sync run.
  7. Install the Facebook & Instagram app. Make products available and set channel mapping for titles if needed.
  8. Wait for review. Give Google 3-5 business days, then read the diagnostics.
  9. Fix issues in Shopify first. Work the issue list by count, biggest first.
  10. Add labels. Use tags or metafields for margin, price band and season, through a feed app if needed.

Validation checklist

Run this every week for a month, then every month.

[ ] Item count in Merchant Center matches published variants in Shopify
[ ] No duplicate items from two sources
[ ] Disapproved items under 2% of catalog (your own target)
[ ] Limited performance items listed and owned by someone
[ ] Spot-check 10 items: feed price = page price = checkout price
[ ] Spot-check 10 items: variant link opens the right color and size
[ ] Titles start with brand and product type
[ ] Every item has google_product_category and product_type
[ ] Custom labels filled for every active item
[ ] Meta catalog shows no publishing errors on variants

If you have a hosted XML feed, you can paste it into our XML to CSV converter, pick item as the record, and get one column per attribute. That makes blank brands, missing GTINs and wrong prices easy to sort and spot. Note that the feed and your sitemap are separate files. For the sitemap side, see the Shopify sitemap guide.

How does the feed fit with technical SEO and AI shopping?

The feed and your product pages share the same data. Google checks the page against the feed. AI shopping answers pull from both. So the same clean data helps three ways at once.

Fix structured data, canonical URLs and variant URLs once, and the feed, organic search and AI answers all improve. The Shopify technical SEO guide covers the page side. AI shopping search covers how assistants pick products.

What to do this week

Open Merchant Center diagnostics and sort issues by item count. Fix the top three in Shopify, not in the feed. Then pull ten best sellers and check that feed price, page price and checkout price match.

Next, add a margin label to your top 50 products and split one campaign by it. That one change usually tells you whether a feed app is worth paying for. If you want help wiring the data from Shopify into your ad platforms and CRM, that's the kind of build we do in GTM engineering.

FAQ

Does Shopify have a built-in product feed URL?

Not a public XML feed you can paste into Merchant Center. Shopify's Google & YouTube channel and its Facebook & Instagram app sync products over each platform's API instead of a file. If you need a file, such as for a third channel or a supplemental source, a feed app or a custom script builds one from your product data and hosts it at a URL.

Should I use XML or a tab-delimited file for Google Merchant Center?

Merchant Center accepts both, plus compressed versions, up to 4 GB per file. Pick XML when your data has nested or repeated values, such as several shipping rules, or when a feed app already outputs it. Pick tab-delimited when a person will open and edit the file in a spreadsheet. The attributes are the same either way.

What happens to my feed now that the Content API for Shopping has shut down?

Google sunset the Content API for Shopping on August 18, 2026 and points everyone to the Merchant API. If you use Shopify's own Google channel or a maintained feed app, the vendor handles the move. If you wrote your own Content API script, it needs a rewrite or an approved extension, and extensions end at final decommissioning in early 2027.

Why are my Shopify variants showing as one product in Google?

Usually because the feed sends one item per product instead of one per variant, or because item_group_id is missing. Google wants each size or color as its own item with its own id, price, availability and image, all sharing the parent's item_group_id. Google requires item_group_id for variants in the US, the UK and several other countries.

How often does Google re-read my product feed?

It depends on the method. A scheduled fetch runs on the schedule you set, and an API sync like Shopify's channel pushes changes as they happen. Google also asks for fresh data at least every 30 days, which is why Shopify's channel refreshes products on its own. Price and stock change faster than that, so daily is the floor.

Do I need GTINs for every product?

You need one wherever the manufacturer assigned one. Google says GTIN is strongly recommended and requires MPN only when no GTIN exists. Products you make yourself usually have no GTIN, so send brand plus MPN, or set identifier_exists to no. Never invent or reuse a barcode to clear a warning.

Can one feed serve both Google and Meta?

Mostly, since Meta reads Google's g: namespace in XML feeds. But the rules differ in small ways. Meta wants availability as in stock with a space, allows titles up to 200 characters and requires brand, GTIN or MPN. I keep one source of truth and output two feeds, so each platform gets its own titles and labels.

More like this

Glossary: Agentic Commerce, Google Merchant Center, Google Shopping Ads, Product Feed

Startup? Let's talk.

20 minute fit call. You'll leave knowing the first thing we'd fix and roughly what it costs. If we're not the right fit, we'll tell you who is.