Google Shopping and the product feed, done properly

TL;DR

Difficulty: Intermediate

Google Shopping runs on your product data, not on keywords, so the feed decides what you can show and what Google thinks each sale is worth.

  • Set up Merchant Center properly: verified site, delivery costs, returns policy, a CSS.
  • Send every required attribute, a valid GTIN where one exists, titles that start with what people search for, and clean images of at least 500 pixels.
  • Keep the feed price identical to the page, and give the lowest price of the last 30 days as the prior price in any reduction.
  • Work out each product's breakeven ROAS, put it in a custom label and build campaigns around the bands.
  • Generate the feed from your own shop through the Merchant API, so stock, price and margin reach Google as they change.

A Shopping ad is a product, not a keyword, and Google can only show what your product data tells it. This chapter walks through Merchant Center, every attribute that matters, the Irish rules on sale prices, margin labels and campaign structure, using one invented homeware shop in Limerick, and ends with the feed generated straight from a Solidus shop.

Google Shopping runs on your product data, not on keywords

A search ad starts with words you choose. A Shopping ad starts with a product you sell. When someone searches for "brass table lamp", Google looks through the product data that shops have sent it and picks the products it thinks match. Google's own help page puts it plainly: Shopping ads "use your existing Merchant Center product data (not keywords) to decide how and where to show your ads"1. You pay per click, and only when someone clicks through to your product page1.

That sentence explains most of this chapter. Thin data makes thin ads. Wrong data gets the ads switched off. Data with nothing about margin lets Google spend your money as if every product earned the same. So the work is mostly about the product feed: a structured list of every product with its title, price, stock, images and identifiers, kept in sync with the shop.

The same data also feeds three other places. Free listings show your products on Google at no cost2. Performance Max, Google's automated campaign type, reads it for its shopping placements. And in Ireland and most of Europe, a Comparison Shopping Service (CSS) places your Shopping ads on your behalf3. One well kept feed serves all of them.

If you have not yet decided whether Google should be your first channel at all, start with where an online shop should advertise. This chapter assumes you have decided, and shows how to do it properly.

Tap or click to open full screen and move around

Example: one lamp on its way to an ad

The example shop for this series is Shannonside Home, an online homeware shop in Limerick (shannonsidehome.example). Niamh owns it, Callum is the developer. It sells about 1,400 products: ceramics, kitchen textiles, lamps and small furniture. The shop's numbers, which every chapter in this programme uses: 110,000 sessions a month, a conversion rate of 1.8%, 1,980 orders a month, an average order value of €84 including VAT, a gross margin of 52% on product, 9% of orders returned, and €16,500 a month of advertising.

Take one product, a brass table lamp at €169. In Callum's database it is a row with a stock keeping unit (SKU) code, a price, a stock count of 23, three photos, the manufacturer's barcode and the price Niamh paid. Callum's code turns the row into a feed entry and sends it to Merchant Center. Google checks it, and it passes, so it can appear in free listings, and because Niamh's campaign includes lamps, as a paid ad. A shopper in Cork clicks it and lands on the product page, where the price reads €169. Each step in that chain is a place where the lamp can fall out. The chapter goes through them in order.

Merchant Center comes first, and it wants four things

Google Merchant Center is the free account where your product data lives. Google Ads reads products from it, so the two accounts are linked1. Before the first product goes in, Merchant Center wants four things from you.

  • A verified website. Every product link must use your verified domain4.
  • Delivery costs. Google requires delivery costs for Shopping ads and free listings in a list of countries4, and Irish shoppers compare the total anyway. You can set them once in the account's delivery settings or per product with the shipping attribute.
  • A returns policy. Google asks for return policy information for free listings, ideally entered in Merchant Center itself2.
  • A Comparison Shopping Service. In Ireland, the UK and much of Europe, Shopping ads are placed by a CSS. New accounts start with Google's own CSS, called Google Shopping3. More on that choice further down.

Example: Niamh's setup list

Niamh works through the four in one afternoon. Callum verifies shannonsidehome.example. Niamh enters the delivery rates the shop already charges: €4.95 for orders under €50, free from €50, and €45 for furniture, which goes by a two person courier. She copies the returns policy from the shop's own page and leaves the CSS on Google Shopping for now. None of it is clever. All of it is required before a single product can show.

The product data specification, attribute by attribute

Google publishes exactly what each product entry must contain, in a document called the product data specification4. Each piece of information is an attribute, written in lower case with underscores, such as image_link. Some are required for every product, some only for certain products, and some are optional but make a real difference.

Here are the ones a homeware shop needs, with the limits Google sets4:

AttributeRequired?What it holds and the limit
idYesYour unique product code, up to 50 characters. Use the SKU and never change it.
titleYesPlain text, up to 150 characters.
descriptionYesPlain text, up to 5,000 characters.
linkYesThe product page, on your verified domain.
image_linkYesThe main image. From 31 January 2027, at least 500 x 500 pixels for all products.
additional_image_linkNoUp to 10 more images.
availabilityYesin_stock, out_of_stock, preorder or backorder.
priceYesAmount and currency, such as 169.00 EUR. Outside the US and Canada it includes VAT.
sale_priceNoA reduced price, sent alongside the normal price.
brandYes for new productsUp to 70 characters. Never "N/A" or "Generic".
gtinStrongly recommendedThe manufacturer's barcode number, up to 14 digits.
mpnOnly without a GTINThe manufacturer part number, up to 70 characters.
conditionOnly for used or refurbishednew, refurbished or used.
item_group_idYes for all variants in free listingsTies colours and sizes of one product together.
product_typeNoYour own category path, up to 750 characters.
shippingRequired in listed countries unless set in the accountDelivery cost per country.
custom_label_0 to custom_label_4NoYour own labels, up to 100 characters each, never shown to shoppers.
cost_of_goods_soldNoWhat the product costs you.

Two rules sit behind the table. The id is the product's identity: change it and Google treats it as a new product with no history. And every value must match the product page, or the product gets disapproved.

