Appearance
AppLovin MAX Mediation Integration
Supported Ad Formats
| AppLovin Ad Format | Minimum required version of Opera adapter |
|---|---|
| Native | 2.0.0.0 |
| Banner | 2.0.0.0 |
| MREC | 2.0.0.0 |
| Interstitial | 2.0.0.0 |
| Rewarded | 2.0.0.0 |
Configure Custom Network in AppLovin Console
Please refer to Integrating custom SDK networks on MAX Mediated Network Guides for detailed information.
Add Custom SDK Network
- Sign in to the AppLovin MAX Dashboard
- Navigate to MAX → Mediation → Manage → Networks
- Click Click here to add a Custom Network at the bottom of the page
- Fill in the following information:
- Network Type: SDK
- Network Name: Opera Ads
- iOS Adapter Class Name:
OpAdxAppLovinAdapter
Configure Ad Units
On the Ad Units page, add Opera Ads as an ad source for each ad unit:
- Select an ad unit → Custom Networks → Find Opera Ads
- Click Enable to activate it
- Configure the ad source parameters:
Parameter Mapping:
In the AppLovin MAX dashboard, configure the following parameters for Opera Ads:
| AppLovin Field | Value | Description |
|---|---|---|
| App ID (Server Parameter) | pub{}/ep{}/app{} | Your Opera Ads Application ID |
| Placement ID | s{} | Your Opera Ads Placement ID |
| Custom Parameters | {"bundleId": "com.example.yourapp"} | Your iOS app Bundle ID (JSON format) |
Add Dependencies
Add to your Podfile:
ruby
platform :ios, '13.0'
target 'YourApp' do
use_frameworks!
# AppLovin MAX SDK
pod 'AppLovinSDK'
# Opera Ads SDK
pod 'OpAdxSdk', '~> 2.9.1'
# Opera Ads AppLovin Adapter
pod 'OpAdxAdapterAppLovin', '~> 2.9.1.0'
endThen run:
bash
pod installAdditional Code Required
No additional code is required for integration.
Initialize AppLovin SDK
Swift:
swift
import AppLovinSDK
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Initialize AppLovin SDK
ALSdk.shared().mediationProvider = "max"
ALSdk.shared().initializeSdk { configuration in
print("AppLovin MAX SDK initialized")
}
// Opera Ads SDK will be auto-initialized by the adapter
return true
}
}Objective-C:
objective-c
#import <AppLovinSDK/AppLovinSDK.h>
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Initialize AppLovin SDK
[[ALSdk shared] setMediationProvider:@"max"];
[[ALSdk shared] initializeSdkWithCompletionHandler:^(ALSdkConfiguration *configuration) {
NSLog(@"AppLovin MAX SDK initialized");
}];
// Opera Ads SDK will be auto-initialized by the adapter
return YES;
}
@endPrivacy 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.
FAQ
Q: Why doesn't Opera Ads initialize?
A: AppLovin supports Selective init. Please ensure that the ad unit you specified has Opera Ads enabled for it.
