LevelPlay / IronSource

Integration

  1. Integrate the LevelPlay Android SDK into your project.
  2. Initialize the Magify SDK.
  3. Pass the Magify clientId as the user ID when building the LevelPlay init request:
val clientId = magify.clientId

val initRequest = LevelPlayInitRequest.Builder("{YourAppKey}")
    .withUserId(clientId)
    .build()

LevelPlay.init(this, initRequest, object : LevelPlayInitListener {
    override fun onInitSuccess(configuration: LevelPlayConfiguration) {
        // Create ad objects and load ads
    }

    override fun onInitFailed(error: LevelPlayInitError) {
        // Recommended to initialize again
    }
})

The user ID is supplied as part of initialization, so all LevelPlay mediation and ad events are tied to the Magify identity. It must be set at init time and cannot be changed afterward.

Related articles

CustomCreative

Configuration

Your own integration

IMinimalInAppStore

Installation

ContentItem