Search & marketing · 3 MIN READ

What is A/B testing, and how do you run a fair test?

SHORT ANSWER

A/B testing compares two versions under equivalent conditions to see which one best affects a predefined goal. Form a hypothesis, change one main variable and choose the metric and stopping point before the test begins.

Two advertising variants are compared using the same goal, evenly split traffic and a predefined metric.

Start with a hypothesis, not two finished ads

State the problem you see, the change you believe will help and the result that would support the idea. For example: “If the headline describes the course’s concrete outcome instead of the tool, a higher share of relevant visitors will open the syllabus.” You then know what version B changes and why.

Change one main variable at a time: headline, image, audience or offer. If you change the image, price and landing page together, a difference in performance cannot be attributed to one change. Our guide to testing ad ideas with AI shows how AI can help generate variants without deciding the test question.

Split traffic so the comparison is meaningful

A fair test shows the versions to comparable groups during the same period. Meta describes A/B testing as a comparison where audiences are split so variants can be assessed under statistically comparable conditions. Google Ads experiments divide traffic and budget between the original and experiment. Use the platform’s experiment tool when available instead of manually activating ads on different days.

Choose duration and budget before launch. Do not stop merely because one version happens to lead after a few hours. Day of week, small datasets and delayed conversions can move the result. If the evidence is too limited, the correct conclusion is that the test did not support a reliable decision—not that the leading variant won.

Measure the action in the hypothesis

Click-through rate fits a question about which message persuades the right person to click. If the goal is course purchases, also track the landing page conversion and purchase value. A click-winning message can sell less if the expectation does not match the page. Our conversion tracking guide explains how to choose the event, value and counting rule.

Verify measurement before the experiment with your own test conversion. Record the platform, campaign, versions, goal, start, stop, budget and any other changes. Without that log, a technical measurement change can be mistaken for a better message.

Make the result useful in the next campaign

Write the result as a bounded decision: what was tested, for which audience and metric, and what remains unknown? Keep the winner only if the effect matters to the business goal and the experiment held up. A good test log may also show that two versions performed similarly and that the next test should address a larger customer problem.

The Meta Ads course covers campaign structure, messaging and evaluation. The Google Ads course fits search campaigns and experiments, while the conversion course goes deeper into the buying journey and measurement plan. In the live workshop From offer to digital campaign, you build a complete campaign case with feedback.

Sources and further reading

Google Ads Help · Set up a custom experiment

Meta for Business · A/B testing ads