How to Group Shopping Products by Margin in Google Ads

Outdoor retailer holding a lantern beside the words Which Products Pay?

Published

A backpack and a headlamp can both sell for $60 and generate exactly the same revenue in Google Ads. But if the backpack costs $39 to buy and $9 to fulfil, it leaves just $12 to pay for advertising and overhead. If the headlamp costs $21 to buy and $6 to fulfil, it leaves $33. An advertising report sorted by revenue hides that difference.

You can make the difference visible with a Merchant Center custom label. Start with a small set of products, calculate their contribution before advertising, and check that Google Ads groups each item as expected. You can run the entire test without changing a budget or excluding a product.

Choose the decision your margin bands will support

Suppose a retailer wants to know which products have the least room to absorb acquisition costs. Contribution as a percentage of selling price is a useful starting point because the advertising team compares revenue with spend. A buyer choosing between two products for an upsell might care more about cash contribution per unit. Keep both numbers in your sheet and label the one that answers your question.

For this example, contribution equals net selling price minus product cost and variable fulfilment costs. Include packaging, payment fees and any delivery cost the shop absorbs where they apply. Use the same tax basis throughout. If you sell in several markets, calculate each offer in its own currency using its local price and costs. A US shipping allowance is a poor substitute for the cost of delivering the same item in Australia.

Hands packing a backpack and a headlamp in different-sized shipping boxes.
Shipping two products at the same selling price can leave very different amounts for advertising. AI-generated editorial illustration by Qandey Tech.

Build a five-row pilot in a spreadsheet

Copy five offer IDs from the product source that feeds Merchant Center. Keep IDs as text so the spreadsheet preserves leading zeros. Use one row per offer. Include two products you expect in different bands, one right on a threshold, one missing a cost and one selling below its variable cost.

Put the offer ID in column A, net selling price in B, product cost in C and remaining variable costs in D. Use percentages under 25% for low, 25% to under 45% for mid, and 45% or more for high. These illustrative thresholds belong to this pilot. Choose boundaries that would change a real decision in your business.

Calculate the label and test the boundaries

In E2, enter the following formula and fill down. It treats a missing numeric input or a nonpositive selling price as a review item. A genuine zero cost can be entered explicitly. The formula assumes that costs are expressed as nonnegative amounts.

=IF(OR(COUNT(B2:D2)<3,B2<=0),"review",IF((B2-C2-D2)/B2<0.25,"low",IF((B2-C2-D2)/B2<0.45,"mid","high")))
Example itemPrice ($)Cost ($)Other costs ($)MarginLabel
Backpack6039920%low
Headlamp6021655%high
Lantern4024625%mid
Kettle40Missing5Unknownreview
Clearance tent1009212−4%low

Check the lantern by hand. Its $10 contribution divided by $40 is exactly 25%, so it belongs in the middle band. The kettle is different. If a spreadsheet silently treats its missing cost as zero, the kettle looks unusually attractive. A separate review value gives the merchandising team a visible list of data gaps.

Send the margin band to Merchant Center

Inspect all five custom-label fields in your current feed before choosing one. A field that looks empty on your pilot products may already control a seasonal campaign elsewhere. Ask the person managing Shopping campaigns which fields their product groups depend on. The example below assumes custom_label_2 is available.

Map the final text value in column E to custom_label_2 in the feed integration you already use. If that integration supports an additional product data source, match the exact offer IDs and feed context. Preview the mapping on the pilot rows first. Leave prices, availability, product IDs and the other labels as they are. A stable vocabulary makes next month’s export comparable to this month’s.

Google provides five numbered custom-label attributes. Each can hold one value per item, and the labels are for campaign organisation rather than customer-facing product copy. See the Merchant Center custom-label specification.

Verify the feed and the campaign separately

Warehouse worker scanning a camping kettle at a packing bench.
Match each pilot offer to its product record before checking group totals. AI-generated editorial illustration by Qandey Tech.

First, inspect the processed product details for the five offer IDs in Merchant Center. Match each label to your worksheet. If the kettle shows high instead of review, fix the missing-cost rule at the source. If a label vanishes after the next scheduled feed refresh, find which integration last wrote the field.

Next, inspect the products in the linked Google Ads account. Google says new or edited labels can take 24 to 48 hours to appear. If Merchant Center already shows the correct labels, record the refresh time before resubmitting anything. See Google’s Shopping custom-label guide.

For Performance Max, open the relevant asset group and its listing groups. Inspect the existing product selection before subdividing by your chosen custom label. Preserve existing inclusion and exclusion decisions, including the group for everything else. A low-margin product may still deserve coverage, and products outside the pilot still need their original treatment. See Google’s listing-group instructions.

Your acceptance test is simple. Among these five offers, find two low, one mid, one high and one review. Match the individual IDs as well as the counts. Two swapped labels can still give the right totals. Check a sixth product outside the pilot to confirm that its eligibility stayed the same.

Use the results before changing spend

Return to the backpack. At $12 contribution on $60 revenue, revenue divided by pre-ad contribution is 5. In this simplified single-item example, a 5× revenue-to-ad-spend ratio would consume the full $12 available before overhead. For the headlamp, the equivalent is about 1.82×. Neither number is a bidding recommendation. Returns, multi-item baskets and repeat orders can materially change that calculation.

Review actual orders behind the numbers before acting on the labels. If purchase revenue looks inflated, start with Qandey Tech’s two-order duplicate purchase test. If a promotion moves a product into a lower band, verify the effective price using our Merchant Center sale price checklist.

Common questions

Will applying a label change my bids?

Adding a value to an unused field gives you a way to group products. If a campaign already uses that field, a changed value can move an offer into a different group and affect eligibility. That is why the first check covers existing campaign rules.

How often should the margin calculation run?

Refresh it when selling price, product cost or fulfilment assumptions change. For a pilot, record the source date beside each input and assign someone to handle review rows. Expand the mapping once it survives both a price change and a routine feed refresh.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *