Ad A/B testing: how to test so the result means something

In short

An A/B test compares two versions within the budget you already have, because an experiment shares the traffic and budget of the original campaign. It only makes sense when you can trust it. A trustworthy test has four traits: both versions run at the same time on randomly split traffic, one thing changes, the metric and length are set in advance and the result is judged by statistical significance, not by which number is higher. In Google Ads you use experiments (a campaign copy with a traffic share) and ad variations for ad text. Test things with a big impact: the offer, the landing page, the headline angle, not punctuation. And let the test run for full weeks, otherwise you are evaluating noise.

"We tried two ads and the second one was better, so we turned off the first." There may be no test at all behind a sentence like that; the difference between the two ads could easily have been chance. A/B testing (comparing two versions of the same thing on two comparable groups of people) is a way to compare two options in PPC without raising the budget, because according to Google Ads Help a custom experiment takes a share of the original campaign's traffic and budget. It has one condition, though: the result has to be trustworthy. A badly built test is worse than none, because it leads you to a decision you also believe is backed by data. In this article we will go through what is worth testing, with which tools, for how long and above all how to evaluate the result so it really means something.

What A/B testing is

A/B testing (also written AB testing or A/B test) compares two versions of an advertising strategy by showing each to a different part of the audience. Meta Help describes it this way: the versions differ in a variable such as the image, ad text, audience or placement, each is shown to a different part of the audience, and the system ensures no one sees both. Google Ads does the same through experiments, where the budget or traffic is split between the original campaign and the experiment, so you can compare results for a set period.

The opposite is informal testing, meaning manually turning campaigns or ad sets on and off. Meta explicitly advises against it because it leads to inefficient delivery and unreliable results, while an A/B test splits audiences evenly and in a way that makes them statistically comparable.

PlatformWhere you create the testWhat you can compareHow the audience is split
Google Adsthe Experiments page in the page menu on the leftad variations for ad text; custom experiments in Search, Display, Demand Gen and Video campaigns, also for specific ad groupsdepending on the experiment type, the budget or traffic of the original campaign is split
Metathe A/B test button in the Ads Manager toolbar or the Experiments toolcreative, audience or placementeach version goes to a different part of the audience and no one sees both

According to Meta, before choosing a variable you should pick a hypothesis, for example that a custom audience will outperform an interest-based audience. The rest of this article covers Google Ads; the steps in Ads Manager are described in the glossary entry A/B test in Meta.

Why most "tests" in Google Ads prove nothing

The typical scenario goes like this: you add a second ad to an ad group, look at the numbers after a week, one has a higher click-through rate than the other, you turn off the weaker one and move on. It sounds reasonable. The problem is that this approach has several flaws at once:

  • The difference may be plain noise. With small numbers of clicks and conversions, the figures fluctuate on their own even when both versions are equally good. It is like flipping a coin ten times: if it lands heads seven times, that does not make it a trick coin.
  • The versions did not get the same conditions. With the Optimize ad rotation setting, Google prefers ads it expects to perform better, and it uses this setting automatically with Smart Bidding strategies focused on conversions. According to Google Ads Help, even the other option, Do not optimize, does not guarantee that each ad gets an even share of impressions relative to its quality. An ad that gets more impressions at better times and in better positions has a head start that has nothing to do with the quality of its text.
  • Several things changed at once. If the new version differs in headline, description and final URL, after the test you do not know which change worked, or whether two changes cancelled each other out.
  • The test ran in a non-comparable period. Five days over a holiday or during payday week tell you nothing about the ad: they tell you about the calendar.

The solution is a so-called controlled experiment: both versions run at the same time, traffic is split between them randomly, one thing changes, and you set the metric and test length in advance. The same principle applies to large and small accounts. The only difference is how large a difference you can reliably detect at all with your data volume.

Even a platform tool does not turn a test into a lab experiment, though. A study by Braun and Schwartz in the Journal of Marketing (2025) points out that experiment tools deliver different ads to different, algorithmically optimized groups of users, even during the test. According to the authors, the comparison therefore mixes the effect of the ad content with the effect of targeting, so the result of an ad A/B test tells you which version worked better in that delivery system, not necessarily why.

What is worth testing, and in what order

The basic rule is: test things that can make a big difference. Testing whether the description should end with a period wastes time and budget: even if there were a difference, you would never measure it reliably at normal data volumes. The bigger the change, the less data you need to confirm it.

