Optimising the Google Shopping feed by margin: a practical guide
How to optimise your Google Shopping feed by margin: custom labels, product cost and structure so Google Ads invests where you make a profit.
By Samuel Rodríguez, former Google paid media consultant

To optimise your Google Shopping feed by margin, you need to tell Google Ads which products make you money and which don't. In practice, there are three steps: calculate each product's margin, pass it to the Merchant Center feed using custom labels, and send product costs to measure gross profit rather than just turnover. With that, you can split campaigns by margin tier and set each group the target ROAS it actually needs.
I've worked with online shops internally at Google, as an ecommerce Account Manager, and later in an agency. It's one of the changes I recommend most and see applied least. Not because it's complicated, but because it requires combining business data with campaign data. Here's how I set it up.
Why optimise your feed by margin and not just by ROAS
ROAS measures revenue divided by spend. It doesn't know how much it costs you to manufacture, buy, or ship what you sell. To Google Ads, a £100 sale is just as good whether it leaves you with a £60 margin or an £8 margin. And if the campaign has a single target ROAS, the algorithm will push the products that convert most easily, which are often the cheapest ones with the lowest margin.
The calculation that changes everything is the break-even ROAS: 1 divided by your margin. Using round numbers as an example:
Product with a 50% margin: you start making money from a ROAS of 2.
Product with a 25% margin: you need a ROAS of 4 just to break even.
Product with a 10% margin: the break-even point is at a ROAS of 10.
If all three coexist in the same campaign with a target ROAS of 4, the first is underfunded, the second is just about breaking even, and the third makes you lose money on every sale. The report will say the campaign is hitting its target. Your profit and loss account will tell a different story.
Step 1: calculate the true margin for each product
Before touching the feed, you need reliable data per product or, at the very least, per product family. You don't need accounting-level precision, but you do need to include what really eats into profit:
Selling price excluding VAT. This is the shop's actual revenue.
Product cost. Purchasing, manufacturing, or average cost if it varies by supplier.
Logistics. Shipping, packaging, and fulfilment if you cover them.
Returns and transaction fees. A product with high return rates or an expensive payment gateway leaves less margin than it seems.
This gives you a margin percentage per product. If your catalogue is very large, start with the SKUs that account for most of your Shopping spend and expand from there.
Step 2: push margins to the feed using custom labels
Merchant Center allows five custom labels, from custom_label_0 to custom_label_4. They're used to create filters in Performance Max, Shopping, and Demand Gen campaigns, both for segmentation and bidding. Customers don't see them, so you can use whatever internal names you like. Each label supports up to 1,000 unique values across the account, and each product carries only one value per label.
My recommendation is not to enter the exact percentage, but rather tiers. That way, the report can be read at a glance and you won't get close to the value limit. A structure that works well for most shops:
custom_label_0, margin tier: high margin, medium margin, and low margin, with thresholds that make sense for your business.
custom_label_1, performance: bestsellers, products with clicks but no sales, and products with no impressions.
custom_label_2, seasonality: summer, winter, sales, back to school, or whatever applies to your catalogue.
custom_label_3, price range: useful because the average order value significantly affects the ROAS you can target.
custom_label_4, stock status or clearance: to push or throttle products without rebuilding campaigns.
You have several options for populating them. If your platform or feed management tool allows it, add the label directly from there. If not, in Merchant Center you can use a supplemental data source, a spreadsheet with the product ID and label, or rules that assign values automatically. Keep in mind that Google notes new or edited labels can take between 24 and 48 hours to appear in Google Ads, so don't change your campaign structure on the same day.
An important detail: margins change. If you negotiate with a supplier or raise prices, the label must update automatically. A margin-based feed that is only reviewed once a year ends up lying.
INITIAL AUDIT
Does your feed still lack margin data?
We'll review your Merchant Center and show you where to start.
Step 3: send product costs to measure gross profit
Labels help you segment. To measure, the attribute you need is cost_of_goods_sold, the cost of the products sold. Combined with cart data from your conversions, Google Ads can show you gross profit in addition to revenue, order volume, and average cart size.
What you need to bear in mind to make it work:
Format: a number plus currency in ISO 4217 code, using a full stop as a decimal separator, for example 12.50 GBP. Google recommends using the same currency as the conversion value.
It doesn't have to be exact. If costs vary, you can send an average.
Conversions with cart data. The purchase tag must pass the items in each order, and the IDs of those items must match the feed's ID attribute exactly.
Linked Merchant Center account. Without that link, there's no way to cross-reference sales and costs.
This is the step most often skipped because it involves tweaking tracking, but it's the one that lets you stop arguing about ROAS and start discussing how much profit each campaign actually generates.
Step 4: structure campaigns by margin tier
With the margin label in your feed, you can now filter products in Shopping or Performance Max product groups. What I usually do:
High margin: lower target ROAS and higher budget. This is where it pays to capture market share.
Medium margin: target ROAS close to break-even plus your desired profit margin.
Low margin: demanding target ROAS or a limited budget. It's not always wise to exclude them, as they're often the entry point for repeat customers.
Be careful not to over-segment. Every campaign using automated bidding needs conversion volume to learn. If you have few sales per month, two well-fed groups are better than five campaigns that never exit the learning phase. And if you're using Performance Max, also split out branded traffic so it doesn't inflate results for your best-selling tier.
Step 5: improve titles and attributes starting with your highest-margin items
Optimising your feed isn't just about margins. If profitable products don't appear in the right searches, it doesn't matter how you segment them. That's why I prioritise working on titles and attributes in the high-margin tier.
What Google says about titles, and what I put into practice:
Up to 150 characters, but users usually only see the first 70 or fewer depending on the screen. Front-load the important information.
Words people search for: product type, brand if it sets you apart, model, and specific details like material or key features.
Clearly described variants: size or colour in the title, as well as in their colour and size attributes.
No promotional text: no price, no free shipping, no dates, and no shop name. Also avoid all-caps and symbols.
Next, make sure key attributes are complete and consistent with the product page. A feed with errors or data that doesn't match the site loses impressions, and that hurts most on the products you're most keen to sell.
INITIAL AUDIT
Want to structure Shopping by margin?
In a 20-minute call, we'll review your catalogue and propose your tiers.
Mistakes I see when optimising feeds by margin
Calculating margin using VAT-inclusive prices and overestimating the entire catalogue.
Creating the labels and never using them in any campaign or report.
Setting a different target ROAS per tier without checking whether each campaign has enough volume.
Excluding the entire low-margin tier in one go without checking if those products bring in new customers.
Leaving labels static while prices and costs change.
If you'd like to review the rest of your account using the same criteria, check out my 30-point Google Ads audit checklist.
How to get started this week
You don't need to rebuild the entire account. Calculate the margin for your top 50 to 100 products by spend, create the margin tier label, and watch how spend is distributed across tiers over a few weeks. There's almost always a surprise: a chunk of the budget is going to products that barely generate any profit.
If you'd prefer me to set it up with you, in my Google Ads management service I treat the feed, tracking, and campaign structure as a single entity, because in ecommerce they don't work in isolation. You can see an example in this ecommerce case study with a 25.32 ROAS.

