إطلاق أداة فحص الإعلانات
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
اختيار النظام الأساسي:
Android
iOS
Unity
Flutter
قبل اختبار عملية دمج الإعلانات، يجب تشغيل "أداة فحص الإعلانات" في تطبيقك.
توضّح هذه الصفحة كيفية تشغيل "أداة فحص الإعلانات"
من خلال قائمة تصحيح الأخطاء وكيفية تشغيلها
برمجيًا.
المتطلبات الأساسية
قبل المتابعة، يُرجى اتّباع الخطوات التالية:
- أكمِل جميع العناصر في المتطلبات الأساسية الأولية لإنشاء حساب على "مدير إعلانات Google"، وإعداد جهاز الاختبار، وإعداد حزمة تطوير البرامج (SDK) لإعلانات Google على الأجهزة الجوّالة، وتثبيت أحدث إصدار.
اختيار خيار الإطلاق
يمكنك تشغيل "فاحص الإعلانات" بالطرق التالية:
- زر التشغيل من قائمة تصحيح الأخطاء داخل تطبيقك لاستخدام الإيماءة التي اخترتها في إعدادات "أداة فحص الإعلانات"
- برمجيًا من خلال "حزمة تطوير البرامج (SDK) لإعلانات Google على الأجهزة الجوّالة"
لبدء "أداة فحص الإعلانات" من خلال قائمة تصحيح الأخطاء، لن تحتاج إلى إجراء أي تغييرات أخرى على تطبيقك. لمزيد من التفاصيل، اطّلِع على مقالة فحص عرض الإعلانات على التطبيقات للأجهزة الجوّالة.
أكمِل الخطوات التالية:
- ابحث عن إعلان معروض في شبكتك على "مدير إعلانات Google".
- انقر مع الاستمرار على الإعلان لفتح قائمة تصحيح الأخطاء.
- انقر على فتح "فاحص الإعلانات".
إذا لم تربط جهازك، قد تحتاج إلى تسجيل الدخول إلى حسابك على "مدير إعلانات Google".
من إعدادات تصحيح الأخطاء، يمكنك أيضًا اختيار إعدادات "أداة فحص الإعلانات" واختيار إيماءة يمكنها فتح "أداة فحص الإعلانات".
الإطلاق آليًا
افتح "فاحص الإعلانات" من خلال تنفيذ ما يلي:
Java
MobileAds.openAdInspector(
context,
new OnAdInspectorClosedListener() {
public void onAdInspectorClosed(@Nullable AdInspectorError error) {
// Error will be non-null if ad inspector closed due to an error.
}
});
Kotlin
MobileAds.openAdInspector(context) { error ->
// Error will be non-null if ad inspector closed due to an error.
}
تعمل هذه الطريقة مع أجهزة الاختبار المسجَّلة آليًا. لمزيد من التفاصيل، يُرجى الاطّلاع على مقالة تفعيل الأجهزة الاختبارية.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-31 (حسب التوقيت العالمي المتفَّق عليه)"],[],[],null,["Select platform: [Android](/ad-manager/mobile-ads-sdk/android/ad-inspector/launch-ad-inspector \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/ad-inspector/launch-ad-inspector \"View this page for the iOS platform docs.\") [Unity](/ad-manager/mobile-ads-sdk/unity/ad-inspector/launch-ad-inspector \"View this page for the Unity platform docs.\") [Flutter](/ad-manager/mobile-ads-sdk/flutter/ad-inspector/launch-ad-inspector \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nBefore you test your ad integration, you must launch ad inspector in your app.\nThis page covers how to launch ad inspector\nthrough the debug menu and how to launch\nprogrammatically.\n\nPrerequisites\n\nBefore you continue, do the following:\n\n- Complete all items in the initial [Prerequisites](/ad-manager/mobile-ads-sdk/android/ad-inspector#prerequisites) to create an Ad Manager account, set your test device, initialize Google Mobile Ads SDK, and install the latest version.\n\nChoose a launch option\n\nYou can launch ad inspector in the following ways:\n\n- The launch button from the debug menu within your app to use the gesture that you selected in the ad inspector settings.\n- Programmatically through the Google Mobile Ads SDK.\n\nLaunch using the debug menu\n\nTo launch ad inspector through the debug menu, you don't require further\nchanges on your app. For more details, see\n[Inspect mobile app ad delivery](//support.google.com/admanager/answer/7180401).\n\nComplete the following steps:\n\n1. Find an ad served in your Ad Manager network.\n2. Touch and hold the ad to open the debug menu.\n3. Select **Open ad inspector**.\n\nIf you didn't [link your device](/ad-manager/mobile-ads-sdk/android/debug#link_your_device), you might\nneed to sign in to your Ad Manager account.\n\nFrom the debug settings, you can also select **Ad inspector settings** and\nchoose a gesture that can open ad inspector.\n\nLaunch programmatically\n\nLaunch ad inspector by running the following: \n\nJava \n\n MobileAds.openAdInspector(\n context,\n new OnAdInspectorClosedListener() {\n public void onAdInspectorClosed(@Nullable AdInspectorError error) {\n // Error will be non-null if ad inspector closed due to an error.\n }\n }); \n https://github.com/googleads/googleads-mobile-android-examples/blob/ccc290a583d7f552bdcf81ea76adc05beaa43f0b/java/advanced/APIDemo/app/src/main/java/com/google/android/gms/snippets/AdInspectorSnippets.java#L28-L34\n\nKotlin \n\n MobileAds.openAdInspector(context) { error -\u003e\n // Error will be non-null if ad inspector closed due to an error.\n } \n https://github.com/googleads/googleads-mobile-android-examples/blob/ccc290a583d7f552bdcf81ea76adc05beaa43f0b/kotlin/advanced/APIDemo/app/src/main/java/com/google/android/gms/snippets/AdInspectorSnippets.kt#L25-L27\n\nThis method works for test devices registered programmatically. For more details, see\n[Enable test devices](/ad-manager/mobile-ads-sdk/android/test-ads#enable_test_devices)."]]