Competitor ad research v2: final testing

MIF-1704 · taken over from Alex · tested 26 Nov 2026 on dev data · bulk competitor data, so the cost limits are stricter than for customers' own ads.

Free trial, 3 competitors
$0.85–0.94
under $1 · measured on 7 trial runs
Paid run, 1,000 ads (Speechify)
$3.12
in $1.50–4 · measured, 624 creatives read in full
Largest paid run, new caps
≈ $3.95
held under $4 · was ≈ $8 on the old caps
Test spend today
$3.51
incl. two failed attempts · under the $5 line

What a run costs

Unit costs measured on dev: a full read (Gemini 3.5 Flash-Lite, one call per creative, prompt caching on) is $0.0042; an opening-frame read (Jev labels + Flash-Lite hook text) is $0.00062; ScrapeCreators listing is ~1.05 credits per ad at an assumed $0.00055 per credit. Credits are not in a run's recorded cost_usd.

Paid run cost by competitor size

Estimate from the unit costs; 0.75 creatives per ad listed, first 600 creatives read in full. Shaded band = the $1.50–4 target. The two lines are the same up to 1,500 ads.

Old caps (5,000 ads) New caps (1,500 ads, $3 analysis) Measured: Speechify, 1,000 ads

Where the money goes

Full reads Listing credits Opening-frame reads Themes, brief, vertical

Not included: Lambda, S3 and SQS (not measured). Cache hit rate is not stored per row; the $0.0042 already includes caching. Copying tags between ads that reuse footage is not built: 13% of Speechify's creatives repeat footage (2–42% across advertisers), worth about $0.30 on a 1,000-ad run.

RunWhat happenedCost
Attempt 1Failed after 1.5 min: ScrapeCreators said "Facebook is blocking us, start from the beginning" and the run retried a dead cursor until it gave up. Fixed.$0.01
Attempt 2Completed, but 846 of 1,003 video downloads failed on the local Mac (its IPv6 route is dead; Node tries IPv6 first). Only 44 ads got a full read. A local problem only: the deployed Lambdas download fine.$0.91
Attempt 3IPv4 forced. 624 of 624 creatives read in full, 0 failed, 8 hook tests found, brief and themes written. 42 min locally at 4 reads at a time (deployed runs do 10; expect ~20 min, not measured).$2.59

Attempt 3 reused the reach data from attempt 2, so it paid only 191 credits. A fresh run pays ~1,043 credits ($0.57): $3.12 all in, against a model estimate of $3.27.

Trial limit: tested end to end

Local API and frontend branches against dev data. Dev company "AAA" was switched to trial with two used slots seeded, then restored to paying ("scale", active) afterwards. No analyser run was started; $0 spent.

StepExpectedResult
Allowance before2 used, 1 left2 used, 1 left
3rd competitor (Speechify)allowed, no new run (fresh full-depth run exists)200, 3 of 3 used, no run
4th competitor (Notion)400 trial_limit, no run400 "Your trial includes 3 competitors, and all of them are used. Upgrade to research more."
Re-track a used competitorallowed200
Allowance line in the app"3 of 3 trial competitors used"shown
Add competitor windowupgrade message"You've used all 3 competitors in your trial. Upgrade to research more."
Picking a 4th in the windowupgrade promptgeneric error popup: the frontend has no trial_limit handler

On screen

Hook tests: same footage, different opening line, ranked by reach per day
Hook tests on Speechify: same footage, different opening lines, ranked by reach per day. Never seen on screen before this test.
Creative brief for Speechify
Creative brief, written by one Gemini 3.8 Flash call from the run's insights. Leaks a raw field name ("'claim_free': 'yes'") and shows "617.3 reach/day".
What a typical winner looks like
Typical winner. Most traits are as common in losers (captions 94% vs 94%), so it describes the advertiser, not what makes winners win.
Add competitor window with the trial message
Trial allowance used up: the Add competitor window shows the upgrade message.

Question set: ads-v8, shared with the creative tagger

The asset-bank tagger (MIF-1680) already asks the competitor questions. Its 8 Ball Pool run against human labels (200 ads, one labeller) moved agreement from 75.5% to 82.1%. Only the changes with evidence were carried over.

ChangeEvidence on 8BPTaken
story_structure.demo_walkthrough must teach; showing the product in use is not a walkthrough23% → 69% (94 fixed, 4 broken)yes
New options body_format.live_action_activity, game_hook.skill_shot_or_trickfilled gaps where answers fell to "other"yes
opening_visual.real_world_scene takes a filmed person not facing camerafilled a gapyes
hook_device counts only words addressed to the viewer44% → 60% overall, but real-hook recall 8/14 → 5/14; app ads have far more spoken hooksno
opening_visual: decide filmed vs rendered first74% → 75%, no effectno

Caveat: tuned on one advertiser with one labeller; the gain on app and tech ads is unmeasured. The tagger's 720p proxy is not needed here: 0 of 4,719 stored competitor videos exceed Gemini's 14 MB inline limit (median 1.1 MB).

Changes on the branch (uncommitted)

Still open

ItemWhy it mattersSize
Deploy on nodejs24.xCode runs on Node 24 locally; the Lambda packaging is untested. Needs a go-ahead.small
Frontend: handle trial_limitA 4th pick shows a generic error instead of the upgrade window.small
Brief promptNo raw field names; round reach numbers.small
Invented speech on music-only adsGemini 3.8 invented speech on 13 of 50 videos; Flash-Lite on 1, missed it on 4. Not checked on the new questions.medium
Copy tags within footage groupsSaves ~$0.30 per 1,000-ad run; more on games (~40% repeats).medium
Mixed question sets in "Across your competitors"SnapHome and Home AI are on the old questions and must not be re-run (bench data).—
Accuracy on non-game adsAgreement figures are model vs model; no human labels on competitor app ads yet.labelling

Ticket status

ItemStatus
Cost estimates for Alex (per client, per trial, by volume, time)done
3-competitor trial limit and upgrade prompt, real trial companydone · frontend gap above
Hook tests on screendone
Paid-tier capsdone · measured and capped
Deploy on nodejs24.xopen
Tagger: 720p proxynot needed
Tagger: one vocabulary (MIF-1682)ported to ads-v8 · tagger still keeps its own copy
Tagger: invented-speech checkopen