Example: the brass lamp as a complete entry

Here is the lamp as Callum's code sends it. The values are invented for the example.

AttributeValue
idSH-LAMP-0412
titleBrass table lamp with pleated linen shade, 48 cm, E27, matt brass, Shannonside Home
descriptionTwo paragraphs from the product page: materials, dimensions, bulb fitting, cable length, care.
linkhttps://shannonsidehome.example/products/brass-table-lamp-linen-shade
image_linkThe 1,600 pixel cut out photo on a plain background
additional_image_linkTwo more angles and a close up of the switch
availabilityin_stock (23 on hand)
price169.00 EUR
brandThe manufacturer's brand, exactly as printed on the box
gtin5060123456783
conditionnew
item_group_idSH-LAMP-04 (the same lamp also comes with a green shade)
product_typeHome > Lighting > Table lamps
custom_label_0band_b (the margin band, explained below)
custom_label_1stock_deep
custom_label_2evergreen

Every row comes from the shop's database, so when the price or stock changes in the shop, the feed changes with it.

GTIN, brand and MPN tell Google exactly which product it is

A Global Trade Item Number (GTIN) is the number under a barcode. GS1, the organisation that issues them, defines several lengths: 8, 12, 13 and 14 digits. Google recommends sending the GTIN for every product that has one assigned by its manufacturer, says that including it "can increase the performance of the product", and warns that leaving out a GTIN that exists can get the product disapproved5. The reason is matching. With a GTIN, Google knows your lamp is the same lamp other shops sell, and can show it for searches about that exact product.

Products you make yourself or have made under your own name often have no GTIN. For those Google says not to invent one, and to send the brand and the mpn instead5. Google also lists a few traps: the check digit must be correct, some prefixes are reserved and must not be used (02, 04 and 2, and the coupon prefixes 05, 98 and 99), and every variant, each colour and each size, needs its own number5.

The check digit is the last digit of the GTIN. It is calculated from all the others, so a typo almost always breaks it. GS1 describes the method6. Starting from the rightmost digit before the check digit, multiply the digits alternately by 3 and by 1, add up the results, and the check digit is whatever you need to add to reach the next multiple of ten.

Example: checking the lamp's barcode by hand

The lamp's GTIN is 5060123456783 (an invented number). The first twelve digits are 506012345678, and the last digit, 3, is the check digit. Work from the right: the 8 gets weight 3, the 7 gets weight 1, the 6 gets 3, and so on.

Digit506012345678
Weight131313131313
Product506016312518724

The products add up to 87. The next multiple of ten is 90, and 90 minus 87 is 3. The barcode ends in 3, so the number is valid. Had someone typed 5060123456738 by mistake, the check would fail, and Callum's code rejects it before Google sees it.

That check is a few lines of Ruby, run on every save in the shop's admin:

# app/models/concerns/gtin_check.rb
module GtinCheck
  LENGTHS = [8, 12, 13, 14].freeze

  def self.valid?(gtin)
    digits = gtin.to_s.delete(" ")
    return false unless digits.match?(/\A\d+\z/) && LENGTHS.include?(digits.length)

    *body, check = digits.chars.map(&:to_i)
    sum = body.reverse.each_with_index.sum { |digit, i| i.even? ? digit * 3 : digit }
    (10 - sum % 10) % 10 == check
  end
end

The method strips spaces, rejects anything that is not 8, 12, 13 or 14 digits, then does exactly the sum from the table: reversed, so the digit next to the check digit gets weight 3.

Titles decide which searches you can appear for

Google matches products to searches mainly through the title. Its guidance is short and worth following to the letter7. Use the space, up to 150 characters, because the title is used for matching. Put the most important details first, because people "will usually notice only the first 70 or fewer characters". Do not use capital letters for emphasis, and keep out promotional text: no prices, sale words, delivery offers or dates, since those belong in their own attributes.

For homeware, a pattern that works is: what it is, the defining material or feature, size, colour or finish, then the brand. Brand goes first only when people search for the brand, as they would for a well known designer.

Example: three titles rewritten

Niamh's original titles came from the shop's navigation, written for people already on the site:

BeforeCharactersAfterCharacters
Lamp Ophelia12Brass table lamp with pleated linen shade, 48 cm, E27, matt brass, Shannonside Home83
Shannonside table linen23Linen tablecloth, rectangular 140 x 250 cm, stonewashed sage green, Shannonside Home84
Mugs4Stoneware mug set of 4, 350 ml, reactive glaze in moss green, dishwasher safe77

"Ophelia" is the lamp's name in Niamh's range, and nobody outside the shop searches for it. The new title starts with the words a buyer types, "brass table lamp", well inside the first 70 characters. Size and bulb fitting answer the two questions that send people back to the results. The brand goes last, because nobody searches for Shannonside yet. And no title says "sale" or "free delivery", which Google excludes7.

Images that pass, and images that get clicked

The image is the ad. On a Shopping results page, a row of products sits side by side, and the photo is what people compare first. Google's rules for the main image are strict8:

  • From 31 January 2027, at least 500 x 500 pixels for every product. Google recommends 1,500 x 1,500 pixels or more.
  • The product should take up no less than 75% and no more than 90% of the image.
  • No promotional overlays: no calls to action, prices, discounts or delivery offers, and no adjectives such as "best".
  • No watermarks, borders, added logos, barcodes or placeholder images.
  • A lifestyle photo, the lamp on a sideboard in a living room, goes in its own attribute, lifestyle_image_link, and other angles go in additional_image_link.

Example: Callum's image size in Solidus

Shannonside runs on Solidus, an open source eCommerce framework for Ruby on Rails. Solidus resizes uploaded product photos into named styles, and its default largest style, large, is 1,200 x 1,200 pixels9. That passes the 500 pixel minimum but falls short of Google's 1,500 pixel recommendation. Callum adds one style for the feed:

