Ad quality control
AdQuality helps you control the quality of ads in your app by blocking unwanted ads before they reach your users. Simply choose the ad categories you want to exclude, and the system will automatically prevent those ads from appearing in your app.
Categories you can exclude
You can exclude the following ad categories:
- Gambling and betting.
- Adult content.
- Redirects to the app store.
- Other categories — please contact your manager.
Getting started
-
Update the Yandex Mobile Ads SDK to version 8.2.0 or higher.
-
Add the AdQuality library to your project.
AndroidiOS-
Add the JitPack repository to your project-level
build.gradlefile:repositories { ... maven{ url = uri("https://jitpack.io") } ... } -
Add the dependency to your module-level
build.gradlefile:implementation("com.yandex.ads.quality:mobileads-adquality:1.0.4") -
If you're using a unified build, follow these steps.
-
Build your project.
-
Add the dependency to your
Podfile:pod 'YandexMobileAdsAdQuality'For example:
# Podfile pod 'YandexMobileAdsMediation' pod 'YandexMobileAdsAdQuality' -
Run the command:
pod install
-
Configuring filters
Once you've integrated AdQuality, contact your manager with these details:
- App ID.
- Ad units where you want to enable filtering.
- Ad categories you want to exclude.
When you provide these details, the manager will configure your filters. No further action is required on your end.
Once your filters are configured, they'll automatically apply to your chosen ad units. Feel free to contact your manager if you'd like to change your excluded categories or check that everything is working correctly.