Create a UnityAds Account

1. Create an account with UnityAds. You can do so here.___23.jpg

2. Click Dashboard enter the app creation interface.___24.jpg


Create UnityAds New Project

1. Click Operate Projects New Project.___3.jpg

2. After entering the Project name and other information, click Add Project to create the application. If your application is not on the shelf, the App Store id and Google Play Store id can be filled out after your application is on the shelf.


Add Placement

1. Click Project → MonetizationPlacements.___4.jpgAfter clicking into the Project section, Unity will create a video ad slot  and a rewardedVideo ad slot by default.

2. Click Add Placement.___5.jpg

3. Fill in the Placement ID, select the type of ad space to be created, and click Create Placement.mceclip7.png

Placement ID only allows letters, numbers and underscores.

4. Click Save.___29.jpg

  • Placement ID: You can define your Placement ID by yourself, we suggest you name it: Placement ID_Ad Network Name_ Country. (Example: 6539_Unity_USA_40)
  • Status: and Placement status, Enabled is on, Disabled is off.

  • Ad types: After clicking, you can choose the accepted creative types, including Video (video), Display (picture), and Playable (try play). It is recommended to check video and play play.

  • Muting: Refers to whether the advertisement is muted. It is recommended to select Audio not muted.

  • Allow skip: Whether to allow the ad to be skipped. Select No for rewarded video ad slot (cannot be skipped). Generally select Yes for interstitial video (can be skipped).


OpenMediation Platform Configuration

 Ad Network

1. Enter the OpenMediation publisher platform platform, click on Ad Network → click Edit behind UnityAds.___8.jpg

2. After filling in the relevant information, click Save.___9.jpg

  • Game ID: You can get the Game ID on the Placement page of the Unity platform.___10.jpg

  • Currency: Select the corresponding currency unit in the UnityAds platform.

  • API Key: You can obtain the API Key through the following steps.

    • Go to Dashboard and select API Access in the Ads Data Export menu.___11.jpg

    • Get the API Key behind Monetization Stats API Access. If it is not automatically generated, click Create API Key to generate it.___12.jpg 
  • Organization core ID: You can get it in the Settings of the UnityAds platform.___13.jpg


Add Instance

1. Click Mediation → Ad unit → Add Instance.___14.jpg

2. After filling in the relevant information, click Save.___15.jpg

  • Ad Network: Select UnityAds.
  • Instance Name: You can define the name of your ad unit yourself, we suggest you name it: Placement ID_Ad Network Name_ Country_Floor Price. (E.g: 6539_Unity_USA_40)

  • Unit ID: You can enter the Unity Placement interface to get it.___16.jpg


UnityAds Test Mode

It is very important to enable test mode for testing. We strongly recommend that you test in the following ways before the app is released.

1. Enter the Unity platform, select the Projects interface, and select the application.___17.jpg

2. Click the Settings menu to enter the Project Settings page and select the Test mode module. After selecting the application platform, check the Override client test mode, and select Force test mode ON (i.e. use test ads) for all devices. After clicking Save, the test mode is started.___18.jpg


Add the UnityAds SDK&Adapter to Your Build


1.  Add the Unity SDK

  • Add the following to your application-level build.gradle file inside dependencies section.
implementation 'com.unity3d.ads:unity-ads:+'


2.  Add the Unity Adapter

    OpenMediation supports both Gradle dependencies and Manual download mechanisms.

       Gradle dependencies

  • Add the following in your application-level build.gradle file inside dependencies section.
implementation 'com.openmediation.adapters:unity:+'

       Manual download

  • Download the unity Adapter from here.
  • Add the unity Adapter to Your Project.


3. For ProGuard Users Only

If you are using ProGuard with the UnityAds adapter, you must add the following code to your ProGuard configuration (Android Studio: proguard-rules.pro or Eclipse: proguard-project.txt):

-keepattributes SourceFile,LineNumberTable
 -keepattributes JavascriptInterface
 -keep class android.webkit.JavascriptInterface {
 -keep class com.unity3d.** {



OpenMediation supports both Cocoapods and Manualdownload mechanisms.


To Integrate the Unity SDK with Cocoapods, enter the following line in your podfile and you are good to go!

pod 'UnityAds'

Manual Download

1. Download the Unity framework

  • you can find the lastest Unity SDK here.

2. Add the Unity frameworks to your Project

You are now all set to deliver UnityAds within your application!

Was this article helpful?
2 out of 2 found this helpful



Article is closed for comments.