# config/initializers/spree.rb
Spree.config do |config|
  config.product_image_styles = config.product_image_styles.merge(
    feed: "1600x1600>"
  )
end

The > means "shrink to fit, never enlarge", so a 3,000 pixel original becomes 1,600 pixels, and a small original stays small and shows up in Callum's report of undersized images. Then Niamh checks the 40 bestsellers. Eleven have a "NEW" sticker baked into the photo, a promotional overlay Google forbids8, so they are reshot as plain cut outs.

Price and sale price: the feed, the page and the law must agree

The price in the feed must be the price on the product page. Outside the US and Canada it includes VAT4. When the two disagree, Google says the product "may be disapproved", and that repeated mismatches "may lead to an account suspension"10. Google lists the usual causes: the shop changes a price and the feed is not updated, the page's structured data shows a different price from the visible one, sale dates or time zones are wrong, or a currency is converted on the page but not in the data10.

A reduction goes in sale_price, next to the normal price, with optional start and end dates in sale_price_effective_date4. Google can then show a sale annotation, the struck through old price. Google's page sets the rules country by country: the reduction must be more than 5% and less than 90%, both prices must appear on the landing page, and in most of the listed European countries the old price must have been valid for at least 30 of the past 200 days11. Ireland is not among the countries that page lists, so do not count on the annotation showing here, and even where it applies it is not guaranteed11.

Google's rules are not the law, and the Irish rule is stricter. What follows is general information, not legal advice. Since November 2022, a trader who announces a price reduction must state the prior price, defined as the lowest price the trader applied to the product in the 30 days or more before the reduction12. The Competition and Consumer Protection Commission (CCPC) explains the rule, with examples of what goes wrong, in its guidance on price reductions13. And a price claim that misleads about "the existence or nature of a specific price advantage" is a misleading commercial practice under section 43 of the Consumer Protection Act 200714. For the maths of discounts themselves, see offers and promotions.

Example: the tablecloth sale

The linen tablecloth normally sells at €68. Niamh plans a 20% reduction for two weeks in March:

68×(1−0.20)=54.4068 \times (1 - 0.20) = 54.40

Here 68 is the normal price in euro and 0.200.20 the reduction, so 54.4054.40 is the sale price. The feed carries price 68.00 EUR and sale_price 54.40 EUR, with a sale_price_effective_date that starts and ends at midnight Irish time on the right days.

The legal check comes first. In February the tablecloth ran at €61.20 for a week, a 10% promotion that ended 18 days before the March sale starts. So the lowest price in the last 30 days is €61.20, not €68, and under the regulation that is the prior price Niamh must show12. "Was €68" would be wrong. Niamh moves the sale back two weeks, until the February promotion is more than 30 days behind her, and then €68 is a fair prior price. Callum, for his part, makes the page and the feed read the sale dates from one promotion record, so the page can never show €68 while the feed still says €54.40, a price mismatch waiting to happen10.

Free listings are the shelf you do not pay for

Products in Merchant Center can appear without any campaign at all. Google calls these free listings: products shown at no cost on the Shopping tab, in Google Search, in Google Images and Lens, and in other places, depending on the country2. New Merchant Center accounts are opted in by default2. There is no bidding, and Google notes that being eligible does not guarantee being shown, because matching depends on your data2.

Free listings give every product a presence, including the ones that could never pay for a click. They use the same data, so better titles and images help both. And they test the feed fairly: a product with impressions but no clicks has a title, photo or price problem, not a bid problem.

Example: the mug set that cannot pay for clicks

The stoneware mug set costs €42. Further down, the arithmetic shows that a click on it may cost no more than about 13 cent for the ad to pay. That is too little to advertise it on its own. So it stays in free listings, where a click costs nothing, and appears as a suggestion on the lamp and tablecloth pages, adding to baskets that paid clicks already brought in. Only the shop can make that call, because only the shop knows what the mug set earns.

Custom labels carry what only you know

Google knows your titles, prices and stock. It does not know your margins, how many weeks of stock you hold, which products are seasonal or which ones you want to push. Custom labels are five free fields, custom_label_0 to custom_label_4, where you put exactly that4. Each holds up to 100 characters, each can have only one value per product, you may use up to 1,000 unique values per label across the account, and shoppers never see them415. New or changed labels can take 24 to 48 hours to appear in Google Ads15.

In the campaigns you split products by label and give each group its own bid, budget or campaign. Without labels you can only split by what Google already knows, which says nothing about what a product earns.

Example: Shannonside's five labels

Niamh and Callum agree on one meaning per label and write it down, because a label that means different things to different people is worse than none:

LabelMeaningValues
custom_label_0Margin band, from the breakeven ROAS calculated belowband_a under 3.5, band_b 3.5 to 4.5, band_c 4.5 to 6, band_d over 6
custom_label_1Stock depthstock_deep (8 weeks or more), stock_thin (under 2 weeks), stock_normal
custom_label_2Seasonchristmas, summer, evergreen
custom_label_3Price bandunder_50, 50_to_150, over_150
custom_label_4Range statusbestseller, new_in, clearance

Every value comes from the shop's own data, set by Callum's code. Across the 1,400 products, the margin band splits like this:

Bar chart of the invented example shop's 1,400 products grouped by breakeven return on ad spend. Band A, breakeven under 3.5: 410 products. Band B, 3.5 to 4.5: 520 products. Band C, 4.5 to 6: 300 products. Band D, over 6: 170 products. Most products sit in bands A and B, which can afford advertising; band D, mostly furniture and low priced small items, needs a very high return before any ad pays. Tap or click to open full screen and move around

What each product may cost to sell: breakeven ROAS per product

The margin band in custom_label_0 is not the gross margin percentage. Gross margin alone misleads, because a low priced product with a high margin can still lose money on every order once delivery and payment fees are paid. What matters for advertising is the contribution per order: what is left from one order after the product, the payment fee, the picking, packing and delivery, and the returns. The full method is in unit economics per order. Here it is applied to one product at a time.

