Facebook Ads Audit: Check Meta's Sales Numbers First
A Facebook ads audit tells you whether your Facebook and Instagram ads make money for your store. A standard audit takes nearly all its numbers from the sales total that Meta, the company behind both platforms, reports for your ads. In the accounts we manage at jetfuel.agency, that total often made the return on ad spend (ROAS) look better than it really was.
Meta counts those sales itself, so its report works like a receipt Meta writes for its own work. Check that receipt against your store's real orders before you grade a single ad.
Below, you get the six-step audit we run, a free script that does the math on your own data, and an AI prompt that sorts your ads by idea.
Here is the whole audit in six lines:
Why I check Facebook's sales numbers before the ads
I learned to distrust ad platform reports in the early 2010s, before I founded jetfuel.agency. Back then, I led an in-house ecommerce marketing team that grew a brand from $5M to $30M in annual revenue.
Facebook was the channel the whole company wanted more of, since every monthly report showed it carrying a bigger share of our sales than the month before.
Before we raised the Facebook budget again, we paid an outside specialist to audit the account. The specialist sent back a long slide deck.
The specialist graded our audiences, bids, ad copy, and placements (where the ads appeared). Most of them passed.
The audit never checked whether Facebook's reported sales matched our real orders. So I did that check myself. I exported Facebook's daily purchase report and lined it up against our order system, one day at a time.
On some days, Facebook and our email platform together claimed more orders than the store had taken. Both platforms were counting the same customers.
Facebook was still working, but part of the sales it claimed came from shoppers already on their way to checkout.
We moved budget out of retargeting, which shows ads to people who already visited the site. We put it into finding new customers. From then on, we judged Facebook against total store revenue.
I still start every audit that way, by checking Meta's receipt against the store's orders.
What the standard Facebook ads audit checklist misses
Published Facebook ads audit guides tend to share one checklist. It starts with the pixel, Meta's tracking code on your site.
Then it has you review audiences, watch frequency (how often the same person sees your ad), and refresh creative (your ad images, video, and text). It also has you fix the attribution setting, which controls which sales Meta credits to your ads.
Those checks grade the account with Meta's own numbers and leave your store's sales and margin for last.
Here is what the usual checklist says next to what we see in the accounts we run:
| What the standard checklist says | What we see in the accounts we run |
|---|---|
| The pixel and the Conversions API (tracking that your store's server sends to Meta) both record purchases | Tracking can record a sale and still count it twice. Check whether Meta's purchase count matches your store's order count. |
| Event Match Quality (EMQ), Meta's score for how well your tracking data matches people on Meta, is 7 or higher | In our accounts, a higher score did not predict a higher ROAS, as the next section shows. |
| Frequency stays under 3 | The right cap depends on how well the audience already knows your brand, as step 5 explains. |
| Click-through rate (CTR) stays above a fixed floor | A CTR floor ignores what each click is worth. Judge an ad by its CTR trend and its cost per purchase. |
| You use 7-day click attribution | The window, meaning how many days after a click Meta can claim a sale, decides which sales Meta counts. Step 3 shows how to learn which ones Meta caused. |
| Your Opportunity Score, Meta's built-in account rating, is high | The score climbs as you apply Meta's recommendations. Your margin never enters the math. |
| ROAS beats the target | A ROAS target is often a guess. Set it from your own margin, as step 2 shows. |
What our client data shows about Meta's scores and real results
We run jetfuel.agency, a performance marketing agency and Meta Business Partner. Through our paid social work, meaning ads on platforms like Facebook and Instagram, we manage dozens of Meta accounts.
Those accounts cover categories such as food, supplements, pet products, and hard goods. With that many accounts side by side, we can spot patterns that a single brand cannot see.
For our Event Match Quality study, we pulled the current EMQ from 29 Meta accounts and lined it up against 90 days of ROAS.
Fifteen accounts had a Purchase EMQ score. All fifteen scored between 7.3 and 9.3. ROAS on the actively spending accounts ran anywhere from 1.5x to 8.2x.
We had clean, matched EMQ and ROAS data for six accounts across four product categories. In those six, EMQ did not predict ROAS (the correlation was -0.10, effectively zero). The sample is small, so we treat the result as a rough guide.
A high EMQ score told us nothing about whether the ROAS itself was right. Step 1 below checks that directly.
Our published case studies show what did move results.
Here is the work behind two of those results:
| Account | Work behind the result | Reported result |
|---|---|---|
| Perfect Bar (protein bars) | A full audit of existing ad spend, followed by tighter targeting and creative built around buyer motivations | ROAS up 500% and revenue up 515% within seven months |
| Bare Bones Broth (bone broth) | Tighter targeting of health-conscious shoppers, fresh creative, and more spend on Facebook and Instagram | Revenue up 410% and ROAS up 285% over 12 months |
Our work with Perfect Bar began the same way this audit begins. The brand's earlier campaigns had no clear tracking of their return. So we started with a full audit of its existing spend.
Both gains came from decisions about where the money went and what the ads said. That is why our audits check spend and margin first and settings last.
Want a quick read on your Meta setup before the full audit? Our free Andromeda Readiness Audit takes about three minutes. It scores your account from 0 to 10 on how well your setup suits Andromeda, Meta's newer system for choosing which ads to show.
The six-step Facebook ads audit we run
Run the steps in this order. Each step tells you whether the next one is worth your time.
Here are the six steps:
1. Compare Meta's reported purchases with your store's orders
Export Meta's purchases and purchase value for the last 30 days, then export your store's orders for the same dates. Compare the two files week by week to see where the counts split apart.
If Meta counted more purchases than your store took in any week, stop the audit there. Something in your tracking is counting some orders twice. Every later number in the audit would carry the same error.
The usual cause is a sale that both the pixel and your store's server report to Meta. According to Meta's developer docs, Meta counts the two reports as one sale only when both carry the same event ID. For purchases, Meta suggests your order number as that ID.
A second purchase tag added by your store theme or an app causes the same double count.
Events Manager, the Meta tool where you manage tracking, shows deduplication and event coverage for each event. Check both numbers for the Purchase event, since they show whether the pixel and server reports line up.
A smaller double count can leave Meta's total below your store's total. To catch it, watch the share of store revenue that Meta claims. A sudden jump in that share with no change in spend points to a new duplicate tag.
Then add every other channel's claimed revenue on top. When the claims add up to more than the store made, at least two platforms are counting the same customers.
Expect small mismatches at the start and end of each week. Ads Manager, the Meta tool where you run and report on your ads, can date a purchase by the day of the ad click or view. Your store dates it by the day of the order.
Check the calendar before you compare periods, too. Meta for Developers announced that outside reporting tools pulling data from Meta would stop getting the 7-day view and 28-day view windows on January 12, 2026. These windows credit an ad for sales from people who saw it but did not click.
On March 3, 2026, Meta announced that a click must be a link click to earn credit for a website sale. Meta moved shares, saves, likes, and other non-link clicks into a separate group it now calls engage-through attribution.
Compare periods only under the same settings, because a ROAS drop that starts in March 2026 may come from Meta's new counting rule.
The example below shows what removing a double count can change. We made up the numbers, assuming $80,000 a month of Meta spend and a 38% margin.
Here is the before and after, using the breakeven math from step 2:
| Line | Before removing duplicates | After removing duplicates |
|---|---|---|
| Meta-reported purchase value | $232,000 | $184,000 |
| Reported ROAS | 2.90x | 2.30x |
| Breakeven ROAS | 2.63x | 2.63x |
| Contribution after ad spend | +$8,160 a month | -$10,080 a month |
| Verdict | Scale it | Fix it before you scale |
One duplicate tag made a losing account look ready for more budget. The ads themselves never changed.
2. Hold every campaign to your breakeven ROAS
Start with your contribution margin before ad spend. That is the share of each sales dollar you keep after cost of goods, shipping, payment fees, and returns. Divide 1 by that margin to get breakeven ROAS, the lowest ROAS at which a campaign pays for itself.
Here is the math with a 38% margin:
Breakeven ROAS: 1 divided by 0.38 is 2.63x.
Contribution after ad spend: Multiply the revenue Meta credits to a campaign by 0.38, then subtract the campaign's ad spend.
Example: A campaign at 2.2x on $25,000 of spend gets credit for $55,000 in sales. Its contribution is $20,900 ($55,000 x 0.38) minus $25,000, or -$4,100 a month.
Our breakeven ROAS calculator runs the same math and adds repeat purchases.
Prospecting campaigns, which reach people new to your brand, need a different target from retargeting.
A prospecting campaign can run below breakeven on the first order if repeat orders pay back the cost of winning each new customer in the time frame you set. Retargeting should clear breakeven with room to spare because many of its buyers were already on their way back.
3. Test what Meta caused with a holdout
Attribution shows who saw an ad before buying. To learn how many of those people would have bought anyway, you need a holdout test. A holdout test keeps a group of people from seeing your ads and compares their purchases with everyone else's.
Meta rates this kind of test highly too. In the same March 2026 update, Meta called experiments like its Conversion Lift test "the gold standard in measurement."
A 2023 peer-reviewed study of 663 Meta experiments backs that view. In those experiments, the ads lifted purchases and similar actions by a median of 5%. The best method that used ad data alone, without a test, put that lift at 24%.
Methods that guess the effect from who saw the ads overstated it several times over.
Meta's holdout tests, found in its Test and Learn tool, keep 10% of people as a control group that sees no ads. Meta asks for a budget large enough to record at least 100 of each event you measure.
Start the holdout on retargeting and ads to existing customers, where Meta most likely claims sales that would have happened anyway.
Advantage+ sales campaigns (formerly Advantage+ shopping campaigns) are Meta's automated sales campaigns. According to Meta's developer documentation, new ones no longer offer the old setting that capped spend on existing customers.
Sales to existing customers are usually the cheapest on the platform. And many of those customers would have bought anyway.
To rebuild that cap, the same documentation says to split the campaign into two ad sets. One ad set holds your existing customers under a spend limit. The other ad set leaves them out.
Ads Manager can give you a first hint before you run any test. You can add Meta's incremental attribution column, its estimate of the sales your ads added, to your reports.
Use that column to pick where the holdout goes, then make the final call on the holdout result.
If you would rather not let Meta grade its own test, run a geographic holdout. Pause Meta in a set of matched regions and compare store sales there against the regions that kept running.
Turn the result into one number before you use it. Divide the extra purchases the test credits to your ads by the purchases Meta attributed to the same campaigns over the same window.
If that share comes out at 0.6, a 3.0x platform ROAS is really 1.8x. We made up these numbers for the example. Use your real share in the breakeven math from step 2.
4. Check whether each ad set can reach 50 purchases a week
An ad set is the level in Meta where you choose the audience and, often, the budget. Each new or heavily edited ad set starts in a learning phase, the period when Meta is still working out who should see its ads.
Meta labels an ad set Learning limited when it is unlikely to get about 50 of the results it optimizes for, such as purchases, in the week after its last significant edit. Meta's Learning limited guidance lists combining ad sets as a fix.
To find the daily budget each ad set needs, multiply your target cost per purchase by 50 and divide by 7.
Here is an illustrative account at a $45 target cost per purchase:
One ad set needs about $45 x 50 / 7 = $321 a day.
Six ad sets on $600 a day get $100 each. At $45 a purchase, that buys about 16 purchases a week. All six stay Learning limited.
Two ad sets at $300 a day each get about 47 purchases a week. That is still just short of 50.
One ad set at $600 a day buys about 93 purchases a week and clears 50.
Meta now does more of the targeting itself. According to Meta's engineers, its Andromeda system narrows tens of millions of possible ads down to the few thousand most relevant to each person.
An interest stack is a list of interests you pick by hand to narrow who sees an ad. In our accounts, the creative now does most of that targeting work, because Meta's delivery system uses the ad's own content to find buyers.
Narrow interest stacks mostly split your purchases across small ad sets that never reach 50 a week.
5. Audit the creative by concept
A concept is one buyer motivation, such as the problem the product solves or proof from other customers. Count your concepts, since several ads can share one.
In our accounts, Meta appears to group near-identical ads and treat them as one. Three crops of the same video count as one concept and wear out together.
Each distinct concept lets Meta reach a different kind of buyer.
Ad fatigue means people have seen an ad so often that they stop responding. Judge it by how well the audience knows you and by the CTR trend together. A cold audience of new people tires of an ad far sooner than a warm retargeting audience.
Set a lower frequency cap for cold audiences. Then tune both caps for each account.
In our accounts, the earliest sign of fatigue is a CTR that stays 15% to 20% below the ad's starting level for about five days. We check that cost per purchase has risen too before we pull the ad.
Ads Manager will not group your ads by concept for you. The prompt below does the sorting in a few minutes. Paste it into any AI assistant along with a table of every ad that spent money in the last 30 days.
Here is the prompt:
You are auditing the creative in a Meta ad account for a direct-to-consumer brand.
Below is a table of every ad that spent money in the last 30 days. Each row has the
ad name, spend, primary text, headline, and the first line of the video script or
image text.
Do the following:
1. Group the ads into concepts. A concept is one buyer motivation, such as the
problem the product solves or proof from other customers. Two ads with the same
motivation and a different format or crop belong to one concept.
2. Flag near-duplicates. Meta appears to group near-identical ads and treat them as
one. List every group of ads that a shopper would see as the same ad.
3. For each concept, report the number of ads, total spend, and share of spend.
4. Map each concept to one of five angles: problem or frustration, social proof,
identity, education, or urgency and scarcity. Name every angle with no concept.
5. Write three new concept briefs for the missing angles. Each brief needs a hook
line and the proof the ad will show.
Use only the data in the table. If a field is empty, say so. Leave out any
performance prediction.
[PASTE YOUR AD TABLE HERE]6. Rank the fixes by dollars
Give every finding a monthly dollar figure. Some findings cost you margin today. The rest put future spend at risk.
Tracking fixes go first, whatever their dollar figure. If Meta's receipt is wrong, every other dollar figure is wrong too.
After that, sort by dollars and put any finding with no dollar figure at the bottom.
The table below shows the top of the work order (our ranked list of fixes) from the test file in the script section. We made up the numbers in that file.
Here are the top four findings:
| Rank | Finding | Dollars a month | Type |
|---|---|---|---|
| 1 | Meta counted more purchases than the store took in 2 of 6 weeks | $67,417 | All spend decisions |
| 2 | Advantage+ prospecting at 1.58x against a 2.63x breakeven | $18,131 | Margin lost |
| 3 | Interest-stack prospecting at 0.81x against a 2.63x breakeven | $7,597 | Margin lost |
| 4 | One concept carries 93% of Advantage+ spend | $42,848 | Spend at risk |
The fourth finding has a bigger dollar figure than either margin loss. It still ranks below them because spend at risk can wait a week, while lost margin costs you money every day.
The account settings we check last
Check the account settings once you finish the money checks. Most take a minute each. The ones below cover the setup mistakes we find most often when we take over an account from another team.
Here are the settings we check last and what each one should show:
| Setting | What to look for | Why it matters |
|---|---|---|
| Campaign objective | Sales campaigns use the Sales objective | A Traffic or Engagement objective buys clicks and likes. Meta delivers exactly what you ask for. |
| Optimization event | Purchase, unless your ad sets cannot reach 50 purchases a week | An add-to-cart goal finds people who add to cart. Move back to Purchase once volume allows. |
| Bid strategy | Any cost cap or ROAS goal comes from your breakeven math | A guessed cap either limits delivery too much or lets losing spend through. |
| Existing customers | You define your customer list in Ads Manager's audience settings | Without a definition, you cannot see how much spend goes to people who already buy from you. |
| Placements | A placement breakdown shows no placement spending money with zero purchases | Automatic placements usually help. A breakdown catches the rare placement that does not. |
| Landing page | The page repeats the ad's promise and loads fast on a phone | Meta can get the click and still lose the sale if the page is slow or does not match the ad. |
| Product catalog | Feed prices and stock match the site | A price mismatch wastes the click and can lead Meta to reject products. |
| Attribution setting | Every campaign you compare uses the same attribution setting | Mixed settings can make one campaign look better only because Meta counts its sales differently. |
| Creative enhancements | You know which Advantage+ creative enhancements are on | Some enhancements edit your text or images. Turn off any that break your brand or category rules. |
| Account ownership | Your company owns the ad account and the pixel. The agency gets partner access. | If an agency owns the account, your history leaves when the agency does. |
| Ad naming | Every ad name starts with its concept, such as problemhook_ugc_v3 | Concept-level reporting depends on it. The script below reads it with its concept-field option. |
These settings protect the campaigns that pass the money checks.
A free Python script that runs this audit on your exports
Opportunity Score and many third-party audit tools grade your account from Ads Manager data alone.
Our script adds the store and margin checks those tools skip. Then it ranks the results.
Here is what the script does:
Receipt check: The script lines up Meta's weekly purchases against your Shopify orders. It flags any week where Meta counted more purchases than the store took.
Share check: It flags any week where Meta's claimed share of store revenue jumps, which catches smaller double counts.
Clean weeks: It leaves out the weeks Meta counted twice when it does the money math. That way, a tracking bug cannot hide a losing campaign.
Breakeven check: It compares every campaign with your breakeven ROAS. Any holdout result you add adjusts the math first.
Learning check: It flags ad sets below about 50 purchases a week and shows the daily budget each one needs.
Concept check: It groups near-identical ads into concepts and shows how much spend goes to the top concept.
Fatigue check: It flags concepts that have passed their audience's frequency cap and lost 20% or more of their CTR.
Work order: It writes a list of fixes ranked by dollars and puts tracking fixes at the top.
Export two files first:
In Ads Manager, open the Ads tab and set the breakdown to Time, then Week. Add campaign name, ad set name, ad name, amount spent, impressions, reach, frequency, link clicks, purchases, and purchase conversion value. Save the table as a CSV (comma-separated values) file.
In Shopify, open Orders, click Export, and choose a CSV file for the same dates.
Then run this one command and put your own margin in place of 0.38:
python3 meta_audit.py --meta meta_weekly.csv --orders orders_export.csv --margin 0.38Once you have a holdout result, add your share with the lift option (for example, 0.6). Until then, the script warns you that it trusts Meta's numbers in full.
If your ad names follow a pattern, the concept-field and concept-delim options tell the script which part of the name holds the concept.
Here is the script:
#!/usr/bin/env python3
"""
meta_audit.py: a money-first Facebook (Meta) ads audit from two CSV exports.
What it does, in the order an audit should run:
1. Receipt check - lines Meta's claimed purchases up against your store's real orders.
2. Money check - prices every campaign against your breakeven ROAS (1 / contribution margin).
3. Learning check - flags ad sets that cannot reach ~50 optimization events a week.
4. Concept check - counts the distinct creative concepts actually carrying spend.
5. Fatigue check - flags ads past a frequency cap for their audience warmth AND losing CTR.
6. Work order - ranks every finding by dollars at stake per month and writes a CSV.
Inputs
--meta Ads Manager export at the AD level with Time breakdown = Week (one row per ad per week).
Columns it looks for (names vary, matching is fuzzy): Reporting starts, Reporting ends,
Campaign name, Ad set name, Ad name, Amount spent, Impressions, Reach, Frequency,
Link clicks, Purchases, Purchases conversion value.
--orders Optional Shopify orders export (Orders > Export > CSV). Uses Name, Created at,
Subtotal (or Total) and Financial Status. Line-item rows collapse to one row per order.
--concept-field / --concept-delim
Optional. If ad names follow a pattern like problemhook_ugc_v3, pass
--concept-field 0 --concept-delim _ so the first part of the name is the concept.
Only the Python 3 standard library is used, so it runs anywhere Python 3.8+ runs.
Example
python3 meta_audit.py --meta meta_weekly.csv --orders orders_export.csv \
--margin 0.35 --lift 1.0 --out work_order.csv
Credit where due: Meta's own Opportunity Score inside Ads Manager also audits your account.
The score climbs as you apply Meta's recommendations. Meta's score never sees your store's
orders or your margin. Those two inputs are what this script checks first.
"""
import argparse
import csv
import re
import sys
from collections import defaultdict
from datetime import datetime, date
# ---------------------------------------------------------------- parsing helpers
COLUMN_PATTERNS = {
"start": [r"^reporting starts?$", r"^week$", r"^day$", r"^date$"],
"end": [r"^reporting ends?$"],
"campaign": [r"^campaign name$", r"^campaign$"],
"adset": [r"^ad set name$", r"^adset name$", r"^ad set$"],
"ad": [r"^ad name$", r"^ad$"],
"spend": [r"^amount spent", r"^spend"],
"impr": [r"^impressions$"],
"reach": [r"^reach$"],
"freq": [r"^frequency$"],
"clicks": [r"^link clicks$", r"^outbound clicks$", r"^clicks \(all\)$"],
"purch": [r"^purchases$", r"^website purchases$", r"^results$"],
"value": [r"^purchases conversion value$", r"^website purchases conversion value$",
r"^purchase conversion value$"],
}
DATE_FORMATS = ["%Y-%m-%d", "%m/%d/%Y", "%m/%d/%y", "%d/%m/%Y", "%b %d, %Y", "%B %d, %Y"]
def find_columns(header):
"""Map our internal names to the export's real column names (first match wins).
'Results' is a last resort for purchases: it counts whatever each ad set optimizes for."""
norm = {h: re.sub(r"\s+", " ", h.strip().lower()) for h in header}
found = {}
for key, patterns in COLUMN_PATTERNS.items():
for pat in patterns:
hit = next((h for h, n in norm.items() if re.search(pat, n)), None)
if hit:
found[key] = hit
break
return found
def num(raw):
"""Turn '$1,234.50', '12%', '', '-' or None into a float."""
if raw is None:
return 0.0
s = str(raw).strip().replace(",", "").replace("$", "").replace("%", "")
if s in ("", "-", "\u2014", "N/A", "n/a", "None"):
return 0.0
try:
return float(s)
except ValueError:
return 0.0
def to_date(raw):
if not raw:
return None
s = str(raw).strip()
if re.match(r"^\d{4}-\d{2}-\d{2}", s):
try:
return datetime.strptime(s[:10], "%Y-%m-%d").date()
except ValueError:
return None
for fmt in DATE_FORMATS:
try:
return datetime.strptime(s, fmt).date()
except ValueError:
continue
return None
def concept_key(ad_name, field=None, delim="|"):
"""Group near-identical ads. Meta appears to treat near-duplicates as one ad, so we do too.
With --concept-field, take that field of the ad name (e.g. 'UGC|Problem|v3' -> field 1 = 'problem').
Otherwise strip copy and version suffixes: 'Hero Video - Copy 2' and 'hero video v3' match."""
name = (ad_name or "").strip().lower()
if field is not None:
parts = [p.strip() for p in name.split(delim)]
return parts[field] if len(parts) > field and parts[field] else name
name = re.sub(r"\s*[-_]?\s*copy(\s*\d+)?$", "", name)
name = re.sub(r"\s*\(\d+\)$", "", name)
name = re.sub(r"[\s_-]*v\d+$", "", name)
name = re.sub(r"[\s_-]+", " ", name)
return name.strip()
def is_warm(campaign, adset, warm_words):
text = f"{campaign} {adset}".lower()
return any(w in text for w in warm_words)
# ---------------------------------------------------------------- loaders
def load_meta(path):
with open(path, newline="", encoding="utf-8-sig") as f:
reader = csv.DictReader(f)
cols = find_columns(reader.fieldnames or [])
needed = ["start", "campaign", "adset", "ad", "spend", "impr"]
missing = [k for k in needed if k not in cols]
if missing:
sys.exit(f"Meta export is missing columns for: {', '.join(missing)}. "
f"Export at the ad level with Time breakdown = Week.")
if "purch" not in cols or "value" not in cols:
print("WARNING: no purchase or purchase value column found. Money checks will read zero.")
elif cols["purch"].strip().lower() == "results":
print("WARNING: using the 'Results' column as purchases. Check every ad set optimizes for Purchase.")
rows = []
for r in reader:
start = to_date(r.get(cols["start"]))
if start is None: # skips Meta's totals row and blank lines
continue
end = to_date(r.get(cols.get("end"))) if "end" in cols else None
rows.append({
"start": start, "end": end or start,
"campaign": r.get(cols["campaign"], "").strip(),
"adset": r.get(cols["adset"], "").strip(),
"ad": r.get(cols["ad"], "").strip(),
"spend": num(r.get(cols["spend"])),
"impr": num(r.get(cols["impr"])),
"reach": num(r.get(cols.get("reach"))),
"freq": num(r.get(cols.get("freq"))),
"clicks": num(r.get(cols.get("clicks"))),
"purch": num(r.get(cols.get("purch"))),
"value": num(r.get(cols.get("value"))),
})
if not rows:
sys.exit("No dated rows found in the Meta export.")
# A daily export still works: roll each day into its Monday-to-Sunday week.
# Reach and frequency cannot be summed across days, so frequency checks need the weekly export.
if sum(1 for r in rows if (r["end"] - r["start"]).days < 6) > len(rows) / 2:
print("NOTE: daily rows detected. Rolling them into weeks. Re-export with Time breakdown = Week "
"for an exact 7-day frequency.\n")
from datetime import timedelta
merged = {}
for r in rows:
monday = r["start"] - timedelta(days=r["start"].weekday())
key = (monday, r["campaign"], r["adset"], r["ad"])
m = merged.setdefault(key, dict(r, start=monday, end=r["end"],
spend=0.0, impr=0.0, reach=0.0, freq=0.0,
clicks=0.0, purch=0.0, value=0.0))
m["end"] = max(m["end"], r["end"])
for k in ("spend", "impr", "clicks", "purch", "value"):
m[k] += r[k]
rows = list(merged.values())
for r in rows:
r["freq"] = 0.0 # daily reach cannot be summed into weekly reach,
r["reach"] = 0.0 # so the fatigue check skips daily exports
return rows
def load_orders(path):
"""One row per order. Shopify repeats the order Name on every line item; totals sit on the first.
Revenue uses Subtotal when the export has it (Total includes tax and shipping).
Only voided orders are dropped: a refunded or cancelled order still fired a purchase event.
Shopify dates orders in the store's time zone. If your ad account uses another zone,
expect a few orders to land in the neighboring week."""
orders = {}
with open(path, newline="", encoding="utf-8-sig") as f:
reader = csv.DictReader(f)
h = {k.lower().strip(): k for k in (reader.fieldnames or [])}
name_c, date_c = h.get("name"), h.get("created at")
total_c = h.get("subtotal") or h.get("total")
status_c = h.get("financial status")
if not (name_c and date_c and total_c):
sys.exit("Orders export needs Name, Created at and Total columns (Shopify orders CSV).")
for r in reader:
name = (r.get(name_c) or "").strip()
if not name or name in orders:
continue
status = (r.get(status_c) or "").strip().lower() if status_c else ""
if status == "voided":
continue
d = to_date(r.get(date_c))
if d is None:
continue
orders[name] = (d, num(r.get(total_c)))
return list(orders.values())
# ---------------------------------------------------------------- the checks
def receipt_check(rows, orders):
"""Compare Meta's claims with real orders, week by week, inside Meta's own reporting ranges."""
weeks = defaultdict(lambda: {"end": None, "purch": 0.0, "value": 0.0, "spend": 0.0})
for r in rows:
w = weeks[r["start"]]
w["end"] = max(w["end"] or r["end"], r["end"])
w["purch"] += r["purch"]
w["value"] += r["value"]
w["spend"] += r["spend"]
out = []
if orders:
o_first, o_last = min(d for d, _ in orders), max(d for d, _ in orders)
m_first, m_last = min(weeks), max(w["end"] for w in weeks.values())
if o_first > m_first or o_last < m_last:
print(f" WARNING: orders cover {o_first} to {o_last} but Meta covers {m_first} to {m_last}. "
f"Weeks outside the orders file will look wrong.")
for start in sorted(weeks):
w = weeks[start]
inside = [t for d, t in orders if start <= d <= w["end"]]
store_orders, store_rev = len(inside), sum(inside)
out.append({
"week": start.isoformat(), "meta_purchases": round(w["purch"]),
"store_orders": store_orders,
"meta_value": w["value"], "store_revenue": store_rev,
"claim_share": (w["value"] / store_rev) if store_rev else None,
"impossible": store_orders > 0 and w["purch"] > store_orders,
})
# A smaller double count never pushes Meta past the store. Flag sudden jumps in claimed share.
shares = [w["claim_share"] for w in out if w["claim_share"] is not None]
for w in out:
others = sorted(x for x in shares if x is not w["claim_share"])
base = others[len(others) // 2] if others else None
w["spike"] = (not w["impossible"] and base and w["claim_share"] is not None
and w["claim_share"] > 1.5 * base)
return out
def money_check(rows, margin, lift, days, skip_weeks=()):
"""Contribution after ad spend per campaign. Weeks that failed the receipt check are left out,
because a double-counted week inflates ROAS and would hide a losing campaign."""
by_c = defaultdict(lambda: {"spend": 0.0, "value": 0.0, "purch": 0.0})
kept_days = days - 7 * len(skip_weeks)
for r in rows:
if r["start"].isoformat() in skip_weeks:
continue
c = by_c[r["campaign"]]
c["spend"] += r["spend"]; c["value"] += r["value"]; c["purch"] += r["purch"]
breakeven = 1 / margin
out = []
for name, c in by_c.items():
if c["spend"] <= 0:
continue
roas = c["value"] / c["spend"]
contribution = c["value"] * lift * margin - c["spend"]
out.append({
"campaign": name, "spend": c["spend"], "platform_roas": roas,
"roas_after_lift": roas * lift, "breakeven_roas": breakeven,
"monthly_contribution": contribution * 30 / max(1, kept_days),
})
return sorted(out, key=lambda x: x["monthly_contribution"])
def learning_check(rows, target_cpa, skip_weeks=()):
"""Meta: an ad set goes Learning limited when it is unlikely to get ~50 optimization events
in the week after its last significant edit. We read the most recent complete week
(7 days of data) and key ad sets by campaign plus ad set name."""
full = sorted({r["start"] for r in rows if (r["end"] - r["start"]).days >= 6})
last_week = full[-1] if full else max(r["start"] for r in rows)
if not full:
print(" WARNING: no complete 7-day week in the export. Reading the latest partial week.")
by_s = defaultdict(lambda: {"spend": 0.0, "purch": 0.0, "spend_all": 0.0, "purch_all": 0.0})
for r in rows:
s = by_s[(r["campaign"], r["adset"])]
if r["start"].isoformat() not in skip_weeks: # CPA from weeks that passed the receipt check
s["spend_all"] += r["spend"]; s["purch_all"] += r["purch"]
if r["start"] == last_week:
s["spend"] += r["spend"]; s["purch"] += r["purch"]
out = []
for (camp, adset), s in by_s.items():
if s["spend"] <= 0:
continue
cpa = target_cpa or ((s["spend_all"] / s["purch_all"]) if s["purch_all"] else None)
needed_daily = (cpa * 50 / 7) if cpa else None
out.append({
"adset": f"{camp} > {adset}", "weekly_events": s["purch"],
"weekly_spend": s["spend"], "cpa_used": cpa, "daily_budget_for_50": needed_daily,
"limited": s["purch"] < 50, "monthly_spend": s["spend"] * 30 / 7,
})
return sorted(out, key=lambda x: x["weekly_events"])
def concept_check(rows, field, delim, recent_weeks=2):
weeks = sorted({r["start"] for r in rows})[-recent_weeks:]
by_c = defaultdict(lambda: defaultdict(float))
for r in rows:
if r["start"] in weeks:
by_c[r["campaign"]][concept_key(r["ad"], field, delim)] += r["spend"]
out = []
for camp, concepts in by_c.items():
total = sum(concepts.values())
if total <= 0:
continue
ranked = sorted(concepts.items(), key=lambda kv: kv[1], reverse=True)
live = [k for k, v in ranked if v / total >= 0.05]
out.append({
"campaign": camp, "live_concepts": len(live), "all_concepts": len(ranked),
"top_concept": ranked[0][0], "top_share": ranked[0][1] / total,
"monthly_spend": total * 30 / (7 * len(weeks)),
})
return out
def fatigue_check(rows, cold_cap, warm_cap, warm_words, ctr_drop, field=None, delim="|"):
"""Fatigue is judged per concept, because near-identical ads share one audience pool.
A concept is fatigued when its frequency passes the cap for its audience warmth AND its
CTR has fallen at least ctr_drop from its first two live weeks. Concept frequency is the
impression-weighted average of each ad's own 7-day frequency. When ads in a concept reach
the same people, the true concept frequency runs higher, so treat a flag as conservative."""
if not any(r["freq"] or r["reach"] for r in rows):
return None # daily export: no reliable 7-day frequency
by_concept = defaultdict(lambda: defaultdict(lambda: {"impr": 0.0, "clicks": 0.0, "spend": 0.0,
"reach": 0.0, "freq_w": 0.0}))
names = defaultdict(set)
for r in rows:
key = (r["campaign"], r["adset"], concept_key(r["ad"], field, delim))
names[key].add(r["ad"])
wk = by_concept[key][r["start"]]
wk["impr"] += r["impr"]; wk["clicks"] += r["clicks"]; wk["spend"] += r["spend"]
wk["reach"] += r["reach"]
wk["freq_w"] += (r["freq"] or 0) * r["impr"] # impression-weighted frequency
last_week = max(r["start"] for r in rows)
out = []
for (camp, adset, concept), weeks in by_concept.items():
live = [(d, w) for d, w in sorted(weeks.items()) if w["impr"] > 0]
latest = weeks.get(last_week)
if not latest or latest["impr"] <= 0 or len(live) < 3:
continue
base = [w for _, w in live[:2]]
base_ctr = sum(w["clicks"] for w in base) / max(1.0, sum(w["impr"] for w in base))
now_ctr = latest["clicks"] / latest["impr"]
warm = is_warm(camp, adset, warm_words)
cap = warm_cap if warm else cold_cap
freq = latest["freq_w"] / latest["impr"] if latest["freq_w"] else (
latest["impr"] / latest["reach"] if latest["reach"] else 0)
drop = 1 - (now_ctr / base_ctr) if base_ctr else 0
if freq > cap and drop >= ctr_drop:
out.append({
"concept": concept, "ads": len(names[(camp, adset, concept)]), "campaign": camp,
"audience": "warm" if warm else "cold", "frequency_7d": freq, "cap": cap,
"ctr_start": base_ctr, "ctr_now": now_ctr, "ctr_drop": drop,
"monthly_spend": latest["spend"] * 30 / 7,
})
return sorted(out, key=lambda x: x["monthly_spend"], reverse=True)
# ---------------------------------------------------------------- report
def money(x):
return f"-${abs(x):,.0f}" if x < 0 else f"${x:,.0f}"
def main():
p = argparse.ArgumentParser(description="Money-first Meta ads audit from CSV exports.")
p.add_argument("--meta", required=True, help="Ads Manager export, ad level, weekly breakdown")
p.add_argument("--orders", help="Shopify orders export (optional, needed for the receipt check)")
p.add_argument("--margin", type=float, required=True,
help="Contribution margin before ad spend as a decimal, e.g. 0.35")
p.add_argument("--lift", type=float, default=1.0,
help="Incremental purchases from a holdout test divided by the purchases Meta attributed to the "
"same campaigns over the same window, e.g. 0.6. Default 1.0 trusts Meta fully")
p.add_argument("--target-cpa", type=float, help="Target cost per purchase. Default: each ad set's own CPA")
p.add_argument("--cold-cap", type=float, default=2.0, help="7-day frequency cap for cold prospecting")
p.add_argument("--warm-cap", type=float, default=4.5, help="7-day frequency cap for warm retargeting")
p.add_argument("--ctr-drop", type=float, default=0.20, help="CTR decline from an ad's first two weeks that counts as fatigue")
p.add_argument("--warm-words", default="retarget,rtg,remarket,warm,existing,cart,atc,vc,engager,visitors",
help="Comma list of name fragments that mark a campaign or ad set as warm")
p.add_argument("--concept-field", type=int, help="Which field of the ad name holds the concept (0-based)")
p.add_argument("--concept-delim", default="|", help="Delimiter for --concept-field")
p.add_argument("--out", default="work_order.csv", help="Where to write the ranked work order")
a = p.parse_args()
if not 0 < a.margin < 1:
sys.exit("--margin must be a decimal between 0 and 1, e.g. 0.35 for 35%.")
if a.lift == 1.0:
print("NOTE: --lift is 1.0, so the money check assumes Meta caused every sale it claims. "
"Run a holdout and pass the real share.\n")
rows = load_meta(a.meta)
first, last = min(r["start"] for r in rows), max(r["end"] for r in rows)
days = (last - first).days + 1
warm_words = [w.strip().lower() for w in a.warm_words.split(",") if w.strip()]
work = [] # (check, object, finding, dollars, dollar_type, action)
skip_weeks = set()
print(f"Meta export: {len(rows)} ad-week rows, {first} to {last} ({days} days), "
f"spend {money(sum(r['spend'] for r in rows))}\n")
# 1. Receipt
if a.orders:
orders = load_orders(a.orders)
rc = receipt_check(rows, orders)
print("1) RECEIPT CHECK: Meta's claims next to your store")
for w in rc:
share = f"{w['claim_share']:.0%}" if w["claim_share"] is not None else "n/a"
flag = (" <-- IMPOSSIBLE: more Meta purchases than store orders" if w["impossible"]
else " <-- SPIKE: claimed share jumped, check for a new duplicate tag" if w["spike"] else "")
print(f" week of {w['week']}: Meta {w['meta_purchases']} purchases / store {w['store_orders']} orders, "
f"Meta claims {share} of store revenue{flag}")
bad = [w for w in rc if w["impossible"]]
spikes = [w for w in rc if w["spike"]]
if spikes and not bad:
work.append(("1 Receipt", "Purchase tracking", f"{len(spikes)} week(s) where Meta's claimed share jumped",
sum(r["spend"] for r in rows) * 30 / days, "all spend decisions",
"Check Events Manager deduplication and event coverage for the Purchase event"))
if bad:
monthly = sum(r["spend"] for r in rows) * 30 / days
skip_weeks = {w["week"] for w in bad}
work.append(("1 Receipt", "Purchase tracking", f"{len(bad)} week(s) where Meta counted more purchases than the store took",
monthly, "all spend decisions",
"Fix deduplication (event_id + event_name) before trusting any other number"))
print(f" Money check below leaves out {len(bad)} double-counted week(s).")
print()
else:
print("1) RECEIPT CHECK skipped: pass --orders to compare Meta with your store.\n")
# 2. Money
mc = money_check(rows, a.margin, a.lift, days, skip_weeks)
print(f"2) MONEY CHECK: breakeven ROAS = 1 / {a.margin} = {1 / a.margin:.2f}x")
for c in mc:
verdict = "LOSING MONEY" if c["monthly_contribution"] < 0 else "pays"
print(f" {c['campaign']}: platform ROAS {c['platform_roas']:.2f}x, after lift {c['roas_after_lift']:.2f}x, "
f"contribution {money(c['monthly_contribution'])}/mo [{verdict}]")
if c["monthly_contribution"] < 0:
work.append(("2 Money", c["campaign"], f"ROAS {c['roas_after_lift']:.2f}x vs breakeven {c['breakeven_roas']:.2f}x",
-c["monthly_contribution"], "margin lost",
"Cut spend or fix the offer and creative before scaling"))
print()
# 3. Learning
lc = learning_check(rows, a.target_cpa, skip_weeks)
limited = [s for s in lc if s["limited"]]
print(f"3) LEARNING CHECK: {len(limited)} of {len(lc)} ad sets got fewer than 50 purchases last week")
for s in limited:
need = f"${s['daily_budget_for_50']:,.0f}/day" if s["daily_budget_for_50"] else "n/a (no purchases)"
print(f" {s['adset']}: {s['weekly_events']:.0f} purchases last week, needs about {need} to reach 50")
work.append(("3 Learning", s["adset"], f"{s['weekly_events']:.0f} purchases/week, below ~50",
s["monthly_spend"], "spend at risk",
"Merge into fewer ad sets or optimize for a more frequent event"))
print()
# 4. Concepts
cc = concept_check(rows, a.concept_field, a.concept_delim)
print("4) CONCEPT CHECK (last two weeks, concepts with 5%+ of campaign spend)")
for c in cc:
print(f" {c['campaign']}: {c['live_concepts']} live concept(s) of {c['all_concepts']}, "
f"top concept '{c['top_concept']}' takes {c['top_share']:.0%} of spend")
if c["live_concepts"] <= 5 or c["top_share"] >= 0.5:
work.append(("4 Concepts", c["campaign"], f"{c['live_concepts']} live concepts, top one {c['top_share']:.0%} of spend",
c["monthly_spend"] * c["top_share"], "spend at risk",
"Brief new concepts by buyer motivation, then test them"))
print()
# 5. Fatigue
fc = fatigue_check(rows, a.cold_cap, a.warm_cap, warm_words, a.ctr_drop, a.concept_field, a.concept_delim)
if fc is None:
print("5) FATIGUE CHECK skipped: frequency needs the weekly export (daily reach cannot be added up).")
fc = []
else:
print(f"5) FATIGUE CHECK: {len(fc)} concept(s) past their frequency cap with CTR down {a.ctr_drop:.0%}+")
for f in fc:
print(f" '{f['concept']}' ({f['ads']} ad(s), {f['audience']}): frequency {f['frequency_7d']:.1f} "
f"vs cap {f['cap']}, CTR {f['ctr_start']:.2%} -> {f['ctr_now']:.2%}")
work.append(("5 Fatigue", f"{f['concept']} ({f['ads']} ads)",
f"freq {f['frequency_7d']:.1f} ({f['audience']}), CTR down {f['ctr_drop']:.0%}",
f["monthly_spend"], "spend at risk", "Replace with a new concept. A resized copy fatigues with the original"))
print()
# 6. Work order: measurement first, then margin actually lost, then spend at risk
tier = {"all spend decisions": 0, "margin lost": 1, "spend at risk": 2}
work.sort(key=lambda w: (tier[w[4]], -w[3]))
with open(a.out, "w", newline="", encoding="utf-8") as f:
wr = csv.writer(f)
wr.writerow(["rank", "check", "object", "finding", "dollars_per_month", "dollar_type", "next_action"])
for i, w in enumerate(work, 1):
wr.writerow([i, w[0], w[1], w[2], round(w[3]), w[4], w[5]])
print(f"6) WORK ORDER: {len(work)} findings ranked, written to {a.out}")
for i, w in enumerate(work[:8], 1):
print(f" {i}. [{w[0]}] {w[1]}: {w[2]} | {money(w[3])}/mo {w[4]} | {w[5]}")
if __name__ == "__main__":
main()We built a test file to try to break the script. The file has a duplicate purchase tag in two of its six weeks. We made up every number in it.
Here is a trimmed excerpt of the output:
1) RECEIPT CHECK: Meta's claims next to your store
[...]
week of 2026-09-21: Meta 814 purchases / store 520 orders, Meta claims 146% of store revenue <-- IMPOSSIBLE: more Meta purchases than store orders
week of 2026-09-28: Meta 743 purchases / store 520 orders, Meta claims 134% of store revenue <-- IMPOSSIBLE: more Meta purchases than store orders
[...]
Money check below leaves out 2 double-counted week(s).
2) MONEY CHECK: breakeven ROAS = 1 / 0.38 = 2.63x
Prospecting | Advantage+ Sales: platform ROAS 1.58x, after lift 1.58x, contribution -$18,131/mo [LOSING MONEY]
[...]
5) FATIGUE CHECK: 3 concept(s) past their frequency cap with CTR down 20%+
'ugc problem hook' (3 ad(s), cold): frequency 2.5 vs cap 2.0, CTR 1.30% -> 0.88%
[...]
6) WORK ORDER: 14 findings ranked, written to work_order.csv
1. [1 Receipt] Purchase tracking: 2 week(s) where Meta counted more purchases than the store took | $67,417/mo all spend decisions | Fix deduplication (event_id + event_name) before trusting any other number
2. [2 Money] Prospecting | Advantage+ Sales: ROAS 1.58x vs breakeven 2.63x | $18,131/mo margin lost | Cut spend or fix the offer and creative before scaling
[...]The fatigue line shows the script grouping three separate-looking ads into one worn-out concept. That concept carried most of the prospecting spend.
Why moving budget into retargeting hurts total revenue
Retargeting usually posts the best ROAS in Ads Manager because its audience already knows the brand.
Prospecting looks worse because reaching people who don't know the brand costs more. If you read that report at face value, you may move budget from prospecting into retargeting.
Blended ROAS, your total revenue divided by total ad spend, can improve for a few weeks while the retargeting audience shrinks, but total revenue drops soon after.
Judge prospecting on new-customer revenue and total store revenue instead. In our experience, the campaign with the highest ROAS in Ads Manager is the one most likely to claim sales that your store would have made without it.
Frequently asked questions
Here is what founders usually ask before we open their Meta account:
Should you pause campaigns while you audit?
No, your ads can keep running because the audit works from exported reports. Hold significant edits until you finish so the learning phase does not restart mid-audit.
Is Meta's incremental attribution column enough, or do you need a holdout test?
No, the column is a good first hint, but it comes from Meta's own model. Use it to decide where to test. Before you cut or raise spend on a big campaign, run a holdout test on your own account.
What is a good ROAS for Facebook ads?
A good ROAS is any ROAS above the breakeven your margin sets. We do not publish an average ROAS from our own accounts. Tracking differs too much from account to account for an average to mean anything.
Is a Facebook ads audit the same as a Meta ads audit?
Yes, one audit covers both because Facebook and Instagram ads run from the same Ads Manager. Break results down by placement when one placement looks off.
Should you trust Meta's Opportunity Score?
You can trust it to show which of Meta's recommendations you have not applied yet. The score never checks your store's orders or your margin, so a high score cannot tell you whether the account makes money.
What should you fix first if everything looks broken?
Fix purchase tracking first. Every other finding depends on Meta counting orders correctly. Once Meta's purchase count matches your store's orders, redo the breakeven math before you touch creative or structure.
Where to start your Facebook ads audit
Start your Facebook ads audit with the receipt check and repeat it every month. A new app or theme update can add a second purchase tag at any time.
And before you move budget between campaigns, let a holdout test show which sales Meta really caused.
At jetfuel.agency, we run ads on Meta, TikTok, and Google, plus email, for direct-to-consumer (DTC) and consumer packaged goods (CPG) brands. We report every channel against store revenue and contribution margin.
Want to know whether your Meta ads make money for your store? Ask our team to run the receipt check and breakeven math on your account. We will show you which campaigns to fix first and which ones need a holdout test.
Still have questions?
Let your AI
pressure-test us.
Ask the assistant you already trust.
What does the jetfuel.agency analysis in "Facebook Ads Audit: Check Meta's Sales Numbers First" show about its expertise?
Launch into Success
Tell us a bit about yourself and your business. We are just one message away from the perfect partnership!