This page will show you how to integrate Leadbolt Video and Interstitial ads in your Android app with Google AdMob/DFP and Unity. Download the SDK and sample app. Make sure you can compile the sample app and see test ads.

To get started sign up for a Leadbolt Publisher account here or login to the Publisher Portal here.

gstart for Unity v5. For a sample for Unity v4.7, click here.

Add your apps

Login to the Publisher Portal and select the ‘Create New App’ button from the “Apps” page. Fill in your app’s details including name and platform. Once app is added, it is recommended that you also apply for our premium deals by clicking “Direct Deals” in the Publisher Portal. Once approved, a “Direct Deals” section should be visible under your app in the Publisher Portal. Use the “Add Section” button if not visible.


Copy Your Integration Details

Your integration details will be displayed on the last page of the Create App process. These integration details will be needed when you integrate the Leadbolt SDK into your app.

Create App Dialogue-3

Setting Up Google Admob/DFP Publisher Portal

The following initial steps allow you to add the Leadbolt SDK within the Google Admob/DFP portal.

Add an interstitial ad unit

Once you login to the Google Admob/DFP portal, access or setup your app and add a interstitial ad unit to the App as a container for the Leadbolt SDK Ads.

Add Leadbolt Ad Network

Once the App and ad unit is setup, click on “Edit mediation”. Click on the “New Ad Network” button. From the list of available ad networks, select “Leadbolt”.

Enter Leadbolt Details


Enter your App’s API Key found in the Leadbolt Portal. For Direct Deals/Networks Ads use “inapp” (without quotes) as the Location Code. 

For Rewarded Video use “video” (without quotes) as the Location Code. Check that a “Rewarded Video” section is visible under your app in the Publisher Portal. Use the “Add Section” button if not visible. AdMob utilizes a server side postback to notify when the user has watched the video. If required, contact your account manager to enable the server side postback feature on your account.

To get started, please untick the “Ad Network Optimization” setting and also set a high floor eCPM for Leadbolt as shown in the screenshot below. 


Please note, you may also need to click on “AdMob Network” settings, un-tick “Optimise AdMob Network” and enter a lower Admob Network eCPM to generate sufficient Leadbolt impressions when you start.

Once your Leadbolt account is showing sufficient impressions you can enable “Ad Network Optimization”. You can obtain the required Publisher ID and Secret Key from the Accounts page of your Leadbolt portal.

Setup App with Google AdMob/DFP SDK

Setup your Android Project with Google AdMob/DFP SDK in Unity as outlined on these pages: and

Link Leadbolt SDK in your Unity App

Unzip the SDK zip file and copy the Leadbolt SDK + AdMob jar file ( AppTracker.jar  and AdMobAppTracker.jar ) to your Unity Project’s “Assets->Plugins->Android” folder.

Add the required permissions to your app’s AndroidManifest.xml  file:

Add the required Leadbolt Activity in your AndroidManifest.xml  file just before the </application> tag:

Google Advertising ID

As of August 1st 2014, if your App is publishing onto the Google Play Store, our SDK will need to use the new Google Advertising ID. Please refer to the following official documentation from Google on how to add the Google Play Services library to your Android Project.


  • Video and Interstitial Ads may not be available at all times in all countries. It is always best to test with your App in Test Mode in the Publisher Portal to ensure as Test Ads are generally always available.
  • You should check your Publisher Portal and ensure the relevant section is visible under your App. Use the “Add Section” button to add if not available.
  • You should check the SDK logs located in Logcat logs with the Tag “AppTracker”.
  • Always test the sample app provided to confirm any integration issues are SDK based.
  • Please Note: mediation platforms often require optimization settings, can take time to sync mediation setup for your App. Please check the mediation sdk log messages, allow ‘sufficient’ time for sync and if relevant contact Mediation partner for help.
  • This plugin has been tested on the following versions of Unity IDE: 4.7.2f1 and 5.5.1f1
  • This plugin has been tested and compatible with Google Mobile Ads SDK for Unity version 3.1.3

gstart for Unity v5. For a sample for Unity v4.7, click here.

← Return to Help Center