The contribution of a single product order

c=m⋅P1+v⋅(1−r)−f⋅P−F−r⋅Hc = m \cdot \frac{P}{1 + v} \cdot (1 - r) - f \cdot P - F - r \cdot H

Here cc is the contribution per order before advertising, PP is the price including VAT, vv is the VAT rate, mm is the gross margin as a share of the price without VAT, rr is the share of orders returned, ff is the payment fee as a share of the price, FF is the cost of picking, packing and delivering one order, and HH is the cost of handling one return. The term (1−r)(1 - r) removes the margin lost on returned orders. Each piece is a rate applied to an amount, as in Foundations: ratios and rates and Foundations: percentages.

Example: the shop's average order

Shannonside's numbers are P=84P = 84, v=0.23v = 0.23, m=0.52m = 0.52, r=0.09r = 0.09, f=0.017f = 0.017, F=7.50F = 7.50 and H=10.50H = 10.50.

c=0.52⋅841.23⋅0.91−0.017⋅84−7.50−0.09⋅10.50=32.32−1.43−7.50−0.95=22.44c = 0.52 \cdot \frac{84}{1.23} \cdot 0.91 - 0.017 \cdot 84 - 7.50 - 0.09 \cdot 10.50 = 32.32 - 1.43 - 7.50 - 0.95 = 22.44

Step by step, with P=84P = 84: the price without VAT is €68.29. The gross margin on that is €35.51. After the 9% of orders that come back, €32.32 is kept. The payment fee takes €1.43, delivery €7.50 and returns handling €0.95. That leaves €22.44 per order.

Example: the four products

The same formula, one product at a time. The side table is furniture, so it has a higher return rate (15%), a courier cost of €28 and a return handling cost of €35.

ProductPrice PPMargin mmReturns rrDelivery FFReturn handling HHContribution cc
Mug set€4260%9%€7.50€10.50€9.48
Linen tablecloth€6858%9%€7.50€10.50€19.58
Brass lamp€16945%9%€7.50€10.50€44.95
Oak side table€37038%15%€28€35€57.62

Take the mug set: 34.15×0.60=20.4934.15 \times 0.60 = 20.49 of gross margin, times 0.910.91 is 18.6418.64, minus 0.710.71, 7.507.50 and 0.950.95, leaves 9.489.48. The highest margin product earns the least per order, because delivery eats a big share of a €42 order.

Breakeven ROAS: the return below which every sale loses money

Return on ad spend (ROAS) is the revenue an ad brings in, divided by what the ad cost. At the breakeven point, the whole contribution goes to the ad:

RBE=PcR_{\text{BE}} = \frac{P}{c}

Here RBER_{\text{BE}} is the breakeven ROAS, PP is the price including VAT, and cc is the contribution per order from above. If an ad returns less than RBER_{\text{BE}}, every sale it brings costs more in advertising than it earns. It is one quantity divided by another, as in Foundations: ratios and rates. Whether to steer by ROAS, by profit on ad spend or by the marketing efficiency ratio is its own question, answered in ROAS, POAS and MER.

Example: breakeven for the shop and for the four products

For the average order:

RBE=8422.44=3.74R_{\text{BE}} = \frac{84}{22.44} = 3.74

With P=84P = 84 and c=22.44c = 22.44, every €1 of advertising must bring in at least €3.74 of revenue before the shop makes anything. For the four products:

ProductPrice PPContribution ccBreakeven ROAS RBER_{\text{BE}}Band
Linen tablecloth€68€19.583.47band_a
Brass lamp€169€44.953.76band_b
Mug set€42€9.484.43band_b
Oak side table€370€57.626.42band_d

The side table needs €6.42 of revenue for every €1 of ads just to break even, almost twice what the tablecloth needs. A campaign that treats them the same will overspend on one or starve the other.

Target ROAS: breakeven plus the profit you want to keep

Breaking even is not the goal. Niamh decides she wants to keep a quarter of each order's contribution as profit and let advertising have the rest. Then the target is:

RT=P(1−s)⋅c=RBE1−sR_{\text{T}} = \frac{P}{(1 - s) \cdot c} = \frac{R_{\text{BE}}}{1 - s}

Here RTR_{\text{T}} is the target ROAS, ss is the share of the contribution the shop keeps as profit, and PP, cc and RBER_{\text{BE}} are as before. Dividing by (1−s)(1 - s) simply raises the bar by the profit you want to keep (Foundations: ratios and rates).

Example: target ROAS for the lamp

With s=0.25s = 0.25 and the lamp's breakeven of 3.76:

RT=3.760.75=5.01R_{\text{T}} = \frac{3.76}{0.75} = 5.01

Google Ads enters target ROAS as a percentage: conversion value divided by ad spend, times 10016. So the lamp's target is 501%. For the tablecloth it is 3.47÷0.75=4.633.47 \div 0.75 = 4.63, or 463%, and for the side table 6.42÷0.75=8.566.42 \div 0.75 = 8.56, or 856%. These targets are on the revenue the ads really cause. Google counts more orders than that, so the number entered in Google Ads is divided by the incrementality factor, explained in the campaign example below: for the lamp 5.01÷0.85=5.895.01 \div 0.85 = 5.89, or 589%.

What a click on each product may cost

A click is worth the chance that it turns into an order, times what the order is allowed to spend on advertising. That is an expected value (Foundations: expected value):

CPCmax⁡=q⋅(1−s)⋅c\text{CPC}_{\max} = q \cdot (1 - s) \cdot c

Here CPCmax⁡\text{CPC}_{\max} is the highest average cost per click that still meets the target, qq is the share of clicks that become orders, ss is the profit share kept, and cc is the contribution per order.

Example: maximum cost per click for the four products

Assume Shopping clicks convert at the shop's average rate, q=0.018q = 0.018. In practice Callum measures qq per band after a few weeks, because it will differ.

For the lamp:

CPCmax⁡=0.018×0.75×44.95=0.61\text{CPC}_{\max} = 0.018 \times 0.75 \times 44.95 = 0.61
ProductContribution ccAllowed ad cost per order (1−s)⋅c(1 - s) \cdot cMaximum cost per click
Mug set€9.48€7.11€0.13
Linen tablecloth€19.58€14.69€0.26
Brass lamp€44.95€33.71€0.61
Oak side table€57.62€43.22€0.78

The side table can afford the most per click yet needs the highest return, because its contribution is a small share of its price. The mug set can afford 13 cent. Baskets with several products pay delivery only once, so Callum also reports the average basket each band's clicks produce, and the bids finally rest on that.

Shopping campaigns or Performance Max

Google offers two ways to buy Shopping ads for a shop.

Standard Shopping campaigns show only Shopping ads. You split products into product groups, by brand, category, custom label and other attributes, and bid on each group, manually or with a target ROAS116. When the same product sits in several Shopping campaigns, campaign priority (low, medium or high) decides which one bids: the highest priority campaign bids, and if its budget runs out, the next one down takes over17.

Performance Max is one automated campaign that can serve across Google's channels, Shopping among them18. It reads the same feed. You choose which products it may advertise through listing groups, and you steer it with a goal, a target and the signals you give it. How it decides, and how to structure it, is covered in depth in steering Performance Max and Advantage+ and structuring Performance Max asset groups, so this chapter does not repeat it.

What matters here is how the two interact. When campaigns in the same account could serve for the same search, Google Ads "prioritises the campaign with the highest Ad Rank"18. The only exception Google lists is a Search campaign whose keyword exactly matches the query18. So a product in both a Standard Shopping campaign and a Performance Max campaign is not automatically won by either. The cleaner habit is to put each product in exactly one campaign, using the custom labels to divide them.

The choice comes down to two questions. How many conversions does each group have? Automation needs volume to learn. And how different are the margins? Different margins need different targets, so separate campaigns or groups.

Example: Niamh's structure, and why it changes

Of the €16,500 monthly advertising budget, €10,600 goes to Google and €5,900 to Meta. Of the Google money, €6,500 a month is non brand Google Shopping (the split across all channels is the subject of allocating an ad budget). Until now it ran as one Performance Max campaign over all 1,400 products, with a target ROAS of 650%. Google Ads reports 560 conversions worth €47,260, a ROAS of 7.27.

Not all of those 560 orders were caused by the ads. Some people would have bought anyway. The shop's incrementality tests put the share the ads really cause at 0.85, so 475 orders, and the method is in attribution for online shops. That makes the cost per incremental order €6,500 divided by 475, which is €13.68.

Callum splits last month's results by margin band. For each band he takes the revenue Google claims, keeps the incremental 85% of it, and divides by the band's typical breakeven ROAS (3.3 for band A, 4.0 for band B, 5.2 for band C and 6.8 for band D) to get the contribution the ads really earned.

BandSpendConversions claimedRevenue claimedROAS claimedIncremental revenueTypical RBER_{\text{BE}}ContributionResult after ads
A€1,950250€18,0009.23€15,3003.3€4,636€2,686 gain
B€2,080235€19,2709.26€16,3804.0€4,095€2,015 gain
C€1,43060€6,6604.66€5,6615.2€1,089€341 loss
D€1,04015€3,3303.20€2,8316.8€416€624 loss
Total€6,500560€47,2607.27€40,172€10,236€3,736 gain

Band A, for example: 18,000×0.85=15,30018{,}000 \times 0.85 = 15{,}300, then 15,300÷3.3=4,63615{,}300 \div 3.3 = 4{,}636, and 4,636−1,950=2,6864{,}636 - 1{,}950 = 2{,}686. The campaign as a whole makes €3,736 after advertising. But bands C and D lose €965 between them. The healthy average hides two bands that lose money on every sale, mostly furniture and small items.

Grouped bar chart for the invented example shop's non brand Shopping campaign, split by margin band, in euro. Band A: spend 1,950, contribution 4,636. Band B: spend 2,080, contribution 4,095. Band C: spend 1,430, contribution 1,089. Band D: spend 1,040, contribution 416. In bands A and B the contribution exceeds the spend; in bands C and D the spend exceeds the contribution, so those products lose money even though the campaign's overall ROAS of 7.27 looks healthy. Tap or click to open full screen and move around

One more correction before setting targets. Google's ROAS counts every order it claims, so a target entered in Google Ads must be the true target divided by the incrementality factor: RT÷0.85R_{\text{T}} \div 0.85. For band A that is 3.3÷0.75÷0.85=5.183.3 \div 0.75 \div 0.85 = 5.18, for band B 6.276.27, for band C 8.168.16 and for band D 10.6710.67. The new structure follows the bands:

  • Performance Max for bands A and B, with listing groups that include only band_a and band_b, and a target ROAS of 570%, between the two bands' targets of 518% and 627%. Two bands in one campaign keep enough conversions together for the automation to learn.
  • A Standard Shopping campaign for band C, with a target ROAS of 816% and a small budget, so Niamh can see which search terms its products actually win.
  • Band D out of paid Shopping, back to free listings only, apart from a handful of side tables with stock_deep that get a test in the band C campaign at a product group target of 1,067%.
  • clearance products from custom_label_4 get their own group with a lower target, because clearing stock is worth something beyond the order's contribution.

The money freed from bands C and D goes to bands A and B. Niamh does not expect the next euro in band A to earn the same again, because returns fall as spend rises. How fast is the subject of the budget chapter.

Feed rules and supplemental sources fix data without touching the shop

Sometimes the data is right in the shop but needs reshaping for Google, or a team without a developer needs to add a label quickly. Merchant Center has two tools for that.

Attribute rules transform data on its way in. They can set an attribute from other columns or fixed values, add text to the start or end of a value, find and replace, extract text, split a list and pick part of it, and apply any of these only when conditions are met19. A typical rule adds the colour to the end of every title that lacks it.