What to testWhy it makes senseExample test
Offer and value in the textit changes the reason a person clicks and buys"free shipping" vs "15% off your first order"
Landing pagethe conversion is decided after the click; even a perfect ad can be ruined hereproduct page vs dedicated campaign page
Headline anglea different angle speaks to a different person, unlike swapping synonymsprice vs delivery speed vs warranty
Bidding strategyit directly changes how much you pay and who sees the campaigntarget CPA vs target ROAS
Targeting and audiencesit decides who you reach at allbroad targeting vs an added audience signal
Asset formatimages and video appeal differently and have a different cost per resultstatic image vs short video

The order has its logic and is worth following from top to bottom: offer → landing page → ad text → details. There is no point fine-tuning the third headline of an ad when the landing page takes five seconds to load and has no visible button. What decides conversion on a landing page is covered in the article Landing pages for PPC; how to write a Search ad is shown in the article on responsive ads.

With responsive ads one more thing matters: Google combines the headlines and descriptions itself, so you cannot compare two versions by throwing fifteen headlines into one ad. If you want to test an angle, create two ads (or two variations) where all headlines of one version hold one angle and all headlines of the other hold the second. Otherwise you are testing a mix, not a hypothesis.

Which tools to use for testing in Google Ads

Google Ads has its own Experiments section for testing, with several types depending on what you want to compare. So you do not have to do anything by hand in Excel: the system takes care of randomly splitting the traffic and comparing the results.

ToolWhat it is forHow it splits traffic
Custom experimenttesting campaign settings: bids, targeting, structurecreates a trial campaign and assigns it the chosen share of the original campaign's traffic and budget, for example 50 : 50
Ad variationstesting responsive ad text across campaigns or the whole accountyou choose the percentage of traffic that sees the modified ads
Experiments for PMax, Demand Gen and Videocomparing two approaches in automated and video campaignstraffic split within the given campaign type
Two ads in one ad groupa fallback when you cannot use anything elsewith the Optimize setting, the system prefers ads with higher expected performance

The difference between the first two matters. Ad variations are the quick route when you want to test one text change across several campaigns at once, for example different calls to action. A custom experiment is the heavier tool: it fits whenever you change a setting that affects the whole campaign, meaning bidding strategy, targeting or ad group structure.

A practical note on automated bidding: when you change the bidding strategy in an experiment, Google Ads Help for custom experiments mentions a bid strategy optimization period that usually takes seven days and advises making no changes during it. This is the period the glossary calls the learning phase, so a test with automated bidding needs more time than a test of two texts. Help for custom experiments advises waiting 7 to 14 days for the experiment arm to stabilize and warns that even a 50 : 50 split does not guarantee the same number of impressions or the same spend, because the auction decides them.

The big advantage of experiments over manual comparison is that Google itself shows whether the difference between the arms is statistically significant or just fluctuation. So you do not have to calculate anything: just do not let a nice number tempt you while the system says the difference is not proven.

How to evaluate a test so the result means something

The most important part of a test happens before you launch it. Write down three things, even in one sentence in your notes:

  • One primary metric that will decide. Not three, one. If you allow three, you will always find the one where your favorite version wins.
  • The minimum run length: in full weeks, so both arms have the same days of the week.
  • What you will do for which result. For example: "if variant B beats A on cost per conversion and the difference is significant, I roll out B; if the difference is not significant, I keep A and go test something bigger."

When choosing a metric, a simple rule applies: measure what you actually want, not an intermediate step. Click-through rate looks nice, but an ad with a tempting promise can have a high CTR and still bring in people who will not buy. If sales are what you care about, the deciding factor is cost per conversion, conversion rate or return: what exactly each metric means is explained in the article Key Google Ads metrics.

Statistical significance is just the technical term for the question "what is the chance that a difference like this arose by chance?" The more data you have and the larger the difference, the smaller this chance and the sooner you can trust the result. There is an unpleasant mathematical property here: the smaller the difference you want to detect reliably, the more data you need, and in the standard sample size formula the required number of observations grows with the square: half the difference needs roughly four times the data. That is why Google Ads Help advises choosing campaigns with high traffic volume and letting experiments run longer when results are inconclusive. That is why small accounts should not test small changes, not because they do not work, but because they can never prove them.

Illustrative example (made-up numbers, used only to show the method): variant A has 400 clicks and 20 conversions (conversion rate 5.0%), variant B has 400 clicks and 24 conversions (6.0%). It looks like a 20% improvement, but a two-sample test of proportions gives a p-value of about 0.54 for these numbers, so the difference of four conversions could easily be chance. The sensible conclusion is "we don't know yet": either we let the test run longer, or we admit that the difference cannot be confirmed at this volume.

