Skip to content

LevelPlay Mediation Integration

Supported Ad Formats

LevelPlay Ad FormatMinimum required version of Opera adapter
Banner2.9.0.0
Interstitial2.9.0.0
Rewarded2.9.0.0

Configure Custom Ad Network in LevelPlay Console

Add Custom Ad Network

  1. Sign in to the LevelPlay Console

  2. Choose LevelPlay on the top left of the page.

  3. Navigate to MediationSetupNetworks

  4. Click Add custom network at the end of the ad network list.

  5. Fill in the Network key with value 15c113b49, and press Confirm key. The name of corresponding ad network should be OperaAds. Then add Opera Ads for your app by clicking Save. You will see "OperaAds" in the ad network list.

    Add custom networkOpera ads listed

Enable Opera Ads Network for Ad Units

  1. Navigate to Ad units, and add a new ad unit by clicking Create ad unit. Create new ad unit
  2. Then go to Mediation under Management, add a new group for the new ad unit. If not necessary for your app, you can ignore this step. Mediation Add a new group by clicking Add group. For example, a group named "sea" for SEA regions. New group
  3. Navigate to Instances under Setup, and choose OperaAds. Fill in the appId and create a new instance by clicking +Add instance. You can fetch the appId and placementId on Opera Ads Console. After the instance is created, select the corresponding group (e.g. "sea") in the Mediation groups column to associate this instance with the group you created earlier. Once the configuration for OperaAds is saved successfully, the console opens the Mediation page and the new instance appears under Non-bidding. opera instanceopera on mediation

Please refer to Banner Sizes, and make sure that the ad size matches the placement of Opera banner ad you set on Opera Ads Console.

Add Dependencies

Add Opera Ads SDK maven repository:

kotlin
repositories {
    maven {
        url = uri("https://artifact.op-mobile.opera.com/releases")
    }
}

dependencies {
    // Opera Ads LevelPlay Adapter
    implementation("com.opera:opera-ads-levelplay-adapter:+")

    // LevelPlay SDK
    implementation("com.unity3d.ads-mediation:mediation-sdk:9+")
}

Additional Code (Optional)

The LevelPlay 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 COPPA. You can use the API PrivacyManager.setCoppa(...) to set coppa status.

CCPA (U.S. states privacy)

Please refer to U.S. states privacy setup. You can use the API PrivacyManager.setUSPrivacy(...) to set the compliance status of CCPA.