Supplemental data sources add or override attributes for products that already exist in the main, or primary, data source. A supplemental source "can't be used to add or remove products or be used as a standalone data source"20. A typical use is a spreadsheet with two columns, id and custom_label_2, that marks the Christmas range for six weeks.

Both are useful, and both cost something: every rule is a second copy of the truth, outside the shop, that does not know when the shop changes. When you own the shop's code, fix it at the source.

Example: the Christmas range, two ways

Niamh wants 180 products marked christmas from 1 November to 31 December. The quick way is a supplemental sheet with the 180 IDs in one column and christmas in the next. It works the same day, and on 2 January somebody must remember to remove it.

Callum's way takes half an hour. The feed code sets custom_label_2 to christmas for every product in the shop's Christmas category between two dates in the shop's settings, and to evergreen otherwise. The label changes back by itself, and a product added to the category in mid November is labelled automatically. The second way cannot be forgotten.

Comparison Shopping Services: who places your ads in Ireland and Europe

In Ireland, Germany, Austria, the UK and the other countries on Google's list, Shopping ads and free listings on Google are placed by a Comparison Shopping Service3. Google Shopping is itself one CSS, and it is the default for new accounts3. Other companies run their own CSSs and can bid for the same ad slots on your behalf.

Two facts from Google's page explain why shops look at other CSSs. First, Google Shopping must be independently profitable in the European Economic Area, and it "currently ensures profitability by deducting a fixed percentage margin from each merchant bid before entering it into the auction"3. Another CSS may charge differently, for example a monthly fee, and enter more of your bid into the auction. Second, Google says that using several CSSs at once never makes a merchant set its own price in the auction by bidding against itself3.

To a shopper the ads look the same, apart from a small line naming the CSS. What differs is the fee model, the tools and the support. The feed stays the same.

Example: the same bid through two CSSs

Google does not publish the size of its margin on this page, so take an invented figure, purely to show the mechanism: suppose a CSS deducts a margin gg from each bid. Then the bid that enters the auction is:

bauction=b⋅(1−g)b_{\text{auction}} = b \cdot (1 - g)

Here bb is the bid you set, gg is the CSS's margin as a share of the bid, and bauctionb_{\text{auction}} is what actually competes in the auction (Foundations: percentages).

With Niamh's lamp bid of b=0.61b = 0.61 and an invented g=0.20g = 0.20:

bauction=0.61×0.80=0.49b_{\text{auction}} = 0.61 \times 0.80 = 0.49

So bauctionb_{\text{auction}} is 49 cent, not 61, when g=0.20g = 0.20. A CSS that charges a flat monthly fee instead enters the full 61 cent, which wins more auctions at the same bid, and the shop pays the fee separately. Niamh's rule: compare the total cost per order over three months, fees included, never the bid alone.

Disapprovals: find the cause, fix it at the source

A disapproved product does not show, neither as an ad nor in free listings. Merchant Center lists the issues per product and how many products each issue affects. Most disapprovals in a homeware shop come from a short list:

  • Price mismatch. The feed and the page show different prices. Causes and fixes are listed by Google10, and a price drawn into the page by JavaScript after it loads is a common one.
  • Missing delivery costs, required in a list of countries and expected by shoppers everywhere4.
  • Images. Too small, or carrying a promotional overlay, border or watermark8.
  • Identifiers. A GTIN with a wrong check digit or a reserved prefix, or a missing GTIN for a product whose manufacturer assigned one5.
  • A landing page that does not work, or that shows a different product.

Google also updates some data by itself. Automatic item updates are switched on by default and use the structured data on your product page to update price, sale price, availability and condition in Shopping ads and free listings21. They only look at those attributes, and Google warns that a product "may be disapproved instead of updated" when it detects a mismatch21. So they soften small timing gaps between shop and feed, but they are no substitute for a feed that is right.

Tap or click to open full screen and move around

Example: 37 lamps and a price that arrived late

One Monday Merchant Center shows 37 lamps disapproved for a mismatched price. Callum opens one of them. The visible price reads €169, the feed says €169, but the structured data in the page's source says €159, last month's price. The theme renders the visible price fresh, while the structured data comes from a cached block that was not cleared when Niamh changed the lamp prices. Google reads the structured data, sees €159, and disapproves the product10.

The fix is at the source: Callum makes the structured data and the visible price read from the same method, and expires the cache on every price change. Then he resubmits. Google's page says it rechecks disapproved products over the following hours or days and reapproves them once the prices match10. Callum adds one more thing: an automated test that renders a product page and fails if the structured data price differs from the shown price. He works test first, as I do, and every release goes through that test before it reaches the shop. The disapproval cannot come back silently.

Generating the feed from Solidus with the Merchant API

There are two ways to get products into Merchant Center from your own shop. The simple one is a file, an XML or tab separated list of products at a URL, which Merchant Center fetches on a schedule; Google's guide says a hosted file is synced every 24 hours22. The better one for a shop whose stock and prices change during the day is the Merchant API, which updates one product the moment it changes.

Watch the name. For years the programming interface was the Content API for Shopping. Google sunset it on 18 August 2026, from 1 September 2026 began to fail requests, intermittently, from clients without an extension, and expects to shut it down completely in early 202723. New code uses the Merchant API. Its products service inserts a product with a POST to productInputs:insert, naming the data source, and inserting a product with the same language, feed label and offer ID again replaces it24. Prices are sent in micros, the amount times one million, so €169 is "169000000"24. Google also recommends refreshing every product at least every 30 days24.

Solidus gives Callum everything the feed needs. Since Solidus 4.5 a variant has gtin and condition columns, added for structured data25. It already has sku, price, cost_price, stock counts through in_stock? and total_on_hand, and images through its gallery. The code has three parts: a class that builds one product entry, a job that sends it, and a subscriber that triggers the job when an order uses up stock.

Example: building the lamp's entry

