Add adMob banner ads and earn lots of money, These are many types of banner ads for android apps. So i explain all banner ads.
Type of Banner Ads
- Banner – This banner ads will show 320×50, 320×100, 320,250 size’s text, video ads.
- Adaptive banner – Do functionality and show ads according to your app layout.
- Smart banner – This banner ads will show 320×32, 320×50, 320,90 size’s text, video ads.
Read for more details about adMob’s ads – click here.
How Can Do It
- Open your xml file and change ads:size name,
<com.google.android.gms.ads.AdView
xmlns:ads="http://schemas.android.com/apk/res-auto"
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_alignParentBottom="true"
ads:adSize="BANNER"
ads:adUnitId="ca-app-pub-xxxxxxxxxxxxx/xxxxxx">
</com.google.android.gms.ads.AdView>
- If you want to show smart banner ads, So add SMART_BANNER on ads:adSize.
- Or if your want to show adaptive banners ads, So read google’s recommended article.