Mediation
Facebook
Integrate Meta Audience Network with bidding click here
if you no need facebook mediation please remove the dependency from build.gradle file
implementation 'com.google.ads.mediation:facebook:6.11.0.1'
Applovin
Integrate Meta Audience Network with bidding click here
if you no need applovin mediation please remove the dependency from build.gradle file
implementation 'com.google.ads.mediation:applovin:11.4.2.0'
And
Goto AppController.java remove the below code
Bundle extras = new AppLovinExtras.Builder()
.setMuteAudio(true)
.build();
AdRequest request = new AdRequest.Builder()
.addNetworkExtrasBundle(ApplovinAdapter.class, extras)
.build();
AppLovinSdkSettings appLovinSdkSettings = new AppLovinSdkSettings(this);
AppLovinSdk.getInstance(applovinSDK, appLovinSdkSettings, this).initializeSdk();
Unity ADS
Integrating Unity Ads with Mediation Click Here
if you no need Unity Ads mediation please remove the dependency from build.gradle file
implementation 'com.unity3d.ads:unity-ads:4.2.1' implementation 'com.google.ads.mediation:unity:4.2.1.1'
ChartBoost Ads
Integrating Chartboost with Mediation Click Here
if you no need Chartboot Ads mediation please remove the dependency from build.gradle file
implementation 'com.google.ads.mediation:chartboost:8.4.3.1'
Note : If you planning to release Apk Please Remove the Testing SDK Suite from Build Gradle
implementation 'com.google.android.ads:mediation-test-suite:2.0.0'
And Open HomeActivity.java find the Code
binding.test.setOnClickListener(view1 -> {
MediationTestSuite.launch(HomeActivity.this);
});
Replace with
binding.test.setVisibility(View.GONE);
Last updated