Android Question ads not show with my unit

DarkSmart

Member
Licensed User
Hi
i use firebase admob for show ads
but my problem is ads just show with simple test ads unit
not show ads and not work with my unit
my banner unit id:
ca-app-pub-8234575701321499/6319040424
my Interstitial unit id:
ca-app-pub-8234575701321499/5796296248

ads1.jpg


Also i attached my project and admob panel screen capture
 

Attachments

  • 2.zip
    9.5 KB · Views: 222

Computersmith64

Well-Known Member
Licensed User
Longtime User
If you are able to show test ads (which you are), then your implementation is good. I ran your project with your ad unit ids & got an error code 0 -- which means there are no ads available. It could be that there just aren't any ads being served to your app in my region (or for whatever reason), or there might be an issue on your AdMob account side. Make sure you have set up your payment details in your AdMob console.

Also, you might want to try adding your application ID to the manifest. According to the AdMob documentation, this is required from SDK 17.0.0 - but I'm not seeing an initialization crash, so maybe it's not an issue in your case.

B4X:
AddApplicationText(
<meta-data android:name="com.google.android.gms.games.APP_ID"
android:value="[YOUR ADMOB APP ID]" />
)

Also have a search through the forums because there are a number of threads with the same issue you're having with a few different resolutions.

- Colin.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
he didn't enter his payment info.

Admob won't serve ads if you don't enter your bank account number.
Probably implemented to prevent ads going to cheaters who try with a new account but with the same bank account number.
 
Upvote 0
Top