Can't see my HTML5 ads uploaded to my AdMob account in my app
I've created a new AdMob account, a new app (lets say the id is "ca-app-pub-APPID"), a new Ad Unit (id: "ca-app-pub-ADUNIT"). I used those ids in my android application (simple one created with android studio):
ads:adUnitId="ca-app-pub-ADUNIT"
in the activity_main.xml file
MobileAds.initialize(this, "ca-app-pub-APPID");
Then I created a new campaign with the relevant Ad Unit and uploaded a new html5 ad (created a simple zip with an html file that includes tag <meta name="ad.size" content="width=300,height=250">
)
I would expect to see my ad now when I start my android app, but I just see white area, both in my device and in a nexus 5 emulator (it used to work with test ads), although I added my device as a test device: AdRequest adRequest = new AdRequest.Builder().addTestDevice("MY_DEVICE_ID").build();
I can see that my campaign status is , which means: "This icon can mean one of the following: Inactive and there is a problem with the campaign that needs to be fixed. Active but the campaign is behind schedule."
So I also set a payment method and got an email says my account was approved.
So why am I still seeing this small error icon alongside my campaign name? Why can't I see my ad? Can you suggest a simpler way to test my ads(maybe a clear tutorial other than what developers.google provides)?
链接地址: http://www.djcxy.com/p/5550.html