I added test ads, and everything ok, but how to add REAL ADS on my program?
The question is a bit vague.
Are you saying you have an adMob publisher Id, have the admob-sdk-android.jar integrated in your project, have added the attrs.xml, and are using the com.admob.android.ads.AdView view to get test ads and now want to know how to get AdMob to serve up real ads?
If so, it's pretty obvious how to do that from the AdMob publisher controls page: (if you have a publisher Id already) Or..use help link there and see the content about Publishing for your Android app.
If youre asking how to get started using the AdMob SDK with your project, you might try: http://developer.admob.com/wiki/Android
I found it pretty painless. Hope that helps.
Related
The main question is - How can I get a unit ID for production instead of using the test unit ID
Admob doesn't give me a option to select native ads? Here is a image with the 3 options that are given to select from:
What am I missing? Should I select native ads from another place? I surely can't use the test test unit id. I know that Native Express is discontinued, this is for Native Advance.
I followed the guideline on support.google and the image above is mentioned in step 6 in that guide Click Select for the Native ad format, but as you can see there is no option to select the native ad format.
Also, on developers.google they only talk about using the test unit id when testing and don't mention what unit Id should be used for production.
The easiest way to load test ads is to use our dedicated test ad unit ID for Native Advanced on Android:
ca-app-pub-3940256099942544/2247696110
It's been specially configured to return test ads for every request, and you're free to use it in your own apps while coding, testing, and debugging. Just make sure you replace it with your own ad unit ID before publishing your app.
I now asked a question on groups.google.com and on googlesamples github page with the hopes of getting a answer. So far no response.
My conclusion to this subject:
After a lot of questions, emails and research I have found that native advance is STILL in beta release and only available to a small group of publishers, the VIPs if you will.
Somehow I misread this on AdMob's website:
Note: Native Ads Advanced is currently in a limited release. If you are interested in participating, reach out to your account manager to discuss the possibility.
So with native express discontinued and stop serving ads on 1 March 2018 I would have thought that AdMob would make native advance available to all publishers. Unfortunately that is not the case.
So, I'm sorry Google AdMob but I will have to look at other options. Not like they care ;)
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
I signed to adsense and got my id to use adsense mechanism. I followed the tutorial http://code.google.com/intl/iw/mobile/afma_ads/docs/android/ and did exactly like the incomprehensible tutorial (Very surprising). Also the jar file that i supposed to add to my libs not available in the site and i downloaded it from http://www.java2s.com/Code/Jar/g/DownloadGoogleAdViewjar.htm. When i load my app i get a banner filled with "AD TEST" strings. When i tried to change the boolean parameter in setAdTestEnabled to false i got empty banner (not visible).
Does anyone run into such behavior using adsense?
Does anyone know better tutorial?
Does AdMob and Adsense connected to google?
If the test ad worked it could be that you have either not set your unique ID in your adWords account or its just not been activated yet therefor there are no images to retrieve.
Another reason could be that the image that it did retrieve doesnt fit into the view you have gave it. Something like that should throw an exception so have a look through your code in debug and see if it does throw an error
You are looking at an old old version of the Ads SDK. The download link probably isn't on the site anymore because it is now recommended/required to use the Google AdMob Ads SDK. It is a rewrite of the Google Ads SDK, and it has active support and documentation. I recommend trying it out, and any questions you may have you can ask on the support forum.
Side Note: I say using the new SDK is required because if you read through the the documentation, you will find a warning saying all new sites and apps created after October 14th, 2011 have to use the Google AdMob Ads SDK.
The AdWhirl instructions are extremely crappy. All I want to know is how to set up the layout XML and get the source code into the Java of my application.
Can someone please give me an example for, let's say, a simple application with just buttons and text and pictures with the AdWhirl ads on the page?
I would suggest working with Admob Mediation as that contains a more up to date development of Adwhirl. Adwhirl is actually developed in some part by Admob and so has been neglected with the release of Admob Mediation.
Look at this link to see how Admob relates to Adwhirl and works with multiple banner ads. Admob implementation also has a lot more documentation online. Make sure you have an account already.
I am thinking the answer' did not know the context of the question.
I was recently stumped about this when developing with the adwhirl server.
So incase anyone else is curious:
1) Install a firephp plugin in your favorite browser
2) update to latest version of FirePHP
3) refresh your page
4) have fun
Alright, I've done my googling and found this article to help me out with my small app. However, that one is getting old so I just have to ask, do I really need admod and adwhirl accounts and jars to display simple google ads?
From what I understand I could have used simple adsense .. if my app was a webapp, which it isn't.
Are all those steps still necesarry?
regards
I just setup AdMob in my Android application for the first time last night. I used their developer guide and it was really easy to get everything setup and working. It only took like 30-45 mins start to finish (in an app I already had written).
I didn't feel like it was too much setup.
If you just want Admob or adsense ads, then you certainly don't need to use AdWhirl. The main reason to use ad mediators and other ad networks is to get better paying ads (or make sure you get a higher fill rate).