Sending Generic XML products to the Meta catalog
Here is how you send the products in your XML file to the Meta catalog with HexFeed: you enter your XML address in Settings and create a profile that maps XML tags to product fields; HexFeed pulls products, prices and stock from your XML source regularly. Then, on the Feeds screen, you create a feed with the “Facebook” option in the platform list and use rules to decide which products go out. Finally, you add the protected XML address from the feed's Access tab on the Meta side; Meta reads the feed on its own schedule and keeps your products up to date.
What is Meta (Facebook and Instagram) Catalog for?
The product catalog in Meta Commerce Manager; it feeds catalog ads on Facebook and Instagram (Advantage+ catalog ads, dynamic ads) and shop experiences.
Feed format: XML (RSS 2.0)
The Generic XML side
HexFeed connects to your Generic XML store via XML mapping profiles. What you need: the XML address that holds your products and a mapping profile for this XML.
Details of the Generic XML integrationStep by step: Generic XML → Meta feed
Set up in 11 steps; menu names on the Meta side may differ slightly depending on your account.
- 1
Open your HexFeed account
Sign up at app.hexfeed.io and create your store.
- 2
Set up the Generic XML connection
In Settings > E-Commerce Platform, select Generic XML and create a profile with “Manage XML Mapping Profiles”: enter the XML address, the tag that represents a product and the field mappings. When the profile is saved, the XML URL is written to the connection automatically.
- 3
Check the first sync
Product data is pulled from your XML source: products in the XML, the price, stock, image and category fields you map, variants (if a variant mode is selected in the profile). The numbers of added, updated and failed records for each run appear on the Integration Logs screen.
- 4
Create the Meta feed
On the Feeds screen, click “Create Feed”; choose the “Facebook” option from the platform list, then set the feed name and the variant preference. The feed is created protected with an access key.
- 5
Prepare the fields for Meta
On the feed's Internal Labels tab, define with rules the labels you will use in product sets (e.g. best seller, low stock, new arrival).
- 6
Set up rules, discounts and images
On the Rules tab, filter the products that will go into the feed; if needed, add a feed-specific discount, a product limit and an image template. The Filtered Products screen shows which products will go into the feed.
- 7
Copy the feed address
Copy the address from the feed's Access tab. Because Meta Commerce Manager offers username and password fields for scheduled feeds, you can enter the key in these fields.
- 8
Add the address on the Meta side
In Meta Commerce Manager, open your catalog and add a new data feed from the data sources section.
- 9
Complete the Meta setup
Choose the scheduled feed and enter the HexFeed feed address; enter the details from HexFeed's Access tab into the username and password fields.
- 10
Verify the upload
Set the update frequency; after the products are uploaded, create product sets based on internal labels.
- 11
Monitor access
The feed's access logs show when the Meta side fetched the feed; the quality score lists missing fields with sample products.
Which fields are written to the Meta feed?
HexFeed generates the fields below from the product data that comes from your XML source. In a feed with variants, each size is written as a separate product and linked to the parent product with item_group_id; Meta shows these products in the same product group.
id, title, description, linkimage_link and up to 10 additional_image_linkprice, sale_price (if discounted), availability, conditionbrand, google_product_category, product_typeitem_group_id and size (in a feed with variants)gender, colorcustom_label_0–4internal_label (internal labels)
What does HexFeed add to your Meta feed?
Instead of sending the data that comes from your XML source as it is, you set up a separate feed for Meta:
Filtering products with rules
You decide which products go into the feed with rules such as price, stock, size availability, category, brand, color, size, discount rate, product name, tag and GA4 metrics (views, add-to-carts, purchases, conversion). A product must match all the rules you define.
Product limit
You sort the products that remain after the rules by a criterion you choose (e.g. Google purchases in the last 30 days) and take the top N products into the feed.
Feed-specific discount
You schedule percentage or amount discounts that apply only to this feed, with a date range; the price in your store does not change.
Internal labels (internal_label)
Labels such as “best seller”, “low stock” or “new arrival” are written to products that match the rules; in Meta you build product sets based on these labels.
Custom label (custom_label_0–4)
When you select one of the feeds in the same channel as the main feed, the custom label keys of the other feeds are written to the custom_label fields of the products in the main feed. You split your campaigns by these labels.
Image templates
You design a discount badge, price strip or brand frame once; each product gets an image rendered with its own price and discount, and this image is used as the main image in the feed.
Stock and price sync
HexFeed refreshes product, price and stock data from your store at the frequency set for your store (from hourly to once a day; every 3 hours by default); a product that runs out of stock is written to the feed as out of stock, or removed entirely with a stock rule.
Protected feed address
The feed address is protected with an access key; requests without the key are rejected. The access logs show when the feed was fetched.
Feed quality score
Feed products are analyzed; issues such as a missing GTIN or a short description are listed with sample products, and the change from the previous analysis is shown.
Meta ads reports
By connecting your Meta ad accounts you track spend, revenue, ROAS, CPM, CPC and CTR together with your product catalog. Creating ads from within HexFeed is currently in early access.
Frequently asked questions about Generic XML and Meta
What do I need to set up a Meta feed with Generic XML?
On the Generic XML side you need the XML address that holds your products and a mapping profile for this XML; on the Meta side you need an account where you can add the feed address. HexFeed generates a feed in XML format for Meta from the data that comes from your XML source.
When a price or stock changes in your XML source, when does Meta see it?
HexFeed refreshes product, price and stock data from your XML source at the frequency set for your store (from hourly to once a day; every 3 hours by default). Each time Meta reads the feed it gets this current data; you set the reading frequency yourself in the feed setting on the Meta side.
How are the sizes and colors of my Generic XML products reflected in the Meta feed?
Variants are read according to the variant mode you choose in the mapping profile. Records with an empty ID are skipped; with the skip condition you can leave unwanted records out from the start. In a feed with variants, each size is written as a separate product and linked to the parent product with item_group_id; Meta shows these products in the same product group.
What are internal labels (internal_label) for in Meta?
They are labels HexFeed writes to products that match the rules. By filtering product sets by these labels in Meta Commerce Manager, you build sets such as “best sellers” or “low stock” without updating them by hand.
Can I create more than one feed for the same catalog?
Yes. You can create multiple Meta feeds with different rules, discounts or image templates. When you select one as the main feed, the custom label keys of the others are written to the products in the main feed as custom_label.
Can my Meta feed address be downloaded by others?
The feed is created protected with an access key; requests without the key are rejected. Because Meta Commerce Manager offers username and password fields for scheduled feeds, you can enter the key in these fields. You can change or remove the key from the feed's Access tab.
Other channels for Generic XML
Set up your Generic XML → Meta feed
Set up your Generic XML connection and create your first Meta feed. If you would like to do the setup together, contact us.
