[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-24 (世界標準時間)。"],[],[],null,["Step 1: Use AdMob to create new ad unit variants for testing\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nTo get started, you first need to create new ad units and then implement the ads\nin your app's code.\n\nThis tutorial uses the\n[interstitial](https://support.google.com/admob/answer/9884467) ad\nformat as the example test case. When reading this tutorial, though, keep in\nmind that you could follow similar steps to implement and test frequency capping\nfor other ad formats.\n\n\u003cbr /\u003e\n\n**Make sure you have the prerequisites for this tutorial**\n\n\u003cbr /\u003e\n\n- Your own app (iOS, Android, or Unity project)\n\n- Your app registered as a Firebase App that's linked to an AdMob App\n ([learn more](//support.google.com/admob/answer/6383165))\n\n- Access to your app's associated AdMob account, with permissions to create\n new ad units\n\n- Access to your app's associated Firebase project, with permissions to create\n and manage Remote Config and A/B Testing as well as to view\n Google Analytics\n\n- Your preferred IDE\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n**Create an ad unit**\n\nAdMob UI showing how to create a new interstitial ad unit\"\\\u003e\n\n1. In your AdMob account, create a new *Interstitial* ad unit.\n\n2. Set the frequency cap:\n\n 1. Expand the **Advanced settings** in the AdMob UI, then enable\n **Frequency capping**.\n\n 2. Specify an ad frequency that you want to test. Choose a frequency that's\n higher than the frequency used in your existing ad unit.\n\n For example, suppose your existing interstitial ad unit shows 4 impressions\n per user per 10 minutes, but you want to test out if you can increase the\n cap to *6 impressions* per user per 10 minutes.\n\n We recommend keeping the time duration (that is, \"per 10 minutes\")\n consistent across the ad units being compared. The other ad unit settings,\n though, aren't important for this particular tutorial, so select settings\n that are appropriate for your app.\n AdMob UI showing how to set the frequency capping for the new ad unit\" class=\"screenshot\"\\\u003e\n3. Repeat the steps above if you'd like to add another interstitial unit to\n test out an even higher frequency cap. For this tutorial, we created another\n ad unit with *8 impressions* per user per 10 minutes.\n\n**Implement the ad unit**\n\nAdMob UI displaying new ad unit ID and instructions for integrating the SDK\"\\\u003e\n\nAfter you create each ad unit, AdMob provides you with the ad unit's unique\n**ad unit ID** . Remember where to find this ad unit ID in your AdMob account\nas you'll need it to implement the ad into your app.\n\nFollow the on-screen instructions to integrate the\nGoogle Mobile Ads (AdMob) SDK and to implement the new ad unit into your app.\n\nAfter creating two new interstitial ad units, you should now have three ad units\nlisted in your AdMob account for this specific app. In the next steps of\nthis tutorial, you'll configure Firebase to use each of these ad units in an A/B\ntest using the *same ad placement*.\nAdMob UI displaying all ad units for the app\" class=\"screenshot\"\\\u003e\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\u003cbr /\u003e\n\n[arrow_back_ios**Introduction**](/docs/tutorials/optimize-ad-frequency)\n[**Step 2** : Set up an A/B test in the Firebase consolearrow_forward_ios](/docs/tutorials/optimize-ad-frequency/step-2)\n\n\u003cbr /\u003e\n\n*** ** * ** ***"]]