Why invalid traffic is a budget problem
Every online ad campaign buys clicks, and not every click is a person. Some clicks come from software that crawls the web, some from scripts that press buttons, some from accidental taps on a banner, and a small but costly part from deliberate fraud. Whatever the cause, the advertiser pays for a visit that had no chance of becoming a customer. The industry calls this invalid traffic, or IVT, and every serious advertiser needs a way to measure it.
The measurement is not complicated, but it is easy to get subtly wrong. This free lesson shows the four numbers that every later lab builds on: the IVT rate, the valid clicks, the wasted spend and the cost per valid click. By the end you will know how to calculate them in a spreadsheet, how to combine them for a whole account without a classic averaging mistake, and how to read the result.
The example is Alderwick Outdoor, a fictional online shop for outdoor gear with a small mobile app. It buys traffic from ten sources: search, shopping feeds, social feeds, video, two display networks, an app network and a native widget. All sources, clicks, spend and flags are invented for learning, and the benchmarks mentioned are illustrative. You will use the same ten rows as the lab above.
What counts as invalid traffic?
Industry bodies that set measurement standards usually split invalid traffic into two families. General invalid traffic is the easy kind: known crawlers, spiders and data-centre visitors that announce themselves and can be removed with lists and simple filters. Sophisticated invalid traffic imitates people: scripts that scroll and click, hijacked devices, or networks of real devices used without the owner's knowledge. It needs behavioural analysis, patterns across many clicks and, often, human review.
For an advertiser the useful question is not the label but the consequence. A click is invalid for your purposes when it cannot reasonably lead to a sale and you should not have paid for it, or paid full price. Accidental clicks sit in a grey zone: they are real people, but not interested ones. Most platforms filter some invalid traffic before billing, and verification tools find more. Neither finds everything, so the number you work with is always an estimate. Lesson 12 shows how to say how good that estimate is.
The four numbers: IVT rate, valid clicks, wasted spend, cost per valid click
Start with the IVT rate. It is a share of clicks: the invalid clicks flagged by your verification tool or platform report, divided by the clicks you paid for. A source with 61,000 paid clicks and 9,150 flagged ones has an IVT rate of 15%. Keep the base straight: it is a share of paid clicks, not of impressions and not of money.
- IVT rate = invalid clicks ÷ paid clicks
- Valid clicks = paid clicks − invalid clicks
- Wasted spend = spend × IVT rate
- Cost per valid click = spend ÷ valid clicks
The last two lines convert a rate into money. Wasted spend assumes that invalid clicks cost the same as the average click of the same source, which is a fair first approximation inside one source. The cost per valid click is the figure to put next to your conversion rate and your margin: it is what a real visit costs once you stop pretending that the bad ones count. It is always at least as high as the cost per paid click, and the gap grows with the IVT rate.
A fully worked example: Alderwick Outdoor in April 2027
Here is the full table for the month. Spend adds up to €111,786 for 357,800 paid clicks, and the verification tool flagged 45,070 of them. All figures are fictional.
| Source | Paid clicks | Spend | Invalid | IVT rate | Valid clicks | Wasted spend | Cost / valid click |
|---|---|---|---|---|---|---|---|
| Search – brand | 18,400 | €9,200 | 220 | 1.2% | 18,180 | €110.00 | €0.506 |
| Search – generic | 26,500 | €21,200 | 1,060 | 4.0% | 25,440 | €848.00 | €0.833 |
| Shopping feed | 31,200 | €12,480 | 1,250 | 4.0% | 29,950 | €500.00 | €0.417 |
| Social feed A | 42,800 | €17,120 | 3,850 | 9.0% | 38,950 | €1,540.00 | €0.440 |
| Social feed B | 38,600 | €13,510 | 3,090 | 8.0% | 35,510 | €1,081.50 | €0.380 |
| Video | 22,400 | €6,720 | 2,690 | 12.0% | 19,710 | €807.00 | €0.341 |
| Display network 1 | 61,000 | €9,150 | 9,150 | 15.0% | 51,850 | €1,372.50 | €0.176 |
| Display network 2 | 54,300 | €6,516 | 12,490 | 23.0% | 41,810 | €1,498.80 | €0.156 |
| App network | 33,700 | €10,110 | 6,070 | 18.0% | 27,630 | €1,821.00 | €0.366 |
| Native widget | 28,900 | €5,780 | 5,200 | 18.0% | 23,700 | €1,040.00 | €0.244 |
| Total | 357,800 | €111,786 | 45,070 | 12.6% | 312,730 | €10,618.80 | €0.357 |
Figure 1 sorts the sources by IVT rate. Display network 2 has the highest rate at 23.0%, followed by the app network and the native widget at about 18% each. At the other end sit brand search at 1.2%, generic search and the shopping feed at about 4%: 3 sources are below 5%. Four sources, Display network 1, Display network 2, App network and Native widget, have rates of 15% or more, and the same four lie above the account rate of 12.6%.
From rates to money
A rate is not yet a budget decision. Figure 2 puts the whole account into two bars. Of 357,800 paid clicks, 45,070 were flagged invalid, which is 12.6%. Of €111,786 spend, €10,619 were wasted (9.5%). The money share is smaller than the click share because the invalid clicks are concentrated in cheap display and app inventory: they are numerous but each one costs less than a search click.
Notice the order of the worst sources changes when you rank by euros instead of by rate. By rate, Display network 2 is first. By wasted euros the app network is first with €1,821.00, ahead of social feed A (€1,540.00) and Display network 2 (€1,498.80). The four sources with 15% IVT or more together account for €5,732.30 of the €10,618.80, or 54%. Rate tells you where traffic is worst; euros tell you where to look first.
Step by step in Excel
- IVT rate (E4):
=D4/B4, copied down to E13. Format the column as a percentage. - Valid clicks (F4):
=B4-D4, copied down to F13. - Wasted spend (G4):
=C4*E4, copied down to G13. - Cost per valid click (H4):
=C4/F4, copied down to H13. - Totals (row 14): use
=SUM(B4:B13)for the additive columns, then compute the account rate as=D14/B14. - Check: valid plus invalid clicks must equal paid clicks, so
=F14+D14has to return the same number as B14. A difference means a formula or a copied range is wrong.
The account rate: never average the percentages
The most common error in IVT reporting is the account-wide rate. If you type =AVERAGE(E4:E13) you get 11.2%, because the formula treats the 18,400-click brand search like the 61,000-click Display network 1. The right answer weights every source by its clicks: =D14/B14, which gives 12.6%. The difference of 1.4 percentage points looks small, but multiplied by a larger budget it is real money, and it can change which month looks better.
The same rule applies to every ratio in this course: add the numerators, add the denominators, then divide. Averaging ratios is only correct when every row has the same size.
How to read the result
Look at the cost per valid click first. Across the account you paid 0.312 euros per click as billed, but 0.357 euros per valid click: 14.4% more (figure 3). For generic search the two numbers are €0.80 and €0.83, a modest gap. For Display network 2 they are €0.12 and €0.16: the cheap click is an illusion once nearly a quarter of the clicks do not count.
Three questions follow from the table. First, is the flag trustworthy for this source? A source can look bad only because the verification tool treats its traffic type harshly. Second, does the valid traffic of this source still convert at an acceptable cost? A cheap source with a high IVT rate can still be worth buying if the valid clicks pay back. Third, can we get the money back or avoid the problem? Later labs answer these with sampling, quality checks, exclusion lists and refund claims.
Common mistakes and how to spot them
- Dividing by the wrong base. Dividing invalid clicks by spend or by impressions gives a number that looks like a rate but is not one. The base of the IVT rate is paid clicks.
- Averaging rates. See above: use total invalid clicks divided by total paid clicks.
- Reading cost per click as cost per valid click. The billed cost per click still contains the invalid clicks.
- Treating the flag as a fact. Flags come from tools with error in both directions. Quote ranges, and review a sample before you accuse a partner.
- Mixing periods. Clicks, flags and spend must come from the same dates and the same time zone, or the ratios drift.
Where the flags come from
The invalid clicks in column D can come from three places. The traffic platform reports what it filtered before billing; a third-party verification tool measures the same clicks independently; and your own analytics shows what happened after the click. None of them is the truth on its own. Platform filters are applied by the seller, so they are worth cross-checking. Independent tools use their own definitions and may count more or less. Your own logs are the most direct evidence, but only for traffic that reaches your site.
That is why the course keeps returning to cross-checks: clicks against sessions, installs against post-install behaviour, platform filters against independent measurement. Agreement between two independent signals is much stronger evidence than a large number from one.
What to do with the numbers
- Rank by wasted euros and by rate, and start with the sources that are high on both.
- Compare with other signals before you act: click-to-session gaps, behaviour on the site, time to install, post-install quality.
- Exclude placements that fail your rules, and write the rules down so that every entry on the list can be explained.
- Claim credits within the contract window, with evidence.
- Price your defence: verification and blocking cost money, so compare the fee with the waste it removes.
- Set alarms on the daily IVT rate, so that a new problem is found in days, not at the end of the quarter.
Quick reference: functions and shortcuts in this lesson
=D4/B4: a plain ratio. Check that the denominator is never zero before you copy down; use=IF(B4=0,0,D4/B4)for empty rows.=SUM(B4:B13): the total of a column. Select a column and look at the status bar for a quick check.=C4*E4: multiply two columns of the same row; copy down with the fill handle.=D14/B14: the weighted account rate (sum of numerators ÷ sum of denominators).- Format cells as percentage for rates and as currency for money. A rate formatted as a number reads 0.15 instead of 15%.
Real-world uses
- Monthly media review: the IVT rate per source next to cost per valid click, so that cheap sources are judged on real visits.
- Vendor conversations: a table like this is the starting point of a discussion about credits and traffic quality.
- Budget planning: wasted spend is a line you can reduce, so a forecast should show the effect of exclusions and protection.
- Reporting to management: one number, the account IVT rate, with the wasted euros beside it, travels well in a slide.
What you will build in the rest of this course
The 20 labs follow the workflow of a real defence programme. The first block teaches the measurement and the signals: click-to-session gaps, behaviour scores, time-to-install distributions and install logs, post-install quality, concentration by device, and geo and network mismatch.
The second block turns signals into decisions: a placement quality scorecard, exclusion lists with their economics, precision and recall of detection rules, and confidence intervals for audit samples. The third block adds monitoring and recovery: control limits for the daily IVT rate, timing profiles with a chi-square test, refund-claim windows and a reconciliation of platform and independent measurement.
The last block is about money and operations: a break-even grid for protection fees, lead-quality filters, alert triage with severity tiers and response deadlines, and a final quarterly scorecard that ties everything together. Every lab uses a different fictional data set, and every cell is checked as you type.
Summary
Invalid traffic is measured with a small set of ratios: the IVT rate (invalid ÷ paid clicks), valid clicks (paid − invalid), wasted spend (spend × IVT rate) and cost per valid click (spend ÷ valid clicks). For Alderwick Outdoor in April 2027 they say that 12.6% of the clicks and €10,619 of €111,786 were wasted, and that a valid click really cost 0.357 euros instead of 0.312.
- Combine sources by dividing sums, never by averaging rates.
- Rank by rate and by euros: they point to different sources.
- Treat every flag as an estimate and look for a second, independent signal.
Open the lab above and build the table yourself: five tasks, every cell checked. The next lessons add the signals that tell you which flags to trust.
Frequently asked questions
What is invalid traffic (IVT) in online advertising?
Invalid traffic is ad traffic that is not a real person with a genuine chance of interest in the ad: automated bots, crawlers, scripted clicks, accidental clicks and deliberate click fraud. It is usually divided into general IVT, which known lists and filters can catch, and sophisticated IVT, which imitates human behaviour.
How do I calculate the invalid traffic rate in Excel?
Divide the invalid clicks by the paid clicks, for example =D4/B4, and format the result as a percentage. For the whole account use total invalid clicks divided by total paid clicks, =D14/B14, not the average of the individual rates.
What is the difference between cost per click and cost per valid click?
Cost per click divides the spend by all billed clicks. Cost per valid click divides it by the paid clicks minus the invalid ones, so it shows what a real visit costs. It is never lower than the billed cost per click, and the gap grows with the IVT rate.
Why is the average of the source IVT rates wrong for the account?
A plain average gives a small source the same weight as a large one. The account rate is a ratio of sums, total invalid clicks divided by total paid clicks, which weights each source by its clicks. In the lab example the two methods differ by more than a percentage point.
Where do invalid click counts come from?
They come from the traffic platform's own filters, from independent verification tools and from your own analytics logs. None is perfect, so compare at least two sources and review a sample of flagged clicks before you challenge an invoice.
Can I get a refund for invalid traffic?
Sometimes. Most contracts and platform policies allow credits for flagged invalid traffic within a claim window and with evidence, often for a share of the flagged spend. Check your own agreement, keep dated click logs and send claims before the deadline.
Keep going: Ad Fraud & Invalid Traffic Detection: Click-to-Session Gaps, Time-to-Install, Placement Exclusions, Refund Claims & the Cost of IVT
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time €9.90.
- Click-to-Session Gaps: Platform Clicks vs Analytics Sessions and When to Investigate
- Behaviour Signals: Bounce Rate, Engaged Time, Pages per Session and a Rule-Based Suspicion Score
- Time-to-Install: Reading the Click-to-Install Distribution Against a Baseline
- Install-Level Timing: Seconds from Click to Install, Fast-Install Flags and Source Summaries
- Post-Install Quality: Registration, Purchase and Cost per Purchaser by Source
- Concentration Signals: Clicks per Device, Repeat-Click Flags and the Share of the Top Blocks
- Geo and Network Mismatch: Out-of-Market Clicks, Spend Outside the Target and Hosting-Network Traffic
- Placement Quality Scorecard: Weighted Scores, Ranking and Grades from IVT, Viewability and Conversion
- Placement Exclusion Lists: Rules for Who Goes on the List and What the Exclusion Saves
- False Positives: Precision, Recall, F1 and the Cost of Blocking Good Traffic
- Audit Samples: How Sure Are You About an IVT Rate? Margin of Error, Intervals and Sample Size
- Daily IVT Monitoring: Baseline, Control Limits and Alarm Days
- Traffic Timing Patterns: Observed vs Expected Hourly Profile and a Chi-Square Test
- Refund and Make-Good Claims: Eligibility Windows, Credit Shares and Recovery Rate
- Reconciling Platform-Filtered and Independently Measured Invalid Traffic: Leakage and Coverage
- Protection Economics: Verification Fees, Block Effectiveness and the Break-Even IVT Rate
- Lead Quality Filters: Blocked Domains, Duplicates, Time-to-Submit and a Reject Rate by Source
- Alert Triage: Severity Tiers, Response Deadlines and Spend at Risk
- Final Project: A Quarterly IVT Scorecard with Waste, Credits, Protection Cost and Action Flags