Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Here you will learn how to use product data feeds via your website front end. 

Step-by-step guide

The product feed or product data feed is a file made up of a list of products and attributes of those products organized so that each product can be displayed, advertised or compared in a unique way. Our product feed is in XML format and contains the default attributes required by google to import and successfully list your products within their ecosystem. You can read more about product feeds here: https://support.google.com/merchants/answer/7439882


2 parameters can be accepted and are outlined below

  • firstProductOnly (optional) – Currently accepts “rss” and “xml”. If no format is provided it will default to the rss feed.
  • excludeQtyFromTitle (optional) – Limits the returned results for pagination purposes. if not provided will default to 25


example: yourwebsiteaddress.com/products/feed.html (list all products)

example: yourwebsiteaddress.com/products/feed.html?firstProductOnly (list only the first product within the respective category)

example: yourwebsiteaddress.com/products/feed.html?excludeQtyFromTitle (exclude the quantity of the product from the title attribute within the xml output)


XML Feed Output Example (without parameters added)
<channel>
	<title>company product data feed</title>
	<description>company product data feed.</description>
	<link>http://www.yourwebsiteurl.com/</link>
	<item>
		<g:id>BAN-2x2-1245874</g:id>
		<g:title>2x2 Foot Banner - 1 qty</g:title>
		<g:description><p>The flexibility of a banner makes it great medium for businesses.</p> <ul> <li>Top-quality</li> <li>fast turnaround times</li> <li>Two materials available</li></ul></g:description>
		<g:link>http://www.yourwebsiteurl.com/store/product-view.html/1/1245874?dp=1</g:link>
		<g:image_link>https://s3.amazonaws.com/autoprint/47362/images/branding/2145/categories/cat100.jpg</g:image_link>
		<g:google_product_category>Business & Industrial > Advertising & Marketing</g:google_product_category>
		<g:product_type>Business & Industrial > Advertising & Marketing > Banners</g:product_type>
		<g:availability>in stock</g:availability>
		<g:price>50.00 USD</g:price>
		<g:shipping_weight>3 lb</g:shipping_weight>
		<g:identifier_exists>no</g:identifier_exists>
		<g:brand>company name</g:brand>
		<g:product_detail>
			<g:section_name>General</g:section_name>
			<g:attribute_name>Product Dimensions</g:attribute_name>
			<g:attribute_value>2x2</g:attribute_value>
		</g:product_detail>
		<g:product_detail>
			<g:section_name>General</g:section_name>
			<g:attribute_name>Product Category Name</g:attribute_name>
			<g:attribute_value>Banners</g:attribute_value>
		</g:product_detail>
		<g:product_detail>
			<g:section_name>General</g:section_name>
			<g:attribute_name>Product Category Url</g:attribute_name>
			<g:attribute_value>http://www.yourwebsiteurl.com/store/product-view.html/100-Banners</g:attribute_value>
		</g:product_detail>
		<g:product_detail>
			<g:section_name>General</g:section_name>
			<g:attribute_name>Product Starting Quantity</g:attribute_name>
			<g:attribute_value>1</g:attribute_value>
		</g:product_detail>
	</item>
</channel>


  • No labels