Stay organized with collections
Save and categorize content based on your preferences.
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
Next Gen Mobile Ads SDK
0.11.0-alpha01 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, call setNativeValidatorDisabled() when
initializing
Next Gen Mobile Ads SDK
:
Kotlin
MobileAds.initialize(this@MainActivity,// Sample Ad Manager app ID: ca-app-pub-3940256099942544~3347511713InitializationConfig.Builder("SAMPLE_APP_ID").setNativeValidatorDisabled().build()){// Adapter initialization is complete.}
Java
MobileAds.initialize(this,// Sample Ad Manager app ID: ca-app-pub-3940256099942544~3347511713newInitializationConfig.Builder("SAMPLE_APP_ID").setNativeValidatorDisabled().build(),initializationStatus->{// Adapter initialization is complete.});
[[["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-08-26 UTC."],[],[],null,["# Native validator\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- Next Gen Mobile Ads SDK 0.11.0-alpha01 or higher.\n\n\u003c!-- --\u003e\n\n- Ensure your device is configured as a [test\n device](/ad-manager/mobile-ads-sdk/android/early-access/nextgen/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, call `setNativeValidatorDisabled()` when\ninitializing\n\nNext Gen Mobile Ads SDK\n\n: \n\n### Kotlin\n\n MobileAds.initialize(\n this@MainActivity,\n // Sample Ad Manager app ID: ca-app-pub-3940256099942544~3347511713\n InitializationConfig.Builder(\"\u003cvar class=\"readonly\" translate=\"no\"\u003eSAMPLE_APP_ID\u003c/var\u003e\")\n .setNativeValidatorDisabled()\n .build()\n ) {\n // Adapter initialization is complete.\n }\n\n### Java\n\n MobileAds.initialize(\n this,\n // Sample Ad Manager app ID: ca-app-pub-3940256099942544~3347511713\n new InitializationConfig.Builder(\"\u003cvar class=\"readonly\" translate=\"no\"\u003eSAMPLE_APP_ID\u003c/var\u003e\")\n .setNativeValidatorDisabled()\n .build(),\n initializationStatus -\u003e {\n // Adapter initialization is complete.\n });"]]