XML feed with COGS data

Modified on Wed, 30 Apr at 12:05 PM

Reaktion.com platform regularly imports detailed product catalog information from your ecommerce platform (Shopify, Magento2, WooCommerce, etc.).


In case your ecommerce platform does not provide detailed information about products, our advice is to provide an alternative product catalog in the form of an XML data feed. 


XML data feed is a file containing information about your products and following a certain structure. Our platform regularly imports the contents of such feeds, so that your crucial product information is always available and up to date.


You can easily import and automatically update COGS data automatically on you're entire product catalogue via a XML feed in Reaktion.


How to upload your XML feed with COGS data in Reaktion:

If you already have an XML feed with your COGS data that is in our supported format (ex. Google Shopping XML feed format). Outlined in details below in "Create an XML feed with COGS data" section. Then you can proceed to uploading this feed into Reaktion. 


1. Log into Reaktion and navigate here: https://advertiser.reaktion.com/setup/cost-settings?step=1



Now: Click "Add product feed" button (step 4 on the screenshot above) and select "XML". Paste your XML feed URL and click "Add"


You feed is now successfully added. We now need to re-synchronise all your products and match COGS data. This can take up to 5-6 hours. 


Verify your COGS data after 5-6 hours:


You can verify your COGS data here:  https://advertiser.reaktion.com/setup/product-settings




Create an XML feed with COGS data


Reaktion.com platform supports the most popular product catalog XML feed format (used in Google Shopping etc.) — Google’s Product Data format. We expect you to provide a publicly available URL that points to a correctly formatted Google’s Product Data XML feed.



Use your existing Google Shopping XML feed:

Google’s Product Data XML feed format is extensively documented on: 


LINK: https://support.google.com/merchants/answer/7052112. 


Important: Add COGS to to your Google Shopping feed: 

"cost_of_goods_sold" — product cost with three-letter ISO 4217 currency code (if currency is not provided, we will assume ecommerce platform’s default currency).



In general: Here’s the list of the attributes that we most care about in your XML feed:


id — product variant identifier used by your ecommerce platform (if product has multiple variants); product identifier used by your ecommerce platform (otherwise), 

item_group_id — product identifier used by your ecommerce platform (if product has multiple variants); empty value (otherwise),

cost_of_goods_sold — product cost with three-letter ISO 4217 currency code (if currency is not provided, we will assume ecommerce platform’s default currency).




Example XML feed:


<?xml version="1.0"?>

<rss xmlns:g="http://base.google.com/ns/1.0" version="2.0">

   <channel>

       <title>my feed</title>

       <link>https://mystore.dk</link>

       <description></description>

       <item>

           <g:id>456</g:id>

           <g:item_group_id>123</g:item_group_id>

           <g:cost_of_goods_sold>110.65 DKK</g:cost_of_goods_sold>

       </item>

       <item>

           <g:id>789</g:id>

           <g:item_group_id>123</g:item_group_id>

           <g:cost_of_goods_sold>115.21 DKK</g:cost_of_goods_sold>

       </item>

   </channel>

</rss>



Example CSV feed:


id,item_group_id,cost_of_goods_sold 

456,123,110.65 DKK

789,123,115.21 DKK

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article