[ Web Proxy ]
URL:
Viewing: https://firebase.google.com/docs/tutorials/test-ad-format-adoption [Back]  [Original]

Tutorial: Test adoption of new AdMob ad formats using Firebase  |  Firebase Documentation Skip to main content
Overview Fundamentals AI Build Run Reference Samples
Firebase [Firebase]
Send feedback

Tutorial: Test adoption of new AdMob ad formats using Firebase Stay organized with collections Save and categorize content based on your preferences.

testing two ad formats and their impact on revenue and retention [testing two ad formats and their impact on revenue and retention]

Solution tutorial

The adoption of different ad formats can be complicated, but Firebase offers tools that help you test and then make data-driven decisions about adopting new ad formats.

What you'll learn

In this multistep tutorial, you'll learn how to use Firebase to test a new Google AdMob ad format for your app. It uses a rewarded interstitial ad as the example test case, but you can extrapolate and use these same steps to test out other ad formats.

This tutorial assumes that you already use AdMob in your app and that you'd like to test whether adding another ad unit (with a new ad format) will have an impact on your app's revenue or other metrics. However, if you don't already use AdMob in your app, that's ok! The steps in this tutorial can also help you understand if simply adding an ad unit to your app has an impact on your app's metrics.

Tip: If there's a term that you're not familiar with, check out the glossary at the bottom of this page.

Learn more about the business case and value for this solution in our Test adoption of new AdMob ad formats solution overview.

Products and features used in this tutorial

Google AdMob

Google AdMob enables you to create ad unit variants that will be served within your app. When you link AdMob with Firebase, AdMob sends ad revenue information to Firebase to improve ad strategy optimization.

Google Analytics

Google Analytics gives you insight into user engagement, retention, and monetization metrics like total revenue, AdMob revenue, purchase revenue, and much more. It also allows you to create user audiences and segments.

Firebase Remote Config

Firebase Remote Config enables you to dynamically change and customize the behavior and appearance of your app for desired user segments all without publishing a new version of your app. In this tutorial, you'll use Remote Config parameters to control whether a new ad unit is shown to your users.

Firebase A/B Testing

Firebase A/B Testing provides the interface and infrastructure to run product and marketing experiments in your app. It takes care of distributing experiment variants to users, and then performs statistical analysis to determine if an experiment variant is outperforming the control group based on your selected key metric, such as revenue or user retention.


Flowchart of solution and products used [Flowchart of solution and products used]

test-ad-format-adoption-flowchart.svg [test-ad-format-adoption-flowchart.svg]


Tutorial overview

Go directly to the step-by-step tutorial

  1. Use AdMob to create a new ad unit variant for testing

    1. Create a new rewarded interstitial ad unit in AdMob.

    2. Implement the ad unit placement within your app's code.

  2. Set up an A/B test in the Firebase console

    1. Define testing basics, targeting, and the goals that the test will run against.

    2. Define test variants and set up the Remote Config parameter that will control whether to show the new ad unit to users in the test.

  3. Handle Remote Config parameter values in your app's code

    1. Use the Remote Config parameter in your app.

    2. Implement the logic for displaying the ad unit based on the parameter's value.

  4. Start the A/B test and review the test results in the Firebase console

    1. After starting the test and allowing it to run for a few days or weeks, check the Firebase console for whether the A/B test has a winning variant based on the primary goal of the A/B test.

    2. Review the impact on secondary metrics for each variant to ensure the variants didn't cause unintended negative impacts to those metrics.

  5. Decide whether to roll out the new ad format

    1. If A/B Testing determines that the variant showing the new ad format is the winner, you can start showing the ad format to all users targeted in the experiment, all users of your app, or to a subset of your users.

    2. If a clear winner isn't yet determined, you can either continue running the experiment to gather more data, or end the experiment if it's already been running for a long period with inconclusive results.

What you'll need

Glossary

View a list of common terms for this solution




Step 1: Use AdMob to create a new ad unit variant




Send feedback

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-08-19 UTC.

Need to tell us more? [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-19 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page