Skip to content

AppLovin MAX Mediation Integration

Supported Ad Formats

AppLovin Ad FormatMinimum required version of Opera adapter
Native2.0.0.0
Banner2.0.0.0
MREC2.0.0.0
Interstitial2.0.0.0
Rewarded2.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

  1. Sign in to the AppLovin MAX Dashboard
  2. Navigate to MAXMediationManageNetworks
  3. Click Click here to add a Custom Network at the bottom of the page
  4. 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:

  1. Select an ad unit → Custom Networks → Find Opera Ads
  2. Click Enable to activate it
  3. Configure the ad source parameters:

Parameter Mapping:

In the AppLovin MAX dashboard, configure the following parameters for Opera Ads:

AppLovin FieldValueDescription
App ID (Server Parameter)pub{}/ep{}/app{}Your Opera Ads Application ID
Placement IDs{}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'
end

Then run:

bash
pod install

Additional 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;
}

@end

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.

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.