# app/models/merchant_feed/product_input.rb
module MerchantFeed
  class ProductInput
    def initialize(variant, host: "shannonsidehome.example")
      @variant = variant
      @product = variant.product
      @host = host
    end

    def to_h
      {
        offerId: @variant.sku,
        contentLanguage: "en",
        feedLabel: "IE",
        productAttributes: attributes.compact
      }
    end

    private

    def attributes
      {
        title: FeedTitle.for(@variant),
        description: ActionController::Base.helpers.strip_tags(@product.description).to_s.truncate(5_000),
        link: "https://#{@host}/products/#{@product.slug}",
        imageLink: image_url,
        availability: @variant.in_stock? ? "IN_STOCK" : "OUT_OF_STOCK",
        price: { amountMicros: (@variant.price * 1_000_000).to_i.to_s, currencyCode: "EUR" },
        brand: @product.property("brand"),
        gtins: (@variant.gtin.present? && GtinCheck.valid?(@variant.gtin)) ? [@variant.gtin] : nil,
        mpn: @variant.gtin.blank? ? @variant.sku : nil,
        condition: (@variant.condition || "new").upcase,
        itemGroupId: "SH-#{@product.id}",
        customLabel0: MarginBand.for(@variant),
        customLabel1: StockDepth.for(@variant)
      }
    end

    def image_url
      @variant.gallery.images.first&.url(:feed)
    end
  end
end

to_h returns what identifies the product to Google, the offer ID (the SKU), the language and the feed label for the target country, plus its attributes. Each attribute comes straight from Solidus: in_stock? gives availability, the price becomes micros, the GTIN is sent only when it passes the check digit test, and the MPN steps in without one. The image is the 1,600 pixel feed style, served from cloud storage at a full public URL. compact drops every nil attribute. The margin band comes from a small class that applies the breakeven formula from this chapter to the variant's cost_price:

# app/models/merchant_feed/margin_band.rb
module MerchantFeed
  class MarginBand
    VAT = BigDecimal("0.23")
    PAYMENT_FEE = BigDecimal("0.017")
    RETURN_RATE = BigDecimal("0.09")

    def self.for(variant, delivery: BigDecimal("7.50"), return_handling: BigDecimal("10.50"))
      price = variant.price
      return "band_unknown" if price.blank? || variant.cost_price.blank?

      kept = (price / (1 + VAT) - variant.cost_price) * (1 - RETURN_RATE)
      contribution = kept - PAYMENT_FEE * price - delivery - RETURN_RATE * return_handling
      return "band_d" unless contribution.positive?

      case price / contribution
      when ...3.5 then "band_a"
      when ...4.5 then "band_b"
      when ...6.0 then "band_c"
      else "band_d"
      end
    end
  end
end

Here cost_price is what Niamh paid for the product without VAT, so the price without VAT minus the cost price is the gross margin in euro, the m⋅P/(1+v)m \cdot P / (1 + v) of the formula. For furniture, Callum passes the higher delivery and return handling costs, and a furniture return rate, from the product's shipping category.

Example: sending it, and refreshing stock after each order

# app/jobs/merchant_feed/push_variant_job.rb
module MerchantFeed
  class PushVariantJob < ApplicationJob
    queue_as :default

    def perform(variant_id)
      variant = Spree::Variant.find(variant_id)
      account = ENV.fetch("MERCHANT_ACCOUNT_ID")
      uri = URI("https://merchantapi.googleapis.com/products/v1/accounts/#{account}/productInputs:insert")
      uri.query = URI.encode_www_form(dataSource: ENV.fetch("MERCHANT_DATA_SOURCE"))

      response = Net::HTTP.post(
        uri,
        ProductInput.new(variant).to_h.to_json,
        "Content-Type" => "application/json",
        "Authorization" => "Bearer #{AccessToken.fetch}"
      )
      raise "Merchant API #{response.code}: #{response.body}" unless response.is_a?(Net::HTTPSuccess)
    end
  end
end
# app/subscribers/wrenfield/merchant_feed_subscriber.rb
module Shannonside
  class MerchantFeedSubscriber
    include Omnes::Subscriber

    handle :order_finalized, with: :refresh_stock, id: :merchant_feed_refresh_stock

    def refresh_stock(event)
      order = event.payload[:order]
      order.line_items.each { |item| MerchantFeed::PushVariantJob.perform_later(item.variant_id) }
    end
  end
end

# config/initializers/merchant_feed.rb
Rails.application.config.to_prepare do
  Shannonside::MerchantFeedSubscriber.new.subscribe_to(Spree::Bus)
end

The job posts one product to the Merchant API, using the endpoint and the data source parameter from Google's guide24, and raises an error on failure so the queue retries it. AccessToken.fetch is a small wrapper around Google's authentication library. The subscriber listens on Solidus's event bus, Spree::Bus, for the order_finalized event, which Solidus publishes when an order is completed. The pattern, include Omnes::Subscriber, handle and event.payload[:order], is the one in the Solidus guides26. When the lamp's 23rd unit sells, the job sends OUT_OF_STOCK within a minute, and Niamh stops paying for clicks on a lamp nobody can buy.

Two more jobs complete the picture. A nightly job sends every product, so nothing goes stale past Google's 30 day refresh24. And the admin calls PushVariantJob whenever a price, title or image changes. That is the advantage of owning the shop's code: every process that touches a product can update the feed the moment it happens, with labels from data no outside tool can see. If the products are also advertised on Meta, the same builder can produce a catalogue for it, covered in Meta and TikTok ads for online shops.

A monthly feed routine that keeps it profitable

A feed is never finished. Products come and go, prices change, Google changes its rules (the 500 pixel image minimum from January 2027 is one example8). A short routine, once a month, keeps the data and the money in order.

