Appearance
Opera Ads Mediation Adapter Integration Guide
This guide explains how to integrate with supported mediation platforms.
Table of Contents
Prerequisites
Before you begin, ensure that:
- You have registered on the Opera Ads Developer Platform and created your app
- You have obtained your Opera Ads Application ID (e.g. "app1234567890/ep1234567890/app1234567890") and Placement IDs (e.g. "s1234567890") for each ad unit
- You have created your app and ad units on the corresponding mediation platform (e.g. AdMob)
- Full support for Kotlin integration begins with version "2.2.2.x".
Supported Platforms
Opera Ads provides custom adapters for major mediation platforms, supporting integration through:
FAQ
1. Why can't I load or see an ad?
Possible Causes
- Incorrect Application ID or Placement ID configuration
- Opera Ads SDK not initialized properly
- Network issues or low ad fill rate
Solutions
- Verify that console configuration parameters are correct.
- Enable logging to view detailed error information, and the log tag or search pattern is "OperaMediationAdapter".
2. How can I request or load ads for testing?
The Opera Ads SDK automatically returns test ads for test devices. To receive test ads, ensure that:
- Your device is added as a test device in the Opera Ads console.
3. Why don't banner ads refresh?
Opera Ads adapters automatically disable the Opera Ads SDK's auto-refresh feature, allowing the mediation platform to control refresh logic:
java
// Automatically called inside the adapter
bannerAdView.setAutoRefreshEnabled(false);Ensure that it is configured as expected on the mediation platform consoles. In addition, it may be affected by factors such as the mediation settings in the console, the fill rate, and network conditions. You can check the logs to investigate the problem.
4. Why do I encounter OkHttp3-related errors during compilation or runtime after integrating the Opera Ads SDK?
A: The Opera Ads SDK depends on OkHttp 4.x by default. If your app depends on an older version of OkHttp such as 3.x, please upgrade to version 4.x in your project, or contact us for help.
Technical Support
For questions or support, please contact:
- Documentation: Opera Ads Developer Documentation
- Technical Support: ad-sdk-support-list@opera.com
