Google Ads and Performance Max by margin – Sortyra
# Google Ads and Performance Max by margin – Sortyra > Segment products in Google Ads and Performance Max by margin, sales or new arrivals with custom_label, drop sold-out goods and track visits with UTM tags. Source: <https://sortyra.com/use-cases/margin-based-advertising> --- [Sortyra](https://sortyra.com/) [Use cases](https://sortyra.com/use-cases)Margin-based advertising For online shops running paid product ads # Stop paying to advertise products you don’t make money on For online shops advertising products in Google Ads, Performance Max or Sklik. Sortyra labels products in the feed by margin, sales performance or newness, removes sold-out and loss-making ones, and adds UTM tags to links – so you can split campaigns by what actually earns money. [Try it free](https://app.sortyra.com/registracia?lang=en) [All use cases](https://sortyra.com/use-cases) - **5 labels**custom_label_0 to custom_label_4 - **3 groups**LowMargin, MidMargin, HighMargin - **A–D**performance groups for Performance Max ## Where product ads waste your money ### One return target for the whole range The campaign has a single target ROAS, even though one product has an 8 % margin and another 40 %. Profitable goods get too little room, loss-makers far too much. ### Clicks on goods you don’t have The feed only refreshes now and then, and you pay for a click on a sold-out product just as you do for a bestseller. ### You don’t know which campaign sells Links in the feed have no UTM parameters, so visits from product ads get mixed up with everything else in Analytics. ### Labels in a spreadsheet nobody maintains You fill in custom_label by hand once, a month later prices and stock have changed and your campaign split no longer fits. ## How to split campaigns by profit Google Ads and Performance Max can segment products by the custom labels [custom_label](https://sortyra.com/glossary/custom-label-google-feed) `custom_label_0` to `custom_label_4`. Sortyra fills them in with rules at every feed update, so labels always match current prices and stock. 1. ### Create an advertising output In **Outputs and channels**, choose the Google Merchant channel or another one from the **Advertising and social media** group, for example Sklik. The output has its own rules, so advertising tweaks don’t affect the feed for your shop or comparison sites. 2. ### Add purchase prices The margin is calculated from the selling and purchase prices. If the supplier sends the purchase price, it’s ready; if not, you add it with a rule or from another source. Products without a purchase price get no margin label. 3. ### Add margin buckets On the **Rules** screen, in the **Recipes** card, choose **Margin buckets for campaigns**. You enter the thresholds **Low margin up to (%)** and **High margin above (%)**, and the recipe writes LowMargin, MidMargin or HighMargin to `custom_label_0`. 4. ### Remove what isn’t worth promoting The **Hide out-of-stock** recipe removes products with zero stock, and **Protect profit when duties and costs change** removes a product whose price has fallen below the calculated minimum. **Preview impact** shows the numbers before you add them. 5. ### Add UTM tags and check the result The **UTM parameters** recipe adds utm_source, utm_medium, utm_campaign and utm_content to links. **Test run** shows “before → after” examples, and the **Ready to launch** panel flags links without UTM tags. ## Example: 4,000 products in Performance Max A homeware shop advertises 4,000 products in a single Performance Max campaign. 400 are sold out, and the supplier sends a purchase price for 2,700 of the remaining 3,600 products. 1. They add the **Hide out-of-stock** recipe – 3,600 products remain in the output. 2. The **Margin buckets for campaigns** recipe with thresholds of 10 % and 30 % splits the 2,700 products into 900 LowMargin, 1,500 MidMargin and 300 HighMargin. 3. A frying pan at €59.90 with a purchase price of €40 excl. VAT has, at 23 % VAT, a margin of €8.70, i.e. 17.9 % – it belongs in MidMargin. 4. The **UTM parameters** recipe adds utm_source, utm_medium, utm_campaign and utm_content to all links. In Google Ads they can create three product groups and set a different target ROAS for each. The 900 products without a purchase price stay without a margin label until it’s added, and visits from the campaign show up separately in Analytics. ## Campaigns without and with Sortyra | Area | Today | With Sortyra | | --- | --- | --- | | Campaign split | by category, regardless of profit | by margin, sales performance or new arrivals | | custom_label values | by hand in a spreadsheet, quickly outdated | recalculated by rules at every update | | Sold-out products | stay in the campaign | removed by the Hide out-of-stock recipe | | Visit tracking | no source in Analytics | UTM parameters in every link | | Changing margin thresholds | rewriting hundreds of rows | editing one rule in the chain | ## More labels to split your budget by Margin is just one angle. Each of the recipes below writes a value to a custom_label, and in Google Ads you build product groups or separate campaigns from them. Each field should always have one meaning – if `custom_label_1` means season, it should mean that for every product. A label is recalculated on every output run, so a product moves to another group by itself when its price or data change. You’ll find the recipes in the **Recipes** card in the Marketing group: - **Groups A–D for Performance Max** – once Google Merchant Center is connected, it splits products by conversion value from bestsellers (A) to products without conversions (D); groups are recalculated daily. - **New products into a launch campaign** – products added in the last N days get a campaign label. - **Low-margin products into a low-cost campaign** – a label for a separate campaign with a low CPC cap. - **Eco and sustainable products** – based on keywords and certificates, sets `custom_label_1` = EcoFriendly. ## A custom rule when a recipe isn’t enough Recipes cover common situations, but you can also set a label with your own rule in the “If … then …” builder. For example, `IF PRICE_VAT > 200 → Set value: CUSTOM_LABEL_2 = Premium` sends expensive products to a separate campaign. You can combine conditions, so that only in-stock goods from one category get the label, for example. The rule belongs to the output, so labels for Google don’t change the comparison-site feed. You can also write the same thing as a plain sentence via [AI Copilot](https://sortyra.com/ai-copilot) – it creates a rule you see in a preview before saving. More ideas are in the [rule recipes](https://sortyra.com/knowledge-base/feed-rule-recipes-examples). ## When to take a product out of your ads Budget is also spent on products people click but don’t buy. The recipe **Remove non-selling products from ads** uses 30 days of Google performance to remove products with many clicks and no purchases; it requires a Merchant Center connection. **No PPC for products ranking #1 in search** removes goods that already lead in organic search – you add the position from a spreadsheet, for example a Search Console export. **Remove products with high return rates** leaves out goods customers often return, if you have the return rate in the `RETURN_RATE` field. All of this applies only to the advertising output; the products stay in your shop. ## Who margin-based advertising is for - Online shops on Google Shopping or Performance Max with varying margins across the range - Marketers and agencies managing campaigns for several online shops - Retailers with fast-changing supplier stock - Online shops that want to track visits from product campaigns with UTM tags - Sellers with frequent new arrivals that need their own budget ## Features you’ll use - [**Rules and bulk edits**bulk edits with no coding](https://sortyra.com/features/rules) - [**Channels**feeds for Google, Meta, PriceRunner and more](https://sortyra.com/features/channels) - [**Bidding (CPC)**max. CPC on comparison sites based on margin](https://sortyra.com/features/bidding) - [**AI Copilot**set up and edit your feed in a conversation](https://sortyra.com/ai-copilot) ## Frequently asked questions ** ### What is custom_label and do customers see it? ** It’s a custom product label in the Google feed – the fields `custom_label_0` to `custom_label_4`. Customers don’t see it; it’s only used to segment products in campaigns. ** ### How do I split Performance Max by margin? ** The **Margin buckets for campaigns** recipe writes LowMargin, MidMargin or HighMargin to `custom_label_0`. In Google Ads you then create groups based on this label and set a different target for each. ** ### Do I need purchase prices for margin buckets? ** Yes. The margin is calculated from the selling and purchase prices, so products without a purchase price get no label until you add it. ** ### Does Sortyra change my Google Ads campaign settings? ** No. Sortyra edits the feed – labels, links and the product selection. You set budgets, targets and product groups in Google Ads. ** ### Can labels be used outside Google? ** Yes. The Meta catalogue uses the same custom_label fields. Zboží.cz (and Sklik) accepts the `CUSTOM_LABEL_0` label; you add any others via **Custom elements**. The steps for Meta are on the [catalogue for Facebook and Instagram](https://sortyra.com/use-cases/facebook-instagram-catalogue) page. ** ### What about the cost per click on Heureka? ** For Heureka and Zboží.cz, Sortyra calculates the maximum CPC directly from the product’s margin. The steps are on the [feed for comparison sites](https://sortyra.com/use-cases/price-comparison-sites) page. ## You might also be interested in ### Google Shopping and Merchant Center disapproved products, categories, 500 px images Read more → → <https://sortyra.com/use-cases/google-shopping-feed> ### Catalogue for Facebook and Instagram catalogue ads from an up-to-date feed Read more → → <https://sortyra.com/use-cases/facebook-instagram-catalogue> ### Better names and descriptions for Google, comparison sites and your online shop Read more → → <https://sortyra.com/use-cases/better-product-titles> - Guide [Rule recipes – examples](https://sortyra.com/knowledge-base/feed-rule-recipes-examples) - Guide [Google Merchant Center and Google Shopping feed](https://sortyra.com/knowledge-base/google-merchant-center-feed) - Guide [Rules: how they work](https://sortyra.com/knowledge-base/feed-rules-bulk-editing) - Term [Custom label (custom_label)](https://sortyra.com/glossary/custom-label-google-feed) - Term [ROAS](https://sortyra.com/glossary/roas-return-on-ad-spend) - Term [UTM parameters](https://sortyra.com/glossary/utm-parameters-in-links) - Term [Margin](https://sortyra.com/glossary/margin-vs-markup-calculation) - Term [Purchase price](https://sortyra.com/glossary/purchase-price-in-feed) ## Your first output feed can be ready today. 7 days free, no credit card. We'll set up your first feed together on a free 15-minute online call. [Try it free](https://app.sortyra.com/registracia?lang=en) [Book a 15-min call](https://sortyra.com/contact)