Custom 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.
Native Validator is a new feature to help you catch policy violations before
your app ships. It automatically identifies certain policy violations in your
app and notifies you through the app's UI.
Native Validator is enabled by default for test ads, but can be disabled as
shown below. Keep in mind however that once the validator is disabled, test ads
will no longer show information about potential issues with your ad layouts.
Prerequisites
Google Mobile Ads SDK 19.2.0 or higher.
Ensure your device is configured as a test
device.
Using Native Validator
Native Validator automatically alerts you of certain policy violations in your
UI through an overlay popup next to the ad.
Clicking on See Issues takes you to a fullscreen list of the relevant policy
violations.
Disabling the validator
To disable Native Validator, add a <meta-data> tag with a name of
com.google.android.gms.ads.flag.NATIVE_AD_DEBUGGER_ENABLED and value of
false to your AndroidManifest.xml within the <application> tag.
[[["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 2025-09-04 UTC."],[[["\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,["Select 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- 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\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\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"]]