Skip to main content

Overview

The Google feed returns an RSS 2.0 XML document with Google Merchant Center product attributes (g: namespace). Submit this URL directly in Google Merchant Center as a scheduled fetch.

Feed URL

GET /api/v1/feeds/google
Add this URL to Google Merchant Center under Products → Feeds → Fetch URL.

XML Format

<?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://yourstore.com</link>
    <description>Product feed</description>
    <item>
      <g:id>SKU-001</g:id>
      <g:title>Blue Cotton T-Shirt</g:title>
      <g:description>100% cotton, pre-shrunk, available in S-XXL</g:description>
      <g:link>https://yourstore.com/products/blue-tshirt</g:link>
      <g:image_link>https://cdn.yourstore.com/blue-tshirt.jpg</g:image_link>
      <g:availability>in stock</g:availability>
      <g:price>29.99 BRL</g:price>
      <g:brand>YourBrand</g:brand>
      <g:condition>new</g:condition>
      <g:google_product_category>Apparel &amp; Accessories &gt; Clothing</g:google_product_category>
    </item>
  </channel>
</rss>

Required Fields

FieldDescription
g:idUnique product identifier (SKU)
g:titleProduct name (max 150 chars)
g:descriptionProduct description (max 5000 chars)
g:linkProduct page URL
g:image_linkMain product image URL
g:availabilityin stock, out of stock, or preorder
g:pricePrice with currency code (e.g. 29.99 BRL)
g:brandBrand name
g:conditionnew, used, or refurbished

Requesting the Feed

curl "https://app.alana.shopping/api/v1/feeds/google" \
  -H "X-API-Key: sk_live_your_api_key" \
  -o google-feed.xml

Validation Endpoint

Check your feed for Google policy violations before submission:
GET /api/v1/feeds/google/validate
curl "https://app.alana.shopping/api/v1/feeds/google/validate" \
  -H "X-API-Key: sk_live_your_api_key"

Common Errors

ErrorCauseFix
Missing required attribute: g:brandProduct has no brandAdd brand to product in Alana
Invalid price formatPrice missing currency codeEnsure price field includes currency
Image URL not accessibleImage returns 404Update product image URL
Title too longTitle exceeds 150 charsShorten product title
Last modified on March 18, 2026