Appearance
LevelPlay (ironSource) Mediation Integration
Supported Ad Formats
| Ad Format | Supported |
|---|---|
| Banner (320×50) | ✅ |
| MREC (300×250) | ✅ |
| Interstitial | ✅ |
| Rewarded | ✅ |
Configure Custom Network in LevelPlay Console
Add Custom SDK Network
- Sign in to the Unity LevelPlay Dashboard
- Navigate to LevelPlay → Setup → SDK Networks
- Click Manage Networks → Custom Adapter
- Fill in the following information:
- Network Key:
operaads - iOS Adapter Class Name:
ISOperaAdsCustomAdapter
- Network Key:
Configure Ad Units
On the Ad Units page, add Opera Ads as an ad source:
- Select an ad unit → Setup → Instances → Add Instance
- Select Opera Ads custom network
- Configure the instance parameters:
Parameter Mapping:
| LevelPlay Field | Key | Description |
|---|---|---|
| App ID | appid | Your Opera Ads Application ID (format: pub{}/ep{}/app{}) |
| Placement ID | placementid | Your Opera Ads Placement ID (format: s{}) |
| Bundle ID | operaBundleId | Your 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'
endThen run:
bash
pod installAdditional 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.
