[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThis guide explains how publishers can integrate MobFox ads into their Android apps using Google Mobile Ads mediation.\u003c/p\u003e\n"],["\u003cp\u003eYou need an Android app with the Google Mobile Ads SDK and a Google Ad Manager account with mediation configured.\u003c/p\u003e\n"],["\u003cp\u003eIntegration involves adding the MobFox SDK and adapter to your project, configuring the AndroidManifest.xml file, and initializing your ad object with an Activity instance.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Mobile Ads SDK handles communication with MobFox, fetching ads on your behalf.\u003c/p\u003e\n"]]],[],null,["# Native Validator\n\nSelect platform: [Android](/ad-manager/mobile-ads-sdk/android/native/validator \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/native/validator \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nCustom rendering lets you design an ad placement that matches the style of your app. While this provides a lot of flexibility, it's important to ensure your placements remain compliant with Ad Manager policies.\n\n\u003cbr /\u003e\n\nNative Validator is a new feature to help you catch policy violations before\nyour app ships. It automatically identifies certain policy violations in your\napp and notifies you through the app's UI.\n| **Key Point:** Native Validator will appear only on test ads. Live ad requests will never show Native Validator.\n\nNative Validator is enabled by default for test ads, but can be disabled as\nshown below. Keep in mind however that once the validator is disabled, test ads\nwill no longer show information about potential issues with your ad layouts.\n\nPrerequisites\n-------------\n\n- Google Mobile Ads SDK 19.2.0 or higher.\n\n\u003c!-- --\u003e\n\n- Ensure your device is configured as a [test\n device](/ad-manager/mobile-ads-sdk/android/test-ads#enable_test_devices).\n\nUsing Native Validator\n----------------------\n\nNative Validator automatically alerts you of certain policy violations in your\nUI through an overlay popup next to the ad.\n\nClicking on **See Issues** takes you to a fullscreen list of the relevant policy\nviolations.\n\nDisabling the validator\n-----------------------\n\nTo disable Native Validator, add a `\u003cmeta-data\u003e` tag with a name of\n`com.google.android.gms.ads.flag.NATIVE_AD_DEBUGGER_ENABLED` and value of\n`false` to your `AndroidManifest.xml` within the `\u003capplication\u003e` tag. \n\n \u003cmanifest\u003e\n \u003capplication\u003e\n \u003c!-- Sample AdMob App ID: ca-app-pub-3940256099942544~3347511713 --\u003e\n \u003cmeta-data\n android:name=\"com.google.android.gms.ads.APPLICATION_ID\"\n android:value=\"ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy\"/\u003e\n \\\u003cmeta-data android:name=\"com.google.android.gms.ads.flag.NATIVE_AD_DEBUGGER_ENABLED\"\n android:value=\"false\" /\\\u003e\n \u003c/application\u003e\n \u003c/manifest\u003e"]]