Bidapp Ads
  • 🎁Ab_dout
  • Integration
    • iOS
      • Getting started
      • Additional Settings
      • App Policy Settings
      • Serverless Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
      • SKAdNetwork
      • SwiftUI
    • Android
      • Getting started
      • Additional Settings
      • App Policy Settings
      • Serverless Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
      • Jetpack Compose
  • PLUGINS
    • Kotlin Multiplatform
      • Getting started
      • Android Platform Setup
      • iOS Platfrom Setup
      • App Policy Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
    • Unreal Engine
      • Getting started
      • App Policy Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
      • MREC
    • Unity
      • Getting started
      • Android
      • iOS
      • App Policy Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
Powered by GitBook
On this page

Was this helpful?

  1. PLUGINS
  2. Kotlin Multiplatform

Android Platform Setup

Integration instruction for Android platform

  1. Open the build.gradle file of your shared module.

  2. To add networks for the Android Platform In the androidMain.dependencies section, add the following line or any combination of them:

androidMain.dependencies {
    ...
    implementation ("io.bidapp.networks:applovin:+")
    implementation ("io.bidapp.networks:applovinmax:+")
    implementation ("io.bidapp.networks:unity:+")
    implementation ("io.bidapp.networks:liftoff:+")
    implementation ("io.bidapp.networks:admob:+")
    implementation ("io.bidapp.networks:chartboost:+")
    implementation ("io.bidapp.networks:startIo:+")
    implementation ("io.bidapp.networks:facebook:+")
    implementation ("io.bidapp.networks:digitalturbine:+")
    implementation ("io.bidapp.networks:yandex:+")
    implementation ("io.bidapp.networks:mytarget:+")
    ...
}

Before adding the Admob adapter, it's crucial to add the Admob APPLICATION_ID as a meta-data in your AndroidManifest.xml file of the androidApp module. This is mandatory for adapter to function correctly.

Permissions

Make sure to add the next permissions to your androidApp - AndroidManifest.xml to ensure the SDK functions as intended:

  • For accessing the Google Advertising ID.

<uses-permission android:name="com.google.android.gms.permission.AD_ID" />

This is required by the Android Advertising ID (AAID) module - com.google.android.gms:play-services-ads-identifier

  • For analytics.

<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

  • For the SDK to operate correctly.

<uses-permission android:name="android.permission.INTERNET" />

PreviousGetting startedNextiOS Platfrom Setup

Last updated 4 months ago

Was this helpful?