StepWhat to look atWhat to do
1Merchant Center issuesFix every issue that affects more than one product at the source. Log any rule used as a stopgap.
2Products with impressions but no clicksRewrite the title or replace the main image.
3Products with clicks but no salesCheck the price against the market and the product page against every question it must answer.
4Spend and contribution by margin bandMove budget away from bands where contribution minus spend is negative.
5Breakeven ROAS inputsUpdate delivery, return rate and payment fees, then let the labels recalculate.
6Conversion rate per bandReplace the assumed qq with the measured one and recalculate the maximum cost per click.
7Seasonal labels and salesCheck that every sale price has an end date and every seasonal label has an end.

The routine depends on the purchase being measured correctly in the first place. If the conversion value Google sees includes refunds, delivery or duplicate orders, every ROAS in this chapter is wrong. That plumbing is in the purchase event done right.

Example: Niamh's first monthly review

Four weeks after the new structure, Niamh and Callum go through the steps. Step 2: 64 products with over 500 impressions and no click, mostly vases titled "vessel", which Niamh rewrites. Step 4: band C, now in its own Standard Shopping campaign, spent €950 and Google claims €8,300 of revenue, a ROAS of 8.74, just above its Google target of 8.16. Its incremental contribution is 8,300×0.85÷5.2=1,3578{,}300 \times 0.85 \div 5.2 = 1{,}357, so it now earns €407 after advertising instead of losing €341. Step 6: band A converts at 2.3%, not the assumed 1.8%, so its allowed cost per click rises. Each step ends in one action.

Conclusion

Google Shopping is a product data job before it is an advertising job. The feed decides which searches a product can appear for, whether it is shown at all, and what Google believes each sale is worth. Get the basics right: a verified site, delivery costs, a returns policy, every required attribute, a valid GTIN where one exists, titles that start with what people search for, and clean images of at least 500 pixels (better 1,500). Keep the price in the feed identical to the page, and keep every "was" price honest under your country's law, not only under Google's rules.

Then teach Google what it cannot know. Calculate each product's contribution and its breakeven ROAS, put the result in a custom label, and build campaigns around the bands, so products that need a return of 6 are not bid like products that need 3.5. Use free listings for the products that can never pay for a click. Look at the CSS behind your ads and compare the total cost, not the bid. And when you own the shop's code, generate the feed from it through the Merchant API, so stock, price and margin reach Google the moment they change.

If your Shopping campaigns report a healthy ROAS but you suspect some products lose money, book the free workshop: we map your margin bands and your feed together, and the first two weeks of work are on me.

Sources

  1. 1.

    Google, About Shopping ads, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/2454022?hl=en-GB

  2. 2.

    Google, Free listings for products, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/9199328?hl=en-GB

  3. 3.

    Google, About advertising with Comparison Shopping Services, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/12653197?hl=en-GB

  4. 4.

    Google, Product data specification, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/7052112?hl=en-GB

  5. 5.

    Google, GTIN [gtin], Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/6324461?hl=en-GB

  6. 6.

    GS1, How to calculate a check digit manually, gs1.org, checked 22 November 2026, https://gs1.org/how-calculate-check-digit-manually

  7. 7.

    Google, Title [title] and structured title [structured_title], Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/6324415?hl=en-GB

  8. 8.

    Google, Image link [image_link], Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/6324350?hl=en-GB

  9. 9.

    Solidus, core/lib/spree/app_configuration.rb (product_image_styles default), solidusio/solidus on GitHub, checked 22 November 2026, https://github.com/solidusio/solidus/blob/main/core/lib/spree/app_configuration.rb

  10. 10.

    Google, How to fix: Mismatched product price, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/12159029?hl=en-GB

  11. 11.

    Google, About sale price annotations, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/9017019?hl=en-GB

  12. 12.

    European Union (Requirements to Indicate Product Prices) (Amendment) Regulations 2022 (S.I. No. 597 of 2022), inserting Regulation 5A on the prior price, Irish Statute Book, https://www.irishstatutebook.ie/eli/2022/si/597/made/en/print

  13. 13.

    Competition and Consumer Protection Commission, Price reductions, guidance for business, ccpc.ie, checked 22 November 2026, https://www.ccpc.ie/business/help-for-business/guidelines-for-business/price-reductions/

  14. 14.

    Consumer Protection Act 2007, section 43, Misleading commercial practices, subsection (3)(c), Irish Statute Book, https://www.irishstatutebook.ie/eli/2007/act/19/section/43/enacted/en/html

  15. 15.

    Google, Use custom labels for Shopping ads, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/6275295?hl=en-GB

  16. 16.

    Google, About Target ROAS bidding, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/6268637?hl=en-GB

  17. 17.

    Google, Use campaign priority for Shopping campaigns, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/6275296?hl=en-GB

  18. 18.

    Google, How Performance Max interacts with other campaigns in your account, Google Ads Help, checked 22 November 2026, https://support.google.com/google-ads/answer/13810170?hl=en-GB

  19. 19.

    Google, Set up your attribute rules, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/14994083?hl=en-GB

  20. 20.

    Google, Create a product data source, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/14990942?hl=en-GB

  21. 21.

    Google, Allow Merchant Center to update product information automatically, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/3246284?hl=en-GB

  22. 22.

    Google, How to upload your products to Merchant Center, Google Merchant Center Help, checked 22 November 2026, https://support.google.com/merchants/answer/188478?hl=en-GB

  23. 23.

    Google for Developers, Deprecation and sunset, Content API for Shopping, checked 22 November 2026, https://developers.google.com/shopping-content/guides/sunset

  24. 24.

    Google for Developers, Add and manage products, Merchant API, checked 22 November 2026, https://developers.google.com/merchant/api/guides/products/add-manage

  25. 25.

    Solidus, Solidus v4.5 of 20 February 2025, upgrade guide, Added GTIN and Condition to variant, guides.solidus.io, https://guides.solidus.io/upgrading-solidus/v4.5

  26. 26.

    Solidus, Subscribing to events, Solidus guides, checked 22 November 2026, https://guides.solidus.io/customization/subscribing-to-events