Skip to content

COGS in Ad Reporting: How to Add Product Costs to Your Ad Reports

8 min read
PR

Priya Raghunathan

E-commerce Performance Manager

COGS in ad reporting is the difference between a report that shows what your ads sold and one that shows what they earned. Ad platforms report revenue, because revenue is what their pixels and tags see. Cost of goods sold, the landed cost of the products in each order, lives in your store and your supplier invoices, so it never reaches the platform report unless you bring it there yourself.

Quick answer: Add cost of goods sold to ad reports by entering a cost per product or variant in your store, ideally per SKU, then subtracting it, plus shipping, payment fees and returns, from store net sales for the same dates as your ad spend. That gives contribution margin before ads. Divide it by ad spend for POAS, where 1.0 is break-even.

This is the practical guide to getting product costs into your reports. For the definitions of the margin layers used here, see contribution margin for ecommerce. For the metric comparison, see POAS vs ROAS.

Why do ad reports without COGS mislead?

Ad reports without COGS rank campaigns by revenue, and revenue treats every euro of sales as equal even when the products behind it cost very different amounts. A campaign selling high-margin products and one selling low-margin products can show the same ROAS and leave very different profit.

Here is an invented example, excluding VAT, with the same spend and the same revenue for two campaigns:

LineCampaign ACampaign B
Ad spend€5,000€5,000
Net sales€20,000€20,000
ROAS4.04.0
COGS−€5,000 (25%)−€11,000 (55%)
Shipping, fees and returns−€2,400−€2,400
Contribution before ads€12,600€6,600
POAS2.521.32
Contribution after ads€7,600€1,600

On ROAS alone, these two campaigns deserve the same budget. With COGS in the report, Campaign A leaves almost five times as much after ads. If you scale both by the same amount, you put half the new money behind the weaker one. Our per-SKU profit teardown shows how one product can hide inside a healthy account average this way.

What belongs in COGS, and what sits next to it?

COGS is the cost of the goods themselves, delivered to your warehouse, and it is only the first of the variable costs an ad report needs. Keep it separate from the costs that come after the sale, so each line can be checked against its own source.

  • COGS (landed cost): the purchase or manufacturing price, plus inbound freight, duties and import fees per unit.
  • Shipping to customers: what you pay carriers, not what you charge the customer.
  • Payment fees: from your payment provider's statements.
  • Pick, pack and packaging: per order, from your fulfilment partner or your own costs.
  • Returns: refunds and the cost of handling returned items.

Subtract COGS from net sales and you get gross profit, or CM1. Subtract the rest and you get contribution margin before ads, or CM2. Rent, salaries and software subscriptions are fixed costs, so they do not belong in the per-order calculation. Cover them from contribution when you set targets.

Should you use per-SKU or blended COGS?

Per-SKU COGS gives each product its own cost, while blended COGS applies one percentage to all revenue. Both are valid starting points, but they answer different questions.

Blended COGS percentagePer-SKU COGS
How it worksOne cost percentage on all net salesCost per product or variant, summed per order
Set-up effortLow: one numberHigher: a cost for every SKU
Accuracy across campaignsLow if margins differ between productsHigh: follows the real product mix
Spots loss-making productsNoYes
SuitsA small range with similar margins, or a first versionMost catalogues with bundles, accessories or hero products

The blended percentage fails exactly where ad reporting needs precision: when campaigns sell different product mixes. A catalogue campaign that pushes cheap accessories and a prospecting campaign built on a premium product carry different COGS, and one store-wide percentage gives them the same margin. Start blended if you must, and move to per-SKU costs within the first month.

COGS in ad reporting: blended percentage compared with per-SKU costs
Blended or per-SKU COGS

How do you bring COGS into ad reporting?

Bringing COGS into ad reporting means getting accurate costs into your store first, then joining store orders to ad spend on the same dates. These six steps cover a typical DTC set-up.

  1. Enter a cost for every product and variant. In Shopify, this is the cost per item field. Shopify's bulk editor documentation describes it as "How much it costs you for the product or variant", and you can add the Cost per item column there to fill many products at once.
  2. Check for gaps. Shopify's profit reports page says "Profit is reported only for products and variants that had a cost recorded at the time they were sold." A product with no cost silently drops out, which makes margins look better than they are.
  3. Keep costs current. The same page says the cost per item field "contains static data", so profit figures reflect the cost recorded at the time. When a supplier price or freight rate changes, update the field the same week. Past orders keep the old value.
  4. Add shipping, fees and returns. Take them per order where you can, from carrier invoices and payment provider statements. Where you cannot, use a tested average per order rather than leaving them out.
  5. Join to ad spend by date and currency. Sum net sales and costs for the same dates as your spend, in one currency, across every platform. Our MER vs ROAS guide explains why store net sales, not platform revenue, should sit at the top.
  6. Compare at campaign level with care. Platform attribution decides which orders a campaign gets credit for. Use per-campaign profit to compare campaigns on the same platform, and the store total to judge the whole budget.

