DaletGuard supports civilians affected by armed conflict through Families Beyond War. All sides, no political affiliation. About our humanitarian work

Bayesian Ad Testing With Sample-Ratio Checks

Bayesian ad testing answers the question teams really ask: which ad probably leads right now, and how sure are we? DaletAds runs its experiments that way, so champion and challenger variants share the traffic according to their chance of winning. Thompson sampling sets that share, and every cycle first checks that the traffic split happened exactly as it was scheduled. If the split looks wrong, the decision of that cycle is voided, so nobody reads a false winner by mistake. Results appear as probabilities and never as certainty, which keeps your team honest about what the data can truly say.

Starting, stopping and promoting a winner all pass through the approval queue. As a result, no test quietly rewrites a live campaign.

Illustration of flask, A and B cards, linechart for bayesian ad testing
Key takeaway

DaletAds shows how likely each variant is to win instead of a single pass or fail. Every cycle checks the traffic split before a decision counts, rollback steps in when a challenger causes harm, and starts, stops and winners all go through approval. Results are evidence for a decision, and no result promises an outcome.

Why did the classic A/B test crown the wrong ad?

Classic ad tests often fail in quiet ways. For example, someone checks results each morning and stops the test on a lucky day. Meanwhile, a platform serves one variant much oftener than the other, and nobody notices the lopsided split. A fixed 50/50 split also keeps feeding a weak variant long after it falls behind.

Then the winner goes live by hand, with no record of who decided or why. Indeed, each mistake looks small on its own. Together, they turn a test into a costly guess.

Bayesian ad testing in DaletAds was shaped around exactly these failures. A champion challenger test with a split check removes most of them.

A diagram with the topic at the centre and four connected parts: Traffic split, Approval queue, Autopilot.

How does Bayesian ad testing work in plain terms for you?

A Bayesian test keeps a running belief about each variant. As clicks and conversions arrive, that belief is updated. So the question shifts away from significance. It now asks for the chance that each variant leads.

DaletAds shows that chance for every variant. Moreover, it shows P(beats champion), which is the chance that a challenger outperforms the current ad. In addition, both numbers are easier to act on than a single pass or fail. They also admit doubt, which a yes or no answer hides.

Experiment cycle of design, Thompson allocation, sample-ratio check, decision and promotion
A failed sample-ratio check voids that cycle's decision.
DaletAds Bayesian headline test screen
The DaletAds Bayesian headline test screen, as a short demo.

What can an experiment compare, and what counts as winning?

First, each experiment tests one element, or several at once in a multivariate design. Second, you choose what counts as winning. For example, a traffic campaign and a checkout campaign want different metrics.

  • Element tested: Headline, body, call to action, asset, budget, bid strategy, audience or multivariate.
  • Winning metric: CTR, conversion rate or revenue per impression.
  • Samples per variant: The default is 500.
  • Confidence: The default is 0.95.

A headline test for a traffic campaign may care most about clicks. In contrast, a test on a sales ad should care about conversions or revenue per impression. Every champion challenger test starts from one such choice.

A champion challenger test is then checked, approved and logged. Bayesian ad testing then reports the chance of winning on that metric.

How does Thompson sampling move traffic to the leading ad?

DaletAds allocates traffic with Thompson sampling, a standard method for balancing learning and earning. Specifically, in each cycle a variant receives traffic in line with its probability of leading. A strong challenger earns extra impressions as evidence builds. Likewise, a weak one gets fewer, so you spend less money proving it is weak.

This is where Bayesian ad testing saves budget compared with a fixed split. However, an exploration floor still stops any variant from dropping to zero too early. In fact, that floor matters, because early data is noisy and a slow starter can still recover. Thompson sampling also needs no manual reshuffling of traffic by your team.

Overall, Thompson sampling keeps learning and earning in balance. In short, Thompson sampling lets a strong ad earn its traffic. Thompson sampling is the engine behind the traffic split in each cycle. Without Thompson sampling, a fixed split would waste impressions on weak variants.

Why can a sample ratio mismatch void the result of a cycle?

Uneven traffic is a common hidden flaw in ad tests, and Bayesian ad testing must catch it early. For instance, Microsoft Research on diagnosing split errors (opens in new tab) calls it a sample ratio mismatch. The observed split differs from the configured one.

