Not enough space to show ad (AdMob)

The left and right padding of your RelativeLayout is consuming space required by your AdView. Change RelativeLayout config to : <RelativeLayout xmlns:android=”http://schemas.android.com/apk/res/android” … android:paddingLeft=”0dp” android:paddingRight=”0dp” … > You probably also want to change your AdView config to: <com.google.ads.AdView android:id=”@+id/adMobadView” android:layout_width=”match_parent” android:layout_height=”wrap_content” … /> as you don’t really want your AdView to consume the entire screen.

Mopub ads not showing

It is ProGuard indeed. If you don’t want it to “get rid” of Mopub, AdMob and MMedia code entirely, just put the following lines into proguard-project.txt file of your project: -keep class com.google.ads.** {*;} -keep class com.mopub.mobileads.** {*;} -keep class com.millennialmedia.android.** {*;} -keep class com.millennialmedia.google.** {*;}

onFailedToReceiveAd(Ad request successful, but no ad returned due to lack of ad inventory when using admob with adwhirl

If you are getting this error, then your code is correct. The issue is that AdMob does not always have an ad to return for every request. This may happen particularly if you have just registered your AdMob publisher ID, as it takes some time and multiple requests before the new ID starts returning ads. … Read more