Skip to content

LevelPlay (ironSource) Mediation Integration

Supported Ad Formats

Ad FormatSupported
Banner (320×50)
MREC (300×250)
Interstitial
Rewarded

Configure Custom Network in LevelPlay Console

Add Custom SDK Network

  1. Sign in to the Unity LevelPlay Dashboard
  2. Navigate to LevelPlaySetupSDK Networks
  3. Click Manage NetworksCustom Adapter
  4. Fill in the following information:
    • Network Key: operaads
    • iOS Adapter Class Name: ISOperaAdsCustomAdapter

Configure Ad Units

On the Ad Units page, add Opera Ads as an ad source:

  1. Select an ad unit → SetupInstancesAdd Instance
  2. Select Opera Ads custom network
  3. Configure the instance parameters:

Parameter Mapping:

LevelPlay FieldKeyDescription
App IDappidYour Opera Ads Application ID (format: pub{}/ep{}/app{})
Placement IDplacementidYour Opera Ads Placement ID (format: s{})
Bundle IDoperaBundleIdYour iOS App Store ID

Add Dependencies

Add to your Podfile:

ruby
platform :ios, '13.0'

target 'YourApp' do
  use_frameworks!

  # ironSource LevelPlay SDK
  pod 'IronSourceSDK'

  # Opera Ads SDK
  pod 'OpAdxSdk', '~> 2.11.2'

  # Opera Ads LevelPlay Adapter
  pod 'IronSourceOperaSDKAdapter', '~> 2.11.2.0'
end

Then run:

bash
pod install

Additional Code Required

The LevelPlay SDK automatically initializes the Opera Ads SDK through the adapter. No additional initialization code is required for Opera Ads.

Initialize LevelPlay SDK

swift
import IronSource

class AppDelegate: UIResponder, UIApplicationDelegate {

    func application(_ application: UIApplication,
                     didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

        let requestBuilder = LPMInitRequestBuilder(appKey: "YOUR_APP_KEY")
        let initRequest = requestBuilder.build()
        LevelPlay.initWith(initRequest) { config, error in
            if let error = error {
                print("LevelPlay initialization failed: \(error)")
            } else {
                print("LevelPlay SDK initialized")
            }
        }

        // Opera Ads SDK will be auto-initialized by the adapter

        return true
    }
}

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 set COPPA status via the SDK init config's .coppa() builder method.

CCPA (US Privacy)

Please refer to US Privacy. You can set the CCPA status via the SDK init config's .usPrivacy() builder method.