Skip to content
Advertisement

Can’t display adMob banners on my activity

I want to display ads on my activity. For this I added next lines on manifest:

JavaScript

on activity xml have:

JavaScript

and on activity:

JavaScript

I have added unit Ad ID on string banner_ad.

Despite my efforts, I can not show anything on adView. All work perfect for debug mode. Just on debug mode.

Any suggestion please?

Advertisement

Answer

When create an adMob account MUST add payment information too.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement