Appearance
TradPlus Mediation Integration
| TradPlus Ad Format | Minimum required version of Opera adapter |
|---|---|
| Native | 2.6.0.0 |
| Banner | 2.6.0.0 |
| Interstitial | 2.6.0.0 |
| Rewarded | 2.6.0.0 |
| Splash | 2.6.0.0 |
Configure Custom Ad Network in TradPlus Console
Add Custom Ad Network
- Sign in to the TradPlus Console
- Navigate to Adv.Settings → Custom Network
- Click Add Network

Configure Adapter Class Names for Different Ad Formats
TradPlus requires separate adapter classes for each ad format:
| Ad Format | Adapter Class Name (Android) |
|---|---|
| Native | com.opera.ads.mediation.tradplus.OperaNativeAdapter |
| Banner | com.opera.ads.mediation.tradplus.OperaBannerAdapter |
| Interstitial | com.opera.ads.mediation.tradplus.OperaInterstitialAdapter |
| Rewarded | com.opera.ads.mediation.tradplus.OperaRewardAdapter |
| Splash | com.opera.ads.mediation.tradplus.OperaSplashAdapter |

Add Ad Source for Ad Units
Go to the Apps & Ad Units section in App Management. Choose an ad unit and add an Ad Source.

In the Active Ad Source dialog, select OperaAds and fill out the form. Regarding the Parameters, you should set up "appId" and "placementId". You can fetch them on Opera Ads Console.

Banner
For Banner ads, when you add OperaAds as an additional ad source, a specified size of banner is needed, e.g. "size":"300x250", in the Parameters option. For all banner sizes supported by Opera Ads, please refer to com.opera.ads.AdSize.
Video
Video content can be served in ads, and it can be muted or unmuted through the TradPlus SDK by adding "videoMuted":"<value>" to the Parameters option. This parameter is optional. The value can be "1" or "0". "1" means muted, "0" means unmuted; any other value falls back to the default.
Header Bidding (C2S Bidding)
Opera Ads supports Header Bidding on TradPlus. To request ads via Header Bidding, please enable C2S Bidding when adding OperaAds to an ad unit.
Add Dependencies
Add Opera Ads SDK maven repository:
kotlin
repositories {
maven {
url = uri("https://artifact.op-mobile.opera.com/releases")
}
}
dependencies {
// Opera Ads TradPlus adapter
implementation("com.opera:opera-ads-tradplus-adapter:+")
// TradPlus Ads SDK
implementation("com.tradplusad:tradplus:+")
}Additional Code (Optional)
The TradPlus SDK automatically initializes the Opera Ads SDK when loading ads. No additional initialization code is required.
Privacy Compliance
GDPR
Please refer to GDPR. The Opera Ads SDK reads the application's consent string automatically.
COPPA
Please refer to TradPlus COPPA API. Opera Ads SDK honors the coppa status from TradPlus.
CCPA (U.S. states privacy)
Please refer to TradPlus CCPA API. Opera Ads SDK honors the ccpa status from TradPlus.
