Google Merchant Feed Sample

User
Google merchant feed sample
Assistant
Here is a **sample XML structure** for a **Google Merchant Center feed** (also known as a product feed), which complies with [Google Shopping feed specifications](https://support.google.com/merchants/answer/7052112):

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:g="http://base.google.com/ns/1.0">
  <channel>
    <title>Your Store Name</title>
    <link>https://www.example.com/</link>
    <description>Example product feed for Google Merchant</description>

    <item>
      <g:id>12345</g:id>
      <g:title>Red T-Shirt</g:title>
      <g:description>Comfortable cotton red t-shirt, available in all sizes.</g:description>
      <g:link>https://www.example.com/products/red-tshirt</g:link>
      <g:image_link>https://www.example.com/images/red-tshirt.jpg</g:image_link>
      <g:availability>in stock</g:availability>
      <g:price>19.99 USD</g:price>
      <g:brand>BrandName</g:brand>
      <g:gtin>1234567890123</g:gtin>
      <g:mpn>TSHIRT-RED-001</g:mpn>
      <g:condition>new</g:condition>
      <g:google_product_category>Apparel & Accessories > Clothing > Shirts & Tops</g:google_product_category>
    </item>

    <item>
      <g:id>67890</g:id>
      <g:title>Wireless Headphones</g:title>
      <g:description>Bluetooth over-ear headphones with 30 hours of battery life.</g:description>
      <g:link>https://www.example.com/products/wireless-headphones</g:link>
      <g:image_link>https://www.example.com/images/wireless-headphones.jpg</g:image_link>
      <g:availability>in stock</g:availability>
      <g:price>99.99 USD</g:price>
      <g:brand>AudioBrand</g:brand>
      <g:gtin>9876543210987</g:gtin>
      <g:mpn>HEADPHONES-BLK</g:mpn>
      <g:condition>new</g:condition>
      <g:google_product_category>Electronics > Audio > Headphones</g:google_product_category>
    </item>

  </channel>
</rss>

### Key Tags You Should Include
– “ — Unique product ID
– “ — Product title
– “ — Product description
– “ — Product URL
– “ — Main image URL
– “ — Stock status (`in stock`, `out of stock`, `preorder`)
– “ — Price with currency
– “, “, “ — Required for most categories
– “ — `new`, `used`, or `refurbished`
– “ — Use Google’s taxonomy

Let me know if you want a dynamic PHP or Concrete CMS example to generate this format from your products.

User
Your Store Feed
https://concretecms.newsoftdemo.info/
Product feed for Google Merchant Center

1
Tesst

https://concretecms.newsoftdemo.info/products/tesst
https://concretecms.newsoftdemo.info/application/files/4117/4730/9801/galway-home.png
in stock
15.00 USD
Loyali
new

Missing required tag
At least one of the required tags is missing: / /

Assistant
You're getting the following Google Merchant Center errors:

### ❌ **Missing required tag “**
– The “ tag is present but **empty**. Google requires a meaningful product description.

✅ **Fix:**

<description>Sample description of the Tesst product.</description>

### ❌ **At least one of the required tags is missing: “ / “ / “**

Google requires:
– Either a **GTIN** (Global Trade Item Number) or an **MPN** (Manufacturer Part Number),
– Or explicitly state that the product **does not have a global identifier** with:

<g:identifier_exists>false</g:identifier_exists>

✅ **Fix (choose one):**

**Option 1 – Add MPN (if you have it):**

<g:mpn xmlns:g="http://base.google.com/ns/1.0">TESST-001</g:mpn>

**Option 2 – If your product has no GTIN or MPN:**

<g:identifier_exists xmlns:g="http://base.google.com/ns/1.0">false</g:identifier_exists>

### ✅ Corrected Sample Output:

<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
<channel>
  <title>Your Store Feed</title>
  <link>https://concretecms.newsoftdemo.info/</link>
  <description>Product feed for Google Merchant Center</description>

  <item>
    <g:id>1</g:id>
    <title>Tesst</title>
    <description>This is a test product with sample details for Google Merchant.</description>
    <link>https://concretecms.newsoftdemo.info/products/tesst</link>
    <g:image_link>https://concretecms.newsoftdemo.info/application/files/4117/4730/9801/galway-home.png</g:image_link>
    <g:availability>in stock</g:availability>
    <g:price>15.00 USD</g:price>
    <g:brand>Loyali</g:brand>
    <g:condition>new</g:condition>
    <g:mpn>TESST-001</g:mpn>
    <!-- OR -->
    <!-- <g:identifier_exists>false</g:identifier_exists> -->
  </item>

</channel>
</rss>

Let me know if you want to dynamically generate GTIN/MPN in your Concrete CMS controller as well.

User
Missing required tag
At least one of the required tags is missing: / /

Your Store Feed
https://concretecms.newsoftdemo.info/
Product feed for Google Merchant Center

1
Tesst

https://concretecms.newsoftdemo.info/products/tesst
https://concretecms.newsoftdemo.info/application/files/4117/4730/9801/galway-home.png
in stock
15.00 USD
Loyali
new

Assistant
Here’s the corrected version of your XML with both issues fixed:

### ✅ Corrections:
1. **Added a valid “** tag.
2. **Added `false`** to satisfy Google's requirement when `gtin` and `mpn` are missing.

### ✅ **Fixed XML Feed Example:**

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:g="http://base.google.com/ns/1.0">
  <channel>
    <title>Your Store Feed</title>
    <link>https://concretecms.newsoftdemo.info/</link>
    <description>Product feed for Google Merchant Center</description>

    <item>
      <g:id>1</g:id>
      <title>Tesst</title>
      <description>This is a sample product called Tesst, ideal for demo purposes.</description>
      <link>https://concretecms.newsoftdemo.info/products/tesst</link>
      <g:image_link>https://concretecms.newsoftdemo.info/application/files/4117/4730/9801/galway-home.png</g:image_link>
      <g:availability>in stock</g:availability>
      <g:price>15.00 USD</g:price>
      <g:brand>Loyali</g:brand>
      <g:condition>new</g:condition>
      <g:identifier_exists>false</g:identifier_exists>
    </item>

  </channel>
</rss>

### ✅ Notes:
– Use either “, “, or `false`.
– Always ensure “ is not empty — it must be meaningful and relevant.

Let me know if you want to dynamically generate this in your Concrete CMS controller — I can share that full PHP code too.

User
what is gtin
Assistant
**GTIN (Global Trade Item Number)** is a globally recognized unique identifier used to identify a product. It helps Google and other systems match products across sellers and catalogs.

### 🔹 Types of GTINs:
Depending on the product and region, GTIN can be in several formats:

| Format | Digits | Common Use |
|——–|——–|————-|
| **GTIN-12** | 12 digits | **UPC** (used in USA/Canada) |
| **GTIN-13** | 13 digits | **EAN** (used internationally) |
| **GTIN-14** | 14 digits | **Used for multipacks or outer cases** |
| **GTIN-8** | 8 digits | **Small packages** (EAN-8) |

### 🔹 Where to find GTIN?
– On product packaging (barcode area)
– Manufacturer-provided product specification
– Supplier/vendor product database

### 🔹 Example:

<g:gtin>012345678905</g:gtin>  <!-- 12-digit UPC -->

### 🔹 Google requires GTIN if:
– You're selling branded, new products (not custom or handmade).
– The product is widely available from multiple retailers.

If you **don’t have** a GTIN, you must include:

<g:identifier_exists>false</g:identifier_exists>

Let me know if your products are custom or branded—I'll suggest whether you need `gtin`, `mpn`, or just `identifier_exists`.

Leave a Comment

Your email address will not be published. Required fields are marked *