Nimbus Android SDK

Google Ad Manager Integration

Setting up Nimbus to run banners and interstitial ads within the Google ecosystem can be done by including our Google extension. This guide assumes you've already integrated Nimbus in your app. Before ads can be loaded using Google, Nimbus.initialize() must be called.

Setup

Include the Nimbus Google Extension

In your build.gradle include the following line in your dependencies block.

dependencies {
    implementation "com.adsbynimbus.android:extension-google:1.11.6"
}

Configure the Nimbus Ad Network and Yield Group in Google Ad Manager

Below you will find the instructions for configuring Nimbus’ Android SDK as a yield partner with Google Ad Manager (GAM/DFP)

To begin, please sign into Google Ad Manager and follow the below steps:

Creating a Company

  1. Click Admin - Companies
  2. Click New Company - Select New Ad Network
  3. Click and Select - Other Company
  4. Type in the Name - Nimbus SDK
  5. Select/Check - Enable Mediation
  6. Save this configuration

Creating Yield Group

  1. Click on Delivery on the left side menu
  2. Continue onto Delivery and click - Yield Groups
  3. Create a new Yield Group - Named Nimbus SDK
  4. Save this configuration

Adding a Yield Partner

  1. Select Nimbus SDK from the list
  2. Set the Integration Type - Custom Event
  3. For Operating System/Platform - Android
  4. Set Status to - Active
  5. Label - NimbusCustomEvent
  6. Select - Override Dynamic CPM - Note: Our default is 1.00
  7. Class Name - com.adsbynimbus.google.NimbusCustomEvent
  8. Parameter - Used as the position field of the NimbusRequest. - If omitted will default to "GAM Banner" or "GAM Interstitial"
  9. Save this configuration

AdUnit

Testing Ads

In order to test your integration, enable test mode by calling Nimbus.setTestMode(true) after initializing the sdk and turn off other networks for the line item you configured in Nimbus. A successful integration should show the test Nimbus Banner ad.

More Information

For more information on setting up a custom network, refer to this link https://support.google.com/admanager/answer/7387351