RTBSDK Android Integration
Release Notes
  • Start
    • Setup
      • Maven
      • Configure RTBSDK
    • Consent
  • Formats
    • Banner
    • Fullscreen (Interstitial)
    • Native Ads
    • Advanced
      • Separate Loading and Rendering of Banner Ads
  • Other
    • AppLovin Custom Adapter
    • AdMob Custom Events
    • Reference
      • Classes
        • RTBSDKManager
        • RTBBannerView
        • RTBBannerAdProvider
        • RTBBannerRequestConfiguration
        • RTBBannerSize
        • RTBFullscreenAd
        • RTBFullscreenRequestConfiguration
        • RTBBidInfo
        • RTBNativeAd
        • RTBNativeAdRequestConfiguration
        • RTBUserTargeting
        • RTBNativeAdLoader
      • Interfaces
        • RTBBannerViewDelegate
        • RTBBannerAdLoadDelegate
        • RTBBannerAdInteractionDelegate
        • RTBFullscreenDelegate
        • RTBNativeAdLoadDelegate
        • RTBNativeAdInteractionDelegate
      • Enumerations
        • RTBGender
  • Sample App
Powered by GitBook
On this page
  1. Start
  2. Setup

Maven

Add RTBSDK using Maven

Basic integration steps

Add the RTBSDK repository

First of all, you will need to add RTBSDK's repository to your list of repositories. Edit your main build.gradle file:

allprojects {
    repositories {
        google()
        mavenCentral()
        //... other repositories you use
        maven {
            url 'https://android-sdk-rtb.gravite.net/maven'
        }
    }
}

Integrate RTBSDK

To add RTBSDK add the following dependency in your app's build.gradle file:

dependencies {
    //... other project dependencies
    implementation ('com.rtb.sdk:RTB-SDK:<SDK_VERSION>') {
        transitive = true
    }
}
PreviousSetupNextConfigure RTBSDK

Last updated 4 months ago