RTBSDK iOS Integration
Release Notes
  • Start
    • Setup
      • Cocoapods
      • Swift Package Manager
      • Configure RTBSDK
    • Consent
  • Formats
    • Banners
    • Fullscreen (Interstitial)
    • Native Ads
    • Advanced
      • Separate Loading and Rendering of Banner Ads
  • Other
    • AdMob Custom Events
    • AppLovin Custom Adapter
    • Reference
      • Classes
        • RTBSDKManager
        • RTBBannerView
        • RTBBannerAdProvider
        • RTBBannerBid
        • RTBBannerRequestConfiguration
        • RTBBannerSize
        • RTBFullscreenAd
        • RTBFullscreenRequestConfiguration
        • RTBNativeAdLoader
        • RTBNativeAd
        • RTBNativeAdRequestConfiguration
        • RTBUserTargeting
        • RTBBidInfo
      • Protocols
        • RTBBannerViewDelegate
        • RTBBannerAdLoadDelegate
        • RTBBannerAdInteractionDelegate
        • RTBFullscreenDelegate
        • RTBNativeAdLoaderDelegate
        • RTBNativeAdInteractionDelegate
      • Enumerations
        • RTBLogLevel
        • RTBGender
  • Sample App
Powered by GitBook
On this page
  • GraviteRTBAppLovinMediationAdapter
  • Add Custom SDK Network
  • Setup Ad Unit
  • Implementation Steps
  • How GraviteRTBAppLovinMediationAdapter Works
  1. Other

AppLovin Custom Adapter

Last updated 1 month ago

GraviteRTBAppLovinMediationAdapter

GraviteRTBAppLovinMediationAdapter is a Gravite framework that implements . It supports the following ad formats:

  • Banners

  • Fullscreen

Add Custom SDK Network

  • In the MAX Dashboard, select . Then click Click here to add a Custom Network at the bottom of the page. The Create Custom Network page appears. Add the information about RTBSDK custom network:

    • Network Type: choose SDK.

    • Name: RTBSDK.

    • iOS Adapter Class Name: RTBSDKAppLovinMediationAdapter.

Setup Ad Unit

Please contact your Gravite account manager to agree on the following parameters, as some need to be created on our end.

  • Set the "App ID" to the itunes app id.

  • Set the "placement ID" to the Gravite Marketplace placement ID as forwarded to you by your Gravite account manager.

  • Optional: set the seller id and the bid floor values in the "Custom Parameters" field to {"sellerId": "<SELLER_ID_VALUE>", "bidFloor": "<BID_FLOOR_VALUE>" }where SELLER_ID_VALUE is the seller id value and BID_FLOOR_VALUE is the bid floor value.

Implementation Steps

  • Integrate GraviteRTBAppLovinMediationAdapter

    • Cocoapods:

      • Add AppLovin and GraviteRTBAppLovinMediationAdapter to your Podfile: pod 'RTBSDK/AppLovinCustomAdapter', '<RTBSDK_VERSION>'(this will install AppLovin, GraviteRTBAppLovinMediationAdapter and RTBSDK).

    • Swift Package Manager:

      • In the last step, select RTBSPM and GraviteRTBAppLovinMediationAdapter

If your integration is successfully done, you should see logs with this pattern [GraviteRTBAppLovinMediationAdapter - RTBSDK]: while testing your integration. If not, please revisit your dashboard and the above steps again.

How GraviteRTBAppLovinMediationAdapter Works

  • AppLovin internally calls GraviteRTBAppLovinMediationAdapter asking for an ad.

  • GraviteRTBAppLovinMediationAdapter internally calls RTBSDK asking for an ad.

  • When RTBSDK responds, GraviteRTBAppLovinMediationAdapter would notify AppLovin with the response using the AppLovin custom adapter delegate methods. And in return, AppLovin will notify you of the response using the normal AppLovin callback.

Follow the same SPM steps .

Integrate with AppLovin fullscreen and banner formats following their .

The publisher requests an ad (Banner or Fullscreen) normally from AppLovin SDK (To learn how to request an ad from AppLovin, please visit ).

here
AppLovin documentation
AppLovin documentation
AppLovin custom adapter
MAX > Mediation > Manage > Networks