One more Slovak specific if you compare return: when an online store sends the conversion value including VAT and your ad costs in the account are without tax, the displayed ROAS is overstated. For comparing two variants this does not matter: the correction affects both equally and the ranking does not change. It only matters when you ask whether the campaign is profitable: there, calculate net ROAS as the displayed value divided by 1.23 (the Slovak VAT rate is 23%). You will find details in the article What is ROAS.

A/B testing a website and landing page: how to avoid hurting SEO

A/B testing does not stop at ads. Google Search Central describes it as trying out different versions of a website or part of it and collecting data on how users react to each version. In an A/B test you compare two or more variations of one change, in a multivariate test several types of changes at once. A test can run on separate URLs where you redirect part of the visitors, or on the same URL, where JavaScript inserts the variant into the page.

To keep the test from hurting search results, Google lists four best practices. They also apply when you test two versions of a landing page for a PPC campaign:

Google's practiceWhat exactly it means
No cloakingDo not show Googlebot a different set of URLs than people see. It violates the spam policies, and the site can lose rankings or drop out of results. Googlebot generally does not support cookies, so it sees the version for browsers that do not accept cookies.
rel="canonical" on alternate URLsMark test URLs with a canonical link to the original URL. Google recommends this instead of a noindex tag, which can have unexpected negative consequences.
302 redirect, not 301A temporary redirect tells search engines the original URL should stay in the index. A JavaScript redirect is also fine.
Test only as long as neededWhen it ends, roll out the winning version and remove the alternate URLs and test scripts as soon as possible. If a test runs unnecessarily long, Google may conclude it is an attempt to deceive the search engine.

According to Google, small changes such as the size, color or placement of a button or the call-to-action text often have little or no effect on the search result snippet and the page's ranking. How a canonical URL (rel=canonical) works and when to use which type of redirect is covered in the section 301 redirects.

You need to look beyond Google Optimize for the testing tool itself. According to Google Analytics Help, Google Optimize and Optimize 360 have not been available since 30 September 2023. Instead, Google is integrating third-party tools into Google Analytics 4 and names AB Tasty, Optimizely and VWO in alphabetical order.

Common A/B testing mistakes

  • Stopping the test at the first nice number. If you look at interim results every day and end the test the moment your favorite leads, the result is worthless: sooner or later every variant leads. Set the length in advance and stick to it.
  • Testing several changes at once. If the versions differ in three things, you will not find out which one worked. The exception is deliberately testing two whole concepts against each other, but even then you have to admit it and not pass it off as a test of one element.
  • Running too short. A test shorter than full weeks compares different days of the week. With automated bidding, the first days are also taken up by the bid strategy optimization period, which according to Google Ads Help usually takes seven days.
  • Making changes during the test. Changing the budget, keywords or targeting mid-test changes the conditions of one arm, so the result no longer compares only the tested element. Google Ads Help advises making no changes during the bid strategy optimization period.
  • Evaluating with the wrong metric. A higher CTR with lower revenue is not a win. It also makes no sense to judge a test by the number of impressions or average position.
  • Testing without a hypothesis. "Let's see what happens" is not a test. Without a question like "will a specific number in the headline help?" you do not know what to take from the result into the next test.
  • One-off testing. One test every six months changes nothing. The value of testing is that the lessons build up: each new test builds on the previous one.

Most of these mistakes have one and the same cause: the urge to get a result fast. But a test has a single job: to give you a trustworthy answer. A fast but false answer has negative value, because you rebuild the account around it and carry the mistake forward. Ad quality is not only about testing, either: Quality Score also tracks it, and according to Google Ads Help higher ad quality can lead to lower costs and higher ad positions.

The same discipline applies outside advertising. Website copy also has a measurable job, not just an aesthetic one. How to write so a page holds up with readers and in search is covered in the article SEO copywriting.

Not sure whether your tests prove anything, or just confirm what you already believed?

I will look at your account and tell you what makes sense to test at your data volume, with which tools and for how long, so you base decisions on evidence, not impressions. Under the "skin in the game" model I also invest my own capital in your marketing, so I care about the result as much as you do.

See how it works →

Frequently asked questions

What is A/B testing (AB testing) of ads?

A/B testing compares two versions of the same thing, such as two ad texts, two landing pages or two bidding strategies, on two comparable groups of users running at the same time. The goal is to find out which version performs better while being sure the difference was not caused by chance or different conditions. For a test to prove anything, only one thing may change between the versions, traffic must be split randomly, and the primary metric and test length must be set in advance. In Google Ads, the Experiments section handles this: custom experiments for campaign settings and ad variations for ad text.

