Facebook seller data feed

Let us talk about scripts, HTML, Perl, PHP, apache, etc.
Post Reply
User avatar
Stevyn
SysOp
Posts:1776
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:
Facebook seller data feed

Post by Stevyn » Sat Aug 26, 2023 10:04 am

Facebook seller data feed

https://www.facebook.com/business/help/ ... 3027795860

How to create a data feed for your catalog using a template
https://www.facebook.com/business/help/ ... 3027795860

Required fields for products
https://www.facebook.com/business/help/ ... 0#Required

id
A unique content ID for the item. Use the item's stock keeping unit (SKU) number if possible. Each content ID must appear only once in your catalog. If you use the same content ID for multiple items, none of them will be uploaded. Character limit: 100.

Note: To use this item in Advantage+ catalog ads (formerly known as dynamic ads), this ID must exactly match the content ID for the same item in your Meta Pixel code. This tells us it's the same item in your catalog and on your website.

Example: 12345

title
A specific, relevant title for the item, written in title case. See product title specifications. Character limit: 200, but we recommend 65 maximum to avoid longer titles being cut off.

Example: Blue Cotton T-Shirt

description
A detailed description of the item. Include specific and unique product features like material or color. Use plain text only (to use HTML, see rich_text description) and don't enter text in all capital letters. The description should be different from the title. We recommend not including any links. See product description specifications. Character limit: 9,999.

Example: A comfortable royal blue women's T-shirt in organic cotton. Cap sleeves and relaxed fit. Perfect for warm summer days.

availability
The current availability of the item. Supported values: in stock, out of stock. Out of stock items don't appear in ads, which prevents advertising items that aren't available. They do still appear in shops on Facebook and Instagram, but are marked as sold out.

Example: in stock

condition
The condition of the item. Supported values: new, refurbished, used.

Example: new


price
The price of the item. Format the price as a number, followed by a space and then the 3-letter ISO 4217 currency code. Always use a period (.) as the decimal point, not a comma (,). Don't include currency symbols such as $, € or £. Only use one currency in your feed. To add prices in other currencies for selling in different countries, upload a country feed.

Examples: 9.99 USD or 7.99 EUR

Note: To sell directly on Facebook and Instagram with checkout (US only), the supported price range is 0.50 to 10000 USD.

link
The link to the item's specific product page on your business's website where people can learn more about or buy that exact item. Links must begin with http:// or https://, be valid and be hosted on your business’s website domain. Don't provide a link to a Facebook domain (such as your business's Facebook Page) or somewhere else.

Example: http://www.jaspersmarket.com/products/shirt

image_link
The URL for the main image of your item. Images must be in JPEG or PNG format, at least 500 x 500 pixels and up to 8 MB. See product image specifications.

Example: http://www.jaspersmarket.com/products/shirt.jpg

Note: If you change the image later, the new image must use a different URL or the change won't be recognized.

brand
The brand name, unique manufacturer part number (MPN) or Global Trade Item Number (GTIN) of the item. You only need to enter one of these, not all of them. For GTIN, enter the item's UPC, EAN, JAN or ISBN. Character limit: 100.

Example: Jasper's Market
Contact me directly: Ironfeatherbooks (@) gmail.com

Image

User avatar
Stevyn
SysOp
Posts:1776
Joined:Mon Nov 09, 2009 10:03 am
Location:Japan
Contact:

Re: Facebook seller data feed

Post by Stevyn » Sat Aug 26, 2023 10:07 am

XML

Code: Select all

<?xml version="1.0"?>
<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">
<channel>
<title>Test Store</title>
<link>http://www.example.com</link>
<description>An example item from the feed</description>
<item>
<g:id>DB_1</g:id>
<g:title>Dog Bowl In Blue</g:title>
<g:description>Solid plastic Dog Bowl in marine blue color</g:description>
<g:link>http://www.example.com/bowls/db-1.html</g:link>
<g:image_link>http://images.example.com/DB_1.png</g:image_link>
<g:brand>Example</g:brand>
<g:condition>new</g:condition>
<g:availability>in stock</g:availability>
<g:price>9.99 GBP</g:price>
<g:shipping>
<g:country>UK</g:country>
<g:service>Standard</g:service>
<g:price>4.95 GBP</g:price>
</g:shipping>
<g:google_product_category>Animals &gt; Pet Supplies</g:google_product_category>
<g:custom_label_0>Made in Waterford, IE</g:custom_label_0>
</item>
</channel>
</rss>


Contact me directly: Ironfeatherbooks (@) gmail.com

Image

Post Reply