Mediation Pangle - san-sdk/sample GitHub Wiki

Pangle

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

Supported Ad Formats

Pangle currently supports the following ad formats.

SAN Formats Pangle 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
    maven { url 'https://artifact.bytedance.com/repository/pangle'}//Pangle
}
//...

dependencies {
    // ... other project dependencies
    implementation "com.myadsget:mediation-pangle:4.7.0.+"// SAN mediation sdk
}

Step 2.Update Your Android Manifest

Add the Pangle key to meta-data in

<application
        ...>

        <meta-data
            android:name="com.san.key.Pangle"
            android:value="your Pangle 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.

Step 4.If you use shrinkresource or andResguard or aabResguard, please add resource file to your whitelist.

R.layout.notification_*
R.anim.tt_*
R.drawable.tt_*
R.string.tt_*
R.color.tt_*
R.string.ad*
R.string.star_*
R.dimen.tt_*
R.integer.tt_*
R.style.tt_*
R.style.Theme.Dialog.TT_*
R.style.tt_*
R.style.quick_*
R.style.EditTextStyle*
R.attr.tt_*

ChangeLog

4.7.0.5.2(2.22-2023)

SAN Version:3.13.9.1
Pangle Version:4.7.0.5

4.5.0.0(8.25-2022)

SAN Version:3.12.6.1
Pangle Version:4.5.0.6

4.1.1.1(11.26-2021)

SAN Version:3.3.0.1
Pangle Version:4.1.1.2

4.1.1.0(11.22-2021)

SAN Version:3.2.0.5
Pangle Version:4.1.1.2

3.8.1.4(11.5-2021)

SAN Version:3.2.0.5
Pangle Version:3.8.1

3.8.1.1(9.6-2021)

SAN Version:1.3.0.+
Pangle Version:3.8.1

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