文档

LevelPlay SDK - React Native

CSJ integration

Integrate CSJ as a mediation network in your React Native app using the LevelPlay SDK.
阅读时间2 分钟最后更新于 2 天前

Prerequisites

CSJ serves ads to users in China (iOS, non-bidding only).

Create CSJ Account

To access CSJ's ad inventory through LevelPlay, you must create an account with CSJ. You can do so here.

Create an Application in CSJ

Next, add the app in your CSJ account.
  1. Log into your CSJ account. On your dashboard, hover Applications and select Add
  2. Add your app or select an existing app to monetize.
The Create application form in the CSJ dashboard.

Activate CSJ in Your LevelPlay Network Setup Module

Sign in to your CSJ account when setting up CSJ on the LevelPlay SDK Networks setup page and insert all the necessary parameters to run CSJ Interstitials and Rewarded Videos. There are parameters from your CSJ account that you'll need to enter into your LevelPlay network setup module so CSJ can connect with LevelPlay:

Parameter

Description

User IDThe unique ID assigned to your user on CSJ dashboard.
API KeyKey generated by CSJ for reporting API purposes (Called security key in CSJ platform)
Application IDThe unique ID assigned to your app on CSJ dashboard.
Placement IDThe unique ID assigned to the ad you have created on CSJ dashboard.
When you obtain this information, configure CSJ's parameters in your LevelPlay account. By adding the above information correctly, you'll be able to take full advantage of CSJ ad inventory and reporting data on the LevelPlay platform. User ID When you've logged in to your CSJ account, you'll find your User ID on the top right corner of the dashboard.
The User ID location in the CSJ Account Settings.
API Key Found in your CSJ account dashboard under account settings.
The API Key location in the CSJ Account Settings.
The Account Settings page in the CSJ dashboard.
Application ID When you've created an application in the CSJ dashboard (as described in step 2), you'll find your Application ID under Apps (hover Applications and select Apps).
The Application ID field in the CSJ dashboard.
Placement ID When you've created an application in the CSJ dashboard, you'll need to include ads. Hover over Application and select Ad placements. Add your placement manually or select an existing placement to get its Placement ID.
The Placement ID field in the CSJ dashboard.
The Role ID location in the CSJ Account Settings.
The App Settings page in the CSJ dashboard.

Add the CSJ Adapter to Your Build

Continue your integration using native adapters for iOS.

Verify your ad network integration

The LevelPlay SDK provides an easy way to verify that your mediation integration was completed successfully. To verify your LevelPlay and additional ad networks' integration, follow this document. You are now all set to deliver CSJ within your application!