End-to-End Profit Analysis
Where did the ad money go? Allocating spend to orders, products and channels
Seamline Editorial · Finance content team · Updated
TL;DR
Meta will tell you what you spent and what came back. It will not tell you which SKU the money bought. Allocation is a join you build yourself: pull spend, attach orders, split by SKU, then compare each slice against contribution margin. In the sample, a campaign that broke even overall hid a SKU losing $15 per order. ROAS never sees it.
Your dashboard knows spend, not allocation
Ad platforms report two things well: what you paid and what converted inside their attribution window. They do not report how that spend distributed across your products, because that is not what they optimize for.
This is the gap that causes the worst arguments. A campaign looks fine at the channel level, so nobody looks closer. Meanwhile one SKU is carrying the spend and another is losing money on every order. The channel ROAS is real; it is simply the wrong unit of analysis for a question that is really about products.
A campaign that breaks even can hide a losing product
A campaign can break even in total and still contain a product that loses money on every single order. Blending the two products produces a number that is technically correct and useless for decisions.
Meta optimizes a bid, not your P&L
Meta’s own business documentation describes bidding strategies and return-on-ad-spend goals as ways to steer delivery. That documentation is an official source for how campaigns are set up; it is not a method for assigning costs to products. The two jobs get confused because both end in a ROAS number.
When you set a ROAS goal, you are telling the auction what outcome to chase. You are not telling your finance system which order carried which dollar. Attribution is a window; allocation is an accounting decision. Treating the first as the second is where the trouble starts.
Allocation is a four-step join, not a report
There is no button that produces this number. You build it once, then refresh it. The order matters: attach orders before you split by product, and split by product before you judge profitability.
The flow below is the whole method. Each step is a join, not a calculation, which is why it belongs in your data layer rather than in a dashboard filter.
Contribution margin is the only test that matters
Contribution margin is revenue minus the variable costs the order consumes, as defined in standard accounting references such as Investopedia. It is the right comparator for ad spend because both are incremental: an extra dollar of ad spend buys an extra order, and that order either covers its own cost or it does not.
The table below is sample data: one campaign, two SKUs, amounts chosen so the arithmetic can be checked by hand. It is not a benchmark, not a real store and not a fee quote. Spend is allocated by order count, so each order carries the same $30 of ads. The only difference between the two rows is margin.
| SKU | Orders | Revenue | Contribution before ads | Allocated ad spend | Profit / order |
|---|---|---|---|---|---|
| A | 60 | $6,000 | $2,400 | $1,800 | + $10.00 |
| B | 40 | $2,000 | $600 | $1,200 | − $15.00 |
| Total | 100 | $8,000 | $3,000 | $3,000 | break even |
Read the last column
Both SKUs carry the same $30 of ad cost. SKU A keeps $40 before ads; SKU B keeps $15. Same spend, opposite outcomes, yet the channel total of $8,000 over $3,000 looks perfectly healthy.
Set the allocation rule, do not inherit one
Some tools will do the splitting for you. TrueProfit, for example, publishes Ad Sync Custom Rules on its pricing page. That feature lets you define how ad cost is assigned instead of accepting a default. A custom rule is useful precisely because there is no universally correct one.
Choose the rule that matches the decision you are making. Allocating by order count answers “what did each order cost?” Allocating by revenue answers “what share of spend did each dollar of sales carry?” Allocating by contribution answers “which products can actually fund more ads?” They give different answers and all of them can be right.
What is not defensible is letting the platform’s attribution decide silently. It was built to judge the auction, not to allocate your cost. Write the rule down, apply it everywhere, and re-check it when the SKU mix changes.
Make allocation a weekly decision, not a monthly autopsy
Allocation is only valuable while you can still act on it. A monthly number that arrives after the budget is spent is a postmortem. Keep the join short enough to run every week, even if the first version is rough.
Three rules keep the practice honest:
- Keep one allocation rule per decision. If you switch between order-count and revenue splits mid-report, the trend line means nothing.
- Treat platform attribution as an input, not an answer. It tells you likely influence, not the cost you should book against a SKU.
- Rank SKUs by profit per order after ads, then decide which ones deserve more spend. A bestseller with thin margin is not automatically a good buy.
- Make sure the contribution inputs, fees, refunds and payouts, all trace back to transactions. This is where Seamline’s published reconciliation work fits; allocation cannot fix a wrong margin.
FAQ
How do you allocate ad spend to products?
Pull total spend by campaign, attach the orders that campaign drove, split multi-SKU orders across their products, then divide the spend among those products by a rule you choose: order count, revenue or contribution. Compare the result to contribution margin per order.
Is Meta attribution the same as ad spend allocation?
No. Meta’s bidding and ROAS goals are documented as campaign delivery settings on its official help pages. Attribution assigns likely influence within a window; allocation is the accounting decision of which product carries which cost. They are not the same number.
Which allocation rule is correct?
Depends on the decision. Order count answers what each order cost, revenue answers what share of spend each sales dollar carried, and contribution answers which products can fund more ads. Pick one, write it down and apply it consistently.
Why did a profitable campaign contain a losing SKU?
Because the blend hid it. In the sample, both SKUs carried $30 in ad cost per order, but one kept $40 before ads and the other kept $15. The campaign broke even while one product lost $15 per order, a loss you cannot see in channel ROAS alone.
Make every allocated dollar traceable
The demo shows Seamline’s published detectors tracing fees, refunds and payouts back to the transactions behind them: the contribution inputs an honest allocation depends on.
Sources
- Meta Business Help: Bidding strategies and ROAS goals (official help page; delivery context only, no performance figures quoted; checked 2026-11-20)
- TrueProfit: Public pricing page, Ad Sync Custom Rules (checked 2026-11-20)
- Investopedia: Contribution Margin, standard definition (cost basis; checked 2026-11-20)