Google Merchant Center requires you to include your shipping rates as part of your feed. Failing to do this will result in errors when attempting to process your feed such as the example below.

Your webstore product prices and shipping costs must match the feed that’s sent to the Google Merchant Center.
Tip: It’s important to recognise Google’s shopping data feed does not offer as many options as the Maropost Commerce shipping calculator so this feed may not be viable for some businesses.
There's a few ways we recommend charging for shipping in Maropost Commerce so as to best match what Google can calculate:
-
Free shipping: The easiest way to set up this feed is to have free shipping on your products and will instantly bypass the need to make changes to your feed.
-
Flat Rate Shipping: Offer Flat Rate Shipping: Offering flat rate shipping for your products is your second best option for your feeds. See our article on setting up flat rate shipping for your products. With this method you can just set up a matching flat rate cost in your Google Shipping Matrix.
-
Create rates based on location: Configure rates based on shipping destination using countries, and states only.
-
Create rates based on your product details: Define your shipping rates based on weight. This requires additional set up in the Google Merchant Centre.
All rates can have their costs calculated based on subtables. Subtables are generally used to set specific delivery locations. For example, you can use subtables to calculate shipping cost based on weight and postcode.
Tip: If you provide multiple shipping services for the same product in a country, Google will calculate the lowest rate for a product and display that to users.
This is just a few of the options available which we will cover in this guide. If you are looking for something more advanced, we recommend reading more about shipping options in Google’s Products Feed Specification.
Add Shipping Costs
To add your shipping costs to your Google Shopping Feed:
-
In your Maropost Commerce control panel navigate to Other > Shopping Comparison Feeds.
-
On the Google Shopping feed, click the Edit button.
-
Scroll down to the File Builder. You will be modifying the FILE HEADER and FILE BODY - body sections.

-
In the above screenshot, we've added 'shipping(country:price)'' to the FILE HEADER field and added 'AU:7.40 AUD' to the FILE BODY - body field.
Identify from the table below which type of shipping you wish to add to your feed and replace these fields accordingly.
Description | FILE HEADER field | FILE BODY - body field examples |
---|
Set flat rate shipping | shipping(country:price) | AU:7.40 AUD |
Set multiple shipping options and pricing based on location | shipping | AU:NSW:Regular:0 AUD,AU:QLD:Regular:13.12 AUD or AU:::6.49 AUD |
Set price based on weight | shipping_weight | [@weight@] |
-
The table uses tabs between columns, so it’s best to copy the space between the existing columns to replicate that tab. Do not use the space-bar to make a column. Once you've added the extra column, add a line-break (ENTER key).
-
Once done, click Save. Go to the top of the feed and click the green Generate Data File button. Wait for the export to finish, go back to your Google Merchant Center and click Fetch Now in your product feeds.
-
You are now done. Don’t forget to review and correct any errors you see along the way.
Next Steps