Should I use an experiment or ad variations?

It depends on what you are testing. Ad variations fit when you want to change the text of a responsive ad, for example a different headline or a different call to action, and test it across several campaigns or the whole account. They are quick to set up and do not need a campaign copy. A custom experiment fits whenever you change something that affects the whole campaign: bidding strategy, targeting, ad group structure or budget. It creates a copy of the campaign and splits traffic between the original and the experiment in the ratio you choose. A simple rule: testing the words in an ad? Variations. Testing campaign settings? Experiment.

Will A/B testing a website hurt my Google rankings?

It does not have to, if you follow the Google Search Central guidelines. Do not show Googlebot a different version than people see (cloaking violates the spam policies), use rel="canonical" pointing to the original URL on test URLs instead of noindex, use a 302 redirect, not a 301, and remove the alternate URLs and test scripts as soon as the test ends. According to Google, small changes such as button color or call-to-action text often have little or no effect on the snippet and ranking.

What can replace Google Optimize for A/B testing?

According to Google Analytics Help, Google Optimize and Optimize 360 have not been available since 30 September 2023. Google says it is integrating third-party A/B testing tools into Google Analytics 4 instead and names AB Tasty, Optimizely and VWO. You run tests of the ads themselves directly in Google Ads on the Experiments page and in Meta with the A/B test tool.

How long should an A/B test run?

Always in full weeks. Google recommends running an experiment for at least four to six weeks if its results are not yet conclusive. Full weeks ensure both arms cover the same days of the week, so you compare ad versions, not Mondays with weekends. The exact length depends on data volume: the fewer conversions a campaign brings in, the longer the test must run to confirm a difference. If you are testing a bidding strategy, also add the bid strategy optimization period, which according to Google Ads Help usually takes seven days. Set the length before launch and stick to it even when the interim numbers look clear.

How do I run an A/B test in Meta ads?

In Ads Manager, select a campaign or ad set, click A/B test in the toolbar, choose a variable and follow the on-screen instructions. Meta recommends giving both versions the same budget for a fair comparison, and it evaluates the test by cost per result. You will find the results in the Experiments tool once the test ends.

Which metric should I track when evaluating?

The one that matches your real goal, and only one as the primary metric. For an online store it is usually cost per conversion or return on ad spend, for lead generation cost per inquiry. Click-through rate (CTR) is a misleading primary metric: an ad with a tempting but inaccurate promise can have a high CTR and still bring in people who will not buy. Track CTR as supporting information, not as the deciding criterion. If you do not pick one metric in advance, after the test you will almost always find one where the version you were rooting for wins, and that is no longer measurement but a search for confirmation.

Why isn't it enough to add a second ad to the ad group and compare results?

Because with the Optimize rotation setting, Google prefers ads it expects to perform better, and it uses this setting automatically with Smart Bidding strategies focused on conversions. One ad can then get far more impressions, at better times and in better positions, which gives it a head start unrelated to the quality of the text. The comparison is unfair and the difference in results says nothing about which text is better. That is why testing uses experiments and ad variations, where you set the traffic share for the tested version yourself. Treat a comparison of two ads in one ad group as a rough indication only, not as proof.

What is statistical significance and why does it matter in testing?

Statistical significance is the technical term for the answer to the question "what is the probability that a difference like this arose purely by chance?" Every measurement fluctuates: even two identical ads will have slightly different numbers over a week. When the difference is large enough relative to the amount of data, we say it is statistically significant and it can be trusted. When it is not significant, the right conclusion is not "variant B is better" but "we don't know yet." Google Ads shows this information for experiments itself, so you do not have to calculate anything: just respect it even when you don't like it. The practical consequence: small accounts with few conversions can only confirm large differences, so testing small details is a waste of time.

Can I test several changes at once to speed things up?

You can, but you lose the main value of the test: knowing exactly what worked. If variant B differs from A in headline, image and landing page and it wins, you only know the whole package is better; you have no idea whether one element did it, or whether two helped and the third hurt. You take nothing usable into the next test. Testing whole concepts against each other makes sense when you are deliberately comparing two different approaches and know you are deciding on the package as a whole, for example two completely different creative directions. If your goal is learning, change one thing at a time. If your goal is a quick decision between two finished solutions, a package is fine, just admit it when you interpret the result.

Sources and further reading

ArticlesBook a meeting