Their advice is very blunt. Do not trust such results until you find the cause. A sample ratio mismatch is a warning sign in any ad experiment.

Bayesian ad testing in DaletAds applies that rule before every decision. Specifically, observed exposure is compared with the scheduled split by a chi-square test. If the p-value falls below 0.0005, the decision of that cycle is voided. A sample ratio mismatch is therefore a stop sign, not a footnote.

Any sample ratio mismatch alert deserves a root-cause check first. A sample ratio mismatch can come from platform review delays or a broken tag. Fix the cause, then restart the test. Our article on sample ratio mismatch in ads explains common causes in ad delivery.

Which controls of this test design can you inspect today?

The controls below are all visible in the product, so a reviewer can check each one.

What do the default values of 500 and 0.95 mean?

In Bayesian ad testing, each variant needs 500 samples by default, and the default confidence is 0.95. Both values sit in the experiment settings. Thus, nobody has to guess what "enough data" meant when a result is questioned later. Bayesian ad testing needs that clarity.

The experiment panel also shows the chance to lead and P(beats champion) for every variant. However, statistics become available only after the experiment starts. An empty column before launch is expected, not a fault.

Some reviewers want classic error control, even when people check results often. Therefore, DaletAds offers Compliance mode with anytime-valid p-values. This mode applies anytime-valid p-values to every cycle.

Those values stay valid however often someone looks. Anytime-valid p-values suit teams that check results daily. Likewise, anytime-valid p-values keep auditors comfortable with early looks.

Strict teams can ask for anytime-valid p-values in Compliance mode. Plain anytime-valid p-values are not a license to stop early on a lucky day. Bayesian ad testing and strict review can therefore share one experiment.

Experiment rollback gives Bayesian ad testing a brake. If a challenger looks harmful, it steps in on its own. First, the soft tier of experiment rollback cuts the challenger's traffic weight to 5 percent.

Next, the medium tier pauses routing to it. Finally, the hard tier stops the whole experiment and locks it. Each experiment rollback tier is a plain, named step, so reviewers can follow what happened.

Starting or stopping a test changes live delivery. Rolling back a test also changes live delivery, so experiment rollback is queued too. Thus, both become proposals in the action queue, and a person approves them before anything moves.

Experiment rollback itself is a built-in brake, so it needs no queue. That makes experiment rollback faster than any manual stop.

What does the experiment panel show you before a launch?

The screenshot below shows an experiment that has not started yet. You can see the champion, its challengers and the two probability columns. However, the columns stay blank until traffic arrives, and that is deliberate.

DaletAds experiment panel with champion and challenger variants and probability columns
Product view: an experiment before it starts, with chance to lead and P(beats champion) columns.

A panel that showed numbers before any delivery would be inventing them. Your Bayesian ad testing record therefore starts empty and fills only with observed data. Every champion challenger test follows the same rule.

Why must a winner still pass through the approval queue?

Bayesian ad testing never changes a campaign on its own. A champion challenger test is advice until a person approves it. When a winner emerges, its promotion runs through the same queue as any other change.

Notably, the proposal shows what will change and why. Then a person approves it, or rejects it if the timing is wrong.

Whether running experiments is allowed is also decided by your guardrails for each account. In addition, accounts in autopilot mode follow their own rails, risk ceiling and halt buttons. The autopilot limits and kill switches describe that path in detail.

What happens when four headlines compete for a spring sale?

A garden retailer wants a fresh headline for its spring sale on Google Ads. It plans Bayesian ad testing on that one sale. First, it sets up a champion challenger test, with the current headline as champion. Three new lines join as challengers.

The team picks conversion rate as the metric and keeps the defaults. Next, a manager approves the start proposal in the queue.

In the second cycle, the split check finds that one challenger got far fewer impressions than scheduled. As a result, the decision of that cycle is voided. The team learns that the ad sat in platform review for half a day.

Once delivery evens out, the cycles resume. Finally, the promotion of a strong challenger waits in the queue for a final yes.

DaletAds campaigns across platforms screen
For example, the campaign list: every platform in one model, and each new campaign goes to the queue.

