برنامج تعليمي: اختبار استخدام أشكال إعلانات AdMob الجديدة
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
الخطوة 1: استخدام AdMob لإنشاء صيغة وحدة إعلانية جديدة للاختبار
للبدء، عليك أولاً إنشاء وحدة إعلانية جديدة ثم تنفيذ الإعلان
في رمز تطبيقك.
يستخدم هذا الدليل التعليمي شكل الإعلان البيني المزوّد بمكافأة بصفته الشكل الجديد الذي يتم اختباره للاستخدام. عند قراءة هذا الدليل التعليمي،
يُرجى العِلم أنّه يمكنك اتّباع خطوات مشابهة لتنفيذ واختبار
أي شكل إعلان آخر.
التأكّد من استيفاء المتطلبات الأساسية لهذا البرنامج التعليمي
تطبيقك (مشروع على iOS أو Android أو Unity)
تطبيقك مسجَّل كتطبيق Firebase مرتبط بتطبيق AdMob
(مزيد من المعلومات)
الوصول إلى حساب AdMob المرتبط بتطبيقك، مع الأذونات اللازمة لإنشاء
وحدات إعلانية جديدة
الوصول إلى مشروع Firebase المرتبط بتطبيقك، مع الأذونات اللازمة لإنشاء
وإدارة Remote Config وA/B Testing والاطّلاع على
Google Analytics
حزمة IDE المفضّلة لك
إنشاء وحدة إعلانية
في حسابك على AdMob، أنشئ الوحدة الإعلانية التي تريد اختبارها مع
المستخدِمين.
في هذا البرنامج التعليمي، أنشئ وحدة إعلانية واحدة جديدة من النوع إعلان بيني بمكافأة. إنّ
إعدادات الوحدة الإعلانية الأخرى ليست مهمة في هذا الدليل التعليمي بالتحديد، لذا اختَر
الإعدادات المناسبة لتطبيقك.
واجهة مستخدِم AdMob تعرِض كيفية إنشاء وحدة إعلانية بينية جديدة للإعلانات مقابل مكافأة">
واجهة مستخدِم AdMob تعرِض كيفية ضبط مبلغ المكافأة للوحدة الإعلانية الجديدة">
تنفيذ الوحدة الإعلانية
واجهة مستخدم AdMob تعرض رقم تعريف الوحدة الإعلانية الجديد وتعليمات لدمج حزمة تطوير البرامج (SDK)">
بعد إنشاء الوحدة الإعلانية، يوفّر لك AdMob
رقم تعريف الوحدة الإعلانية الفريد للوحدة الإعلانية. تذكَّر مكان العثور على رقم تعريف الوحدة الإعلانية هذا في حسابك على AdMob
لأنّك ستحتاج إليه لإضافة الإعلان إلى تطبيقك.
اتّبِع التعليمات الظاهرة على الشاشة لدمج حزمة تطوير البرامج (SDK) لنظام التشغيل
Google Mobile Ads (AdMob) ولتنفيذ الوحدة الإعلانية الجديدة في تطبيقك.
بعد إنشاء وحدة إعلانية بينية جديدة تضم مكافأة، من المفترض أن يكون لديك الآن وحدتَان إعلانيتان مُدرَجتان في حسابك على AdMob لهذا التطبيق المحدّد. في الخطوات التالية
من هذا الدليل التعليمي، ستضبط Firebase لاستخدام كلّ من هاتين الوحدتَين الإعلانيتَين في
اختبار أ/ب باستخدام موضع الإعلان نفسه.
arrow_back_iosمقدّمة
الخطوة 2: إعداد اختبار أ/ب في وحدة تحكّم Firebasearrow_forward_ios
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["Step 1: Use AdMob to create a new ad unit variant for testing\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------------|\n| Introduction: [Test new AdMob ad format adoption using Firebase](/docs/tutorials/test-ad-format-adoption) |\n| **Step 1: Use AdMob to create a new ad unit variant for testing** \u003cbr /\u003e |\n| Step 2: [Set up an A/B test in the Firebase console](/docs/tutorials/test-ad-format-adoption/step-2) |\n| Step 3: [Handle Remote Config parameter values in your app's code](/docs/tutorials/test-ad-format-adoption/step-3) |\n| Step 4: [Start the A/B test and review the test results in the Firebase console](/docs/tutorials/test-ad-format-adoption/step-4) |\n| Step 5: [Decide whether to roll out the new ad format](/docs/tutorials/test-ad-format-adoption/step-5) |\n\n\u003cbr /\u003e\n\nTo get started, you first need to create a new ad unit and then implement the ad\nin your app's code.\n\nThis tutorial uses the [rewarded\ninterstitial](https://support.google.com/admob/answer/9884467) ad\nformat as the new format being tested for adoption. When reading this tutorial,\nthough, keep in mind that you could follow similar steps to implement and test\nany other ad format.\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\nIn your AdMob account, create the ad unit that you want to test with your\nusers.\n\nFor this tutorial, create a single new *Rewarded interstitial* ad unit. The\nother ad unit settings aren't important for this particular tutorial, so select\nsettings that are appropriate for your app.\n\nAdMob UI showing how to create a new rewarded interstitial ad unit\"\\\u003e\nAdMob UI showing how to set the reward amount for the new ad unit\"\\\u003e\n\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 the 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 a new rewarded interstitial ad unit, you should now have two ad\nunits listed in your AdMob account for this specific app. In the next steps\nof this tutorial, you'll configure Firebase to use each of these ad units in an\nA/B test using the *same ad placement*.\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\n\u003cbr /\u003e\n\n[arrow_back_ios**Introduction**](/docs/tutorials/test-ad-format-adoption)\n[**Step 2** : Set up an A/B test in the Firebase consolearrow_forward_ios](/docs/tutorials/test-ad-format-adoption/step-2)\n\n\u003cbr /\u003e\n\n*** ** * ** ***"]]