Mediation Pangle - san-sdk/sample GitHub Wiki
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.
Pangle currently supports the following ad formats.
SAN Formats | Pangle Ad Formats |
---|---|
Banner | Banner |
Interstitial | Interstitial |
Rewarded Video | Rewarded Video |
Native | Native |
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
}
Add the Pangle key to meta-data in
<application
...>
<meta-data
android:name="com.san.key.Pangle"
android:value="your Pangle App ID" />
</application>
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_*
SAN Version:3.13.9.1
Pangle Version:4.7.0.5
SAN Version:3.12.6.1
Pangle Version:4.5.0.6
SAN Version:3.3.0.1
Pangle Version:4.1.1.2
- Support Test Suite
SAN Version:3.2.0.5
Pangle Version:4.1.1.2
SAN Version:3.2.0.5
Pangle Version:3.8.1
SAN Version:1.3.0.+
Pangle Version:3.8.1