Mediation AdMob - san-sdk/sample GitHub Wiki

Admob

If you plan to use the SAN SDK to load and display ads from Admob via mediation, use this article for integration instructions and information unique to the ad network.

Supported Ad Formats

Admob currently supports the following ad formats.

SAN Formats Admob Ad Formats
Banner Banner
Interstitial Interstitial
Rewarded Video Rewarded Video
Native Native

Step 1.Add the SAN Mediation SDK

open your project and update the app module’s build.gradle to have the following repositories and dependencies:

repositories {
    // ... other project repositories
   mavenCentral()// SAN mediation sdk
}
//...

dependencies {
    // ... other project dependencies
    implementation "com.myadsget:mediation-admob:21.1.0.0"// SAN mediation sdk
}

Step 2.Update Your Android Manifest

Add the admob key to meta-data in

<application
        ...>

        <meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="your admob App ID" />
</application>

Step 3.Display Native Ads

If you need to use NativeAd, You should use SANNativeAdRenderer , which has been adapted to adpaters' native advertising requirements.

ChangeLog

21.1.0.3(2.22-2023)

SAN version need >=3.13.9.1
SAN Version:3.13.9.1
Admob Version:21.1.0

21.1.0.0(9.15-2022)

Admob Version:21.1.0

  • Support Android 12

20.4.0.0(8.25-2022)

SAN Version:3.12.6.1
Admob Version:20.4.0

20.2.0.4(11.26-2021)

SAN Version:3.3.0.1
Admob Version:20.2.0

20.2.0.3(11.5-2021)

SAN Version:3.2.0.5
Admob Version:20.2.0

20.2.0.0(9.6-2021)

SAN Version:1.3.0.+
Admob Version:20.2.0

⚠️ **GitHub.com Fallback** ⚠️