SDK integration

Where do I find the documentation for Yandex Mobile Ads SDK version 5?

Documentation name

Link to documentation

Adapters: Android.

Open document

Adapters: iOS.

Open document

Adapters: Unity.

Open document

Adfox: Android.

Open document

Adfox: iOS.

Open document

Adfox: Unity.

Open document

Yandex Advertising Network: Android.

Open document

Yandex Advertising Network: iOS.

Open document

Yandex Advertising Network: Flutter.

Open document

Yandex Advertising Network: Unity.

Open document

Yandex Advertising Network: Unity reference.

Open document

Yandex Mobile Mediation: Android.

Open document

Yandex Mobile Mediation: iOS.

Open document

Yandex Mobile Mediation: Flutter.

Open document

Yandex Mobile Mediation: Unity.

Open document

Starting with version 6.0.0, adaptive sticky banners support auto-refresh. How does it work? Can I use a custom solution to auto-refresh ad units?

As of 6.0.0 release, ad units auto-refresh once every 60 seconds. However, the auto-refresh rate may change in the future as we continue experimenting to find the optimal duration for displaying ad units.

If you've previously been using a custom auto-refresh solution, you'll need to disable it when upgrading to version 6.0.0.

Where do I find the ad tag to serve ads in my app?

To get the ad tag, you need to connect and configure the Yandex Mobile Ads SDK libraries.

For more information about integration, see the Yandex Mobile Ads SDK documentation.

Where do I find information about demo ad units?

With demo ad units, you can check how ads appear in your app.

You can find more information about demo ad units at the end of the article on integrating your desired ad type. To do this:

  1. Open the Yandex Mobile Ads SDK section and choose your platform.
  2. Go to Instructions → Ad formats.
  3. Click the desired ad format to open an article covering the integration process. You can find information about demo ad units at the bottom of the page.

Example of an Android banner ad

Is GDPR supported?

Yes, the Yandex Advertising Network supports the General Data Protection Regulation (GDPR).

For more information about GDPR, see the Yandex Mobile Ads SDK section.

Do I have to comply with GDPR if I'm not an EU resident?

GDPR has extraterritorial reach and applies to all companies that process personal data of citizens of the European Economic Area and Switzerland, regardless of the company's location.

The user's consent to the processing of their personal data must be passed to the Yandex Mobile Ads SDK with every app launch. To do this:

  1. Integrate the Yandex Mobile Ads SDK.
  2. Set up the display of a dialog box prompting the user to consent to the processing of their personal data. For more information, see this example.
  3. Use the setUserConsent method to pass the received value to the Yandex Mobile Ads SDK (example for Android). Data collected from users in GDPR countries is only processed with the user's consent. For more information about GDPR, see the Yandex Mobile Ads SDK section.
Does the Yandex Mobile Ads SDK comply with the IAB guidelines?

Yes, the SDK is IAB-certified. For more information, see this article.

Does the Yandex Mobile Ads SDK support integration via HTML or WebView JS code?

No, the SDK can be integrated with apps only as a library. Interaction with the SDK is done by calling the appropriate Swift/Objective-C/Java/Kotlin/C# methods depending on the platform.

Is integration via the Swift Package Manager (SPM) available for iOS?

Integration is supported for the main SDK and the InStream format. For Yandex Mobile Mediation, integration via CocoaPods is available.

Can I use the API to receive statistics?

Yes, you can. See the guide on connecting the statistics API token in the Monetization section.

Can I opt out of integrating AppMetrica or remove it?

AppMetrica is required for the correct operation of the advertising SDK. AppMetrica adheres to strict data security standards. The platform's existence, logic, and operating principles comply with the policies of Google Play and the App Store.

Can I bypass the initialization of Yandex Metrica?

Yandex Metrica is initialized automatically during the initialization of the Yandex Mobile Ads SDK and banner request events.

Does the SDK support server-side rewards?

Yandex Mobile Ads doesn't support server-side rewards. There are no plans to implement this support in the future.

Can I integrate InStream ads with SmartTV?

Yes, InStream ads are available for Android TV and Apple TV. Integration instructions:

Does the Yandex Mobile Ads SDK support C++ libraries and integration with Unreal Engine?

Currently, we don't have a ready-made solution for this. You can use an SDK wrapper, but we don't guarantee build stability or that your app will work correctly.

Does the Yandex Mobile Ads SDK support Xamarin?

Currently, we don't have a ready-made solution for this. You can use an SDK wrapper, but we don't guarantee build stability or that your app will work correctly.

Does the Yandex Mobile Ads SDK support Cordova?

Currently, we don't have a ready-made solution for this. You can use an SDK wrapper, but we don't guarantee build stability or that your app will work correctly.

Does the Yandex Mobile Ads SDK support LibGDX?

Currently, we don't have a ready-made solution for this. You can use an SDK wrapper, but we don't guarantee build stability or that your app will work correctly.

Does the Yandex Mobile Ads SDK support Flutter?

Integration is supported for the main SDK and Yandex Mobile Mediation. For more information, see the following guides:

Does the Yandex Mobile Ads SDK support React Native?

Integration is supported for the main SDK and Yandex Mobile Mediation. For more information, see the following guides:

Contact support