How to add Admob native ads express in Android Studio

 

NewImage

Creating Native ads is a bit similar to regular banner ads. Native ads have higher CTR compare to normal banner. It is recomended to add native ads in your apps. You can still use both regular smart banner and native ads but you cannot use both in the same page. Be creative and add native ads in your Android Apps to increase your apps revenue.

1. Create Native ads unit with template. 

 

 

NewImage

 

2. Customize the CSS presentation on Admob console page. You can also redesign CSS later without redeploy your apps.

 

NewImage

3. Add native express ads view in the main activity layout. Add the following code. You can modify the adSize according to your need.

<com.google.android.gms.ads.NativeExpressAdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="320x150"
ads:adUnitId="@string/ad_unit_id">
</com.google.android.gms.ads.NativeExpressAdView>

 

3. Load an Ads in the MainActivity.java by adding two line of code in the onCreate()

 

NewImage

 


NativeExpressAdView adView = (NativeExpressAdView) findViewById(R.id.adView);
adView.loadAd(new AdRequest.Builder().build());

 

4. Run the apps and you should see native ads in your android apps.

5 comments:

  1. Much obliged to you again for all the information you distribute,Good post. I was exceptionally keen on the article, it's entirely rousing I ought to concede. I like going to you site since I generally run over fascinating articles like this one.Great Job, I incredibly acknowledge that.Do Keep sharing! Respects, AppValley Android

    ReplyDelete
  2. Incredible review, I am a major adherent to remarking on websites to illuminate the web journal scholars realize that they've added something beneficial to the internet!.. Emus4u Android

    ReplyDelete
  3. This article gives the light in which we can watch the truth. This is exceptionally pleasant one and gives indepth data. Much obliged for this decent article. NessTool iOS 11

    ReplyDelete
  4. An entrancing examination is worth remark. I surmise that it is best to compose additional on this matter, it won't be a forbidden theme however for the most part individuals are insufficient to chat on such points. To the following. Here's to you Panda Helper

    ReplyDelete
  5. Or maybe you give up in frustration and just go with the minimum listing that comes free with your business phone line. That's lost opportunity if your target market uses yellow pages.get traffic to my website

    ReplyDelete