On Google, there is a second route for Shopping and Performance Max reporting. The Merchant Center cost_of_goods_sold attribute holds a cost for each product, and with conversions with cart data Google Ads combines it with the products in each order to show gross profit metrics. Google says the value "does not need to be exact". This gives gross profit inside Google Ads, but not shipping, fees or the other platforms.

Shopify-specific details, such as which finance reports to use for net sales, are in our Shopify profit tracking guide. WooCommerce stores can follow our guide to WooCommerce ad profitability.

How do you go from ROAS to POAS and contribution margin?

Once COGS and the other variable costs are in the report, three numbers replace ROAS for budget decisions, and each answers a different question.

  • Contribution margin before ads (CM2) = net sales − COGS − shipping − fees − returns. How much each order leaves to pay for marketing.
  • POAS = CM2 ÷ ad spend. Above 1.0, the ads paid for themselves in contribution.
  • Contribution after ads = CM2 − ad spend. The money left to cover fixed costs and profit.

Break-even ROAS follows from the same numbers: 1 divided by CM2 as a share of net sales. In the example above, Campaign A keeps 63 percent of net sales (€12,600 ÷ €20,000), so its break-even ROAS is about 1.59. Campaign B keeps 33 percent and breaks even at a ROAS of about 3.03. Our breakeven ROAS calculator does the arithmetic per product.

For new customers, run the same calculation on first orders only. Our guide to first order profitability shows how to judge whether the first sale pays for its acquisition.

COGS in ad reporting: from net sales to contribution after ads
From ROAS to contribution after ads

What are the common mistakes with COGS in ad reports?

Most errors with COGS in ad reports come from incomplete or inconsistent cost data rather than from the formulas. These are the ones to check first:

  • Products with no cost. They fall out of Shopify's profit reports and flatter the margin.
  • Stale costs. A cost from last year applied to this year's orders understates COGS after a supplier price rise.
  • Purchase price only. Leaving out inbound freight and duties makes imported products look more profitable than they are.
  • VAT in revenue. Sales tax is not yours, so take it out before you calculate margin.
  • Platform revenue as the base. Platforms count overlapping orders and ignore refunds.
  • Bundles and free gifts without a cost. A gift with purchase has a COGS even when its price is zero.
  • Returns ignored. Refunds arrive weeks later, so read the margin on a window that includes them.

Where Wevion fits

Keeping COGS in ad reporting current means joining store costs and ad spend from every platform on the same dates, and that join is what most spreadsheets let go stale.

Wevion connects Meta, Google, TikTok, Snapchat, Taboola and Outbrain through each platform's official API, brings Shopify or WooCommerce orders next to that spend in one dashboard, and syncs data about every 15 minutes, so the spend side of the calculation is already totalled for the same dates as your orders.

Wevion's Profitability Analytics, in beta, syncs cost per item from your store and lets you set shipping and fees once. It then shows profit, margin and POAS, with your break-even POAS and margin broken down per SKU. You still need accurate costs in the store: missing or stale costs flow into any report built on them.

Start with 14 days free on any plan, no card.

Key takeaways

  • Ad platforms report revenue; COGS lives in your store, so bring it into the report yourself.
  • COGS is landed product cost. Shipping, fees, packaging and returns sit next to it in contribution margin.
  • Use per-SKU costs as soon as you can: a blended percentage hides loss-making products.
  • In Shopify, fill the cost per item field for every variant and keep it current, because it is static.
  • Google can show gross profit with the cost_of_goods_sold attribute and conversions with cart data.
  • Judge budget on contribution margin and POAS, with 1.0 as break-even, not on ROAS alone.

Frequently Asked Questions

The Ad Signal

Weekly insights for media buyers who refuse to guess. One email. Only signal.

Ready to Automate Your Ad Operations?

Start launching campaigns in bulk across every account. Try Wevion free for 14 days on every plan, no card.