How do you read the results and not fool yourself?

Bayesian ad testing gives you better questions, not certainty. For example, a high chance to lead means a variant probably performs strongest under the conditions you tested. However, it does not promise the same result next month or on another platform.

Seasons shift, auctions change and audiences tire of an ad. Therefore, treat each Bayesian ad testing result as evidence for one decision. Then keep testing, because today's champion becomes the baseline you challenge next. No experiment in DaletAds promises a return on ad spend.

Which ad platforms can host a Bayesian ad testing run?

Bayesian ad testing needs a platform profile that declares experiment support. It also needs a split check, so a sample ratio mismatch can be caught. Twelve of the thirteen profiles declare it. However, Spotify Ads does not, so DaletAds offers no experiments there.

That is a deliberate refusal, not a gap covered with guesses. In fact, an unsupported operation is refused before any call reaches the platform. Audio teams should know this before they plan a test calendar. On the other twelve platforms, live access still depends on each deployment switching that platform on.

Where do test results sit beside the rest of your numbers?

An experiment is one view of performance. On the dashboard, each account card shows running experiments next to pacing and pending proposals. Besides, the performance page covers spend, clicks and conversions by date range and account.

The reporting view across every connected channel shows how test results sit beside the rest of your data. That context tells you whether a winning variant moved the account or only its own slice. Overall, the test answers the narrow question, and the report answers the wide one.

DaletAds action queue screen
For example, each change is a typed proposal that a reviewer approves after the checks.

When would an incrementality study fit better than a test?

Bayesian ad testing compares variants inside your campaigns. However, it does not measure whether advertising caused sales that would not have happened anyway. That question needs incrementality testing, not Bayesian ad testing.

A champion challenger test cannot prove causal lift either. Skai, for example, documents Impact Navigator for incrementality tests on aggregate data. If lift measurement is your main need, that tool is stronger there. Also, our side-by-side look at DaletAds and Skai sets out where each product fits.

What should be ready before you plan a first test?

The experiment engine runs inside your deployment, next to the approval queue. Live platform access exists for verified interfaces. However, each deployment must switch it on platform by platform.

Contract tests use recorded provider responses rather than live campaigns. In addition, the interface ships in English only. So a short plan with two platforms suits your first Bayesian ad testing cycle on real accounts.

What does a careful tester gain from this design in all?

  • Decisions that wait until the traffic split checks out.
  • Probabilities that show doubt instead of hiding it.
  • Less budget spent on variants that are clearly behind.
  • An exploration floor that protects slow starters.
  • Experiment rollback in three tiers when a challenger causes harm.
  • Starts, stops and promotions that a person approves.
  • A strict mode with anytime-valid p-values for audited teams.
  • Bayesian ad testing with a record of who started, stopped and promoted each test.

Which test would you bring to a first walkthrough with us?

Think of a past test whose winner still feels shaky. In a walkthrough, we set up the same design in DaletAds and go through each step. First, you will see the probability columns, the split check and the approvals before launch. Then judge whether Bayesian ad testing would have given you a clearer answer.

Questions and answers on this topic from the product team

What is Bayesian ad testing in plain words?

It keeps a running belief about each variant and reports the chance that each one leads. DaletAds shows both chances, to lead and to beat the champion, for every variant. You act on probabilities, not on a single pass or fail.

What does a sample ratio mismatch check do?

It tests whether the traffic split matches the schedule, using a chi-square test. If the p-value is below 0.0005, the decision of that cycle is voided. This guards against delivery flaws that would crown a false winner.

Can a test promote a winner by itself?

No. Starting, stopping and promoting a winner are proposals in the approval queue, and a person approves them. Accounts in autopilot follow their own rails and risk ceiling.

Do experiments work on every ad platform?

Twelve of the thirteen platform profiles declare experiment support. Spotify Ads does not, so DaletAds offers no experiments there. Unsupported operations are refused before any call is made.

How much data does a test need before it decides?

The defaults are 500 samples per variant and a confidence of 0.95. Both values appear in the experiment settings. No result promises a return on ad spend.

See how DaletAds fits the providers your team uses today

Book a short meeting for a walkthrough with your own providers in mind, or join an in-person class to learn the method first.