Skip to content

TradPlus Mediation Integration

TradPlus Ad FormatMinimum required version of Opera adapter
Native2.6.0.0
Banner2.6.0.0
Interstitial2.6.0.0
Rewarded2.6.0.0
Splash2.6.0.0

Configure Custom Ad Network in TradPlus Console

Add Custom Ad Network

  1. Sign in to the TradPlus Console
  2. Navigate to Adv.SettingsCustom Network
  3. Click Add Network

Add custom network

Configure Adapter Class Names for Different Ad Formats

TradPlus requires separate adapter classes for each ad format:

Ad FormatAdapter Class Name (Android)
Nativecom.opera.ads.mediation.tradplus.OperaNativeAdapter
Bannercom.opera.ads.mediation.tradplus.OperaBannerAdapter
Interstitialcom.opera.ads.mediation.tradplus.OperaInterstitialAdapter
Rewardedcom.opera.ads.mediation.tradplus.OperaRewardAdapter
Splashcom.opera.ads.mediation.tradplus.OperaSplashAdapter

Set custom network

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.

Add 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.

Add Opera Network

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.