I am doing an example app with admob for learning purpose. I refer to this website and created a project with same package name and same publisher_id as in that site. I run the app it shows the ad but different from the site. So that I created an account in admob (not real data and test mode) with my own package name. I have used my account's publisher_id and package name. But in the both the cases I got same ad. I run the app from emulator sdk 4.0.
This is what I got:
How to display some different ads instead of the above ad? Please help me.
The emulator is defined as testdevice, means that only testAds (like the Ad you see) get displayed.
Admob will be pushing the ads automatically. All you have to do is making sure that you didn't mark the app as testing.
This is a normal result. If you see this sample ad, real ads will be shown on a real device. Just run your app with a real device to see the real ads.
Related
I will soon release my first Android application on the Google store. But I have one problem. It shows test ads, but when I change my ad to real one it is not showing. I am using AdMob for ads.
I read in one place that they show 1 or 2 hours AFTER I put my app on store. But if that is not true I can get myself in problems (my app functionalities are bounded to ad showing).
Please someone who has experience tell me is this true (or solve problem different way)
Test ads are always shown on the emulator. If you are using a real device and still get no real ads after a few hours, then search the logcat for "testdevice". Usually, if the AdMob library recognises an emulator or a debug build, it lets you know that it considers this as a test device. You have to use a real device and a signed release version of your app. You can also upload your app to the PlayStore Alpha or Beta channel and test it from there if you want to be 100% sure.
Admob shows real ads if following conditions are met:
See if you have added a payment method in admob console.
Your app needs to be published on play store for showing real ads.
Check your email inbox regularly. Admob asks for personal identification once in a while to resolve it you will need to add your national id card picture.
Sometimes they restrict your ads due to invalid traffic checks.
If your test ads are working it means you have implemented it correctly.
The test ads show with no problem, and even the real ads were appearing on my app when i made an debug build, when i realized the debug build is working fine and made a final release, the ads stopped appearing on my app. Even now on my emulator the app shows the test ads, but with the released app, no ads appear.
I haven't received any communication either as to why this is happening. Any help would be much appreciated
Thanks
i have already tried to install released app on real device but no ads on real device(even ads are loading on real device with debug and profile mode)
Example for android native app.
Please test the production admobid , admod unit with the admob sample at https://github.com/googlesamples/android-ads/tree/master/admob/BannerExample
Replace existing admob ids and admob units, please check it the ads are getting served .
If no , then there might be some issue with you admob unit , or its not been fully approved for ads.
If you have created admob unit , recently , please wait for some time .
Hope that helps.
When i am using the AdMob Test ID it is working and showing the test add but when i am using my real id then no ads are been shown in the emulator (in android studio)
Real ads only showing when you make your app live in play store. So,if ads is coming in Test Id So,in real time ads is also come but you make your app live in play store.
I hope this can help You!
Thank You.
All my new apps get "ERROR_CODE_NO_FILL" error and get "I/Ads: No fill from the ad server." and "W/Ads: Failed to load ad: 3" errors in the Logcat.
My old apps still getting ads (from the same AdMob account), test ads are working well.
I tried to install the app on another device and I got the same problem also created new ad units, tried different version of Android Studio but there was no hope and the weird thing is that when I create new APK files from the old projects they get the same error however the old APK files getting ads normally (Both of them uses the same ad unit id, AdMob account and same app id). I have been searching for a solution for a week, I tried everything and got the same error. everything looks normal but I don't know why I get this error, so please help me. I was working on a project and I am done but I can't get ads any more.
PLEASE HELP ME. and sorry for my bad English.
I had same problem for admob ads .i added test id then also not showing ads on device. it's disable for 3-4 week after publishing live.
because there is only one download so.when you have 5+ installed device from store then your automatically showing on app.
if your admob ads are not showing on app don't worry it's will enable after few days.
I want to implement admob ads on my apps, but I didn't find any good resources to reference it.
I went to http://code.google.com/mobile/ads/docs/android/fundamentals.html but It only give me the implementation for testing device. How about to I want to see my apps show real ads.
Edit : I have my account at Admob, and had downloaded the SDK, but there's no real ads example there.
So please don't suggest me to register or something
The implementation for test ads and live ads are virtually the same. The only lines you should add/remove to get test/live ads are:
AdRequest.addTestDevice(AdRequest.TEST_EMULATOR);
AdRequest.addTestDevice("INSERT_YOUR_HASHED_DEVICE_ID_HERE");
The first line will give you test ads on the emulator, the second would give you test ads on a specific device, provided you put in the correct device id, which you could get from the logcat output. If these lines are removed from the code, live ads will be served.
Note it is good practice to use test ads during development.
You go to Admob website register
Then add a new add campaign to show adds in your app.
Wait for admob to approve it, and start showing adds.
Everything you need you can learn by googling tutorials about how to use it.
Here is a good place to start.
Abmob for beginners