How Upgrade Adaptive Banners Android AdMob

How Upgrade Adaptive Banners Android AdMob – In this we will see how to upgrade the Adaptive Banners ads in Android Studio Google AdMob. This is the new production but very complicate to understand the adaptive banners documentation to implement and upgrade from smart banners to adaptive banners.

Apart from this article you can make money online without any investment. The works are very easy like playing games, views & click ads, Watching Videos & Earn $5 per Day from home.

When we have not upgrade into adaptive banners the revenue is nearly 50% loss so its very important updates for every android app developers. Me also try to upgrade to adaptive banners but the official documentation is very complicated.

How Upgrade into Adaptive Banners

Actually that’s very simple to implement AdMob Adaptive Banners in your android application. Google clearly release their official documentation to upgrade adaptive banners instead of smart banners and also publish the sample code in github to implement adaptive banners.

So in this article i have explain the step by step procedure to make the adaptive banners in our android application. When we have add the adaptive banner API ads will be showing in the relevant application.

Implement Adaptive Banners

Let’s start, here i have to create one new project to implement the google admob adaptive banner ads in our new android application. First as usual create new android application then choose the activity after that select the SDK version then finally click finish button to create new project for develop adaptive banners.

After creating the project, first step open the build.gradle file and add the single line of google ads code,

implementation ‘com.google.android.gms:play-services-ads:18.2.0’

Finally the full build.gradle code like,

apply plugin: 'com.android.application'

android {
    compileSdkVersion 29
    defaultConfig {
        applicationId "ads.google.deletenow"
        minSdkVersion 23
        targetSdkVersion 29
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation 'androidx.appcompat:appcompat:1.1.0'
    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
    implementation 'com.google.android.gms:play-services-ads:18.2.0'
}

Update the AndroidManifest.xml file

Then the next step is add the below code in your AndroidManifest.xml file to integrate the google admob app id to show the adaptive banner ads in our android application. The full code is,

fff

Update MainActivity.java file

Now we are came on the main part code, here we initialize the mobile ads code and every part of ads implementation. To import many other packages for integrate the adaptive banner ads.

sdsd

Update activity_main.xml file

Finally update the activity_main.xml file to show the adaptive banners ads in our android application. The full code is,

Output

That’s all, now you have to run your application in AVD or your mobile phone. Here i connect my mobile device to run the application. The final ouutput for implement adaptive banner ads in google admob.

For official documentation to make adaptive banner example in android application instead of smart banners.

Video Tutorial

Leave a Reply