Native Validator

Native ads allow you to design an ad placement that matches the style of your app. While native ads provide a lot of flexibility, it's important to ensure your placements remain compliant of AdMob 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.

Prerequisites

  • Google Mobile Ads SDK 7.62.0 or higher.

Enable Native Validator

To enable Native Validator, add GADNativeAdValidatorEnabled = true to your Info.plist.

<key>GADNativeAdValidatorEnabled</key>
<true/>

Or, edit it in the property list editor:

Then, ensure your device is configured as a test device.

Using Native Validator

Once enabled, Native Validator will automatically alert you to certain policy violations in your UI via an overlay popup next to the native ad.

Clicking on See Issues takes you to a fullscreen list of the relevant policy violations.