Skip to content

Commit

Permalink
update SDK Admob
Browse files Browse the repository at this point in the history
  • Loading branch information
aliendroid-kim committed Aug 23, 2024
1 parent f5217ea commit 4dd49bf
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 40 deletions.
16 changes: 8 additions & 8 deletions AlienAdsV2/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ dependencies {
implementation "androidx.multidex:multidex:2.0.1"
//implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
//Main Sdk Ads
implementation 'com.google.android.gms:play-services-ads:23.2.0'
implementation 'com.google.android.gms:play-services-ads:23.3.0'
implementation 'com.facebook.android:audience-network-sdk:6.17.0'
implementation 'com.applovin:applovin-sdk:12.5.0'
implementation 'com.startapp:inapp-sdk:5.0.0'
implementation 'com.unity3d.ads:unity-ads:4.12.0'
implementation 'com.applovin:applovin-sdk:12.6.0'
implementation 'com.startapp:inapp-sdk:5.0.2'
implementation 'com.unity3d.ads:unity-ads:4.12.1'

//Applovin
implementation 'com.applovin.mediation:facebook-adapter:6.17.0.0'
implementation 'com.applovin.mediation:google-adapter:23.2.0.0'
implementation 'com.applovin.mediation:unityads-adapter:4.12.0.0'
implementation 'com.applovin.mediation:unityads-adapter:4.12.1.0'

//Admob
implementation 'com.google.ads.mediation:facebook:6.17.0.0'
implementation 'com.google.ads.mediation:applovin:12.5.0.1'
implementation 'com.google.ads.mediation:unity:4.12.0.0'
implementation 'com.google.ads.mediation:applovin:12.6.0.0'
implementation 'com.google.ads.mediation:unity:4.12.2.0'

implementation("com.google.android.ump:user-messaging-platform:2.2.0")
implementation("com.google.android.ump:user-messaging-platform:3.0.0")

implementation 'com.google.android.gms:play-services-appset:16.1.0'
implementation 'com.google.android.gms:play-services-ads-identifier:18.1.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});

if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "UNITY":
if (BuildConfig.DEBUG) {
Expand Down Expand Up @@ -186,9 +184,7 @@ public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {

}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "UNITY":
if (BuildConfig.DEBUG) {
Expand Down Expand Up @@ -277,9 +273,7 @@ public void onInitializationComplete(InitializationStatus initializationStatus)
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "UNITY":
if (BuildConfig.DEBUG) {
Expand Down Expand Up @@ -344,9 +338,7 @@ public static void SelectAdsApplovinDis(Activity activity, String selectAdsBacku
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "UNITY":
if (BuildConfig.DEBUG) {
Expand Down Expand Up @@ -418,7 +410,7 @@ public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();

}
switch (selectAdsBackup) {
case "APPLOVIN-D":
Expand Down Expand Up @@ -487,9 +479,7 @@ public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {

}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "ALIEN-M":
PropsAdsManagement.initializeAdsMapping(activity);
Expand Down Expand Up @@ -521,9 +511,7 @@ public static void SelectAdsStartApp(Activity activity, String selectAdsBackup,
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "UNITY":
if (BuildConfig.DEBUG) {
Expand Down Expand Up @@ -614,9 +602,7 @@ public void onInitializationFailed(UnityAds.UnityAdsInitializationError error, S
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "STARTAPP":
StartAppSDK.init(activity, idInitializeBackupAds, true);
Expand Down Expand Up @@ -684,9 +670,7 @@ public static void SelectAdsFAN(Activity activity, String selectAdsBackup, Strin
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "STARTAPP":
StartAppSDK.init(activity, idInitializeBackupAds, true);
Expand Down Expand Up @@ -760,7 +744,7 @@ public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();

}
switch (selectAdsBackup) {
case "APPLOVIN-D":
Expand All @@ -773,9 +757,7 @@ public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "STARTAPP":
StartAppSDK.init(activity, idInitializeBackupAds, true);
Expand Down Expand Up @@ -853,9 +835,7 @@ public static void SelectAdsAlienMediation(Activity activity, String selectAdsBa
public void onSdkInitialized(final AppLovinSdkConfiguration configuration) {
}
});
if(BuildConfig.DEBUG){
AppLovinSdk.getInstance(activity).showMediationDebugger();
}

break;
case "STARTAPP":
StartAppSDK.init(activity, idInitializeBackupAds, true);
Expand Down

0 comments on commit 4dd49bf

Please sign in to comment.