TapMind SDK Documentation logo

AdMob

AdMob react-native guide for Custom Adapter GMA SDK.

App Prerequisites

  • An Ad Unit must already be in place which will be used for targeting.
  • minSdkVersion of 24 or higher
  • compileSdkVersion of 36 or higher
  • Ensure your ios/Podfile sets the minimum iOS version:
  • platform :ios, '15.0' # Minimum required by TapMind SDK

Installation

Android

Configuration Steps

Ensure your android/build.gradle (project-level) includes the required repositories:

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url 'https://jitpack.io' }  
    }
}

Open the package.json file.

Find the dependencies block and add from below for respective mediation platform.

tapmind_ads_admob: "2.1.4"

iOS

Configuration Steps

Update Pod file as per below

target 'Runner' do
 use_frameworks! :linkage => :static           
 
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
  target 'RunnerTests' do
    inherit! :search_paths
  end
end

Open the package.json file.

Find the dependencies block and add from below for respective mediation platform.

tapmind_ads_admob: "2.1.4"


Configuration

Platform-specific values The steps below apply to both Android and iOS. When copying adapter class names or platform-specific parameters, use the Android or iOS tab for your build target.

CREATING CUSTOM EVENTS FOR WATERFALL

  1. Under the Mediation tab : Click on Create Mediation group section
  2. Select Android or iOS (depending on your target platform) and type of Ad format and Continue
  3. In the Name field : Type in as provided in the G-sheet
  4. Click on Add ad units
  5. Select the app and the Ad units that you want to use custom targeting on.

Add Custom Event → Create Mediation Group → Select Android or iOS → Add Name → Add Ad units → Select app and Ad units

AD SOURCES (WATERFALL SECTION)

  1. Click on Water fall source
  2. Click on Setup ad Source and then at the Bottom left Click on custom event
  3. Select the App for the setup (Android or iOS, depending on your target platform)
  4. Select ad unit and add the parameters as follows

For the Below details Please reach out TapMind Account Manger

Mapping name : As Per the G-sheet Provided 
ecpm : As Per the G-sheet Provided
Class : com.tapmind.tech.TapMindMediationAdapterAdmob
Parameter : { "placementName": "As Per the G-sheet Provided"}

Ad Sources → Add Custom Event → Enter Label → Set eCPM → Add Mapping → Enter Mapping Name → Enter Class Name → Add Parameter

The above setup completes our TapMind x ADMOB integration. You should see an Ad if test setup is complete and working fine.

Response can be checked in LOGCAT by using tag: TapMindAdapter

Official Google Documentation for creating a custom event : https://support.google.com/admob/answer/13407144