Update to the newest SDK Admob - android

I have bought an android source code that includes Admob ads yet the ads does not show up so i asked the source code publisher it appears that it is using some old Admob SDK or something. The developer wants me to pay more so that he updates the source code. And that is not fair :/. Would you please help me learning to do it myself. I looked into the libs the source code is using GoogleAdmMobAdsSdk-6.4.1.jar. So how do i update to latests Admob SDK so that the ads show up.

You will need to modify the code.
Start with the Admob developer resources.
https://developers.google.com/admob/android/quick-start

Thank you but i found the answer. What should be done is deleting the old SDK and every single code integrated in the java of that old Admob and then integrate the new sdk and code :)

Related

android - using AdMob in eclipse

I know there are different questions to this task, but I don't get much information about it.
I found out that AdMob is part of firebase now, but there's a way to use it without firebase. Besides there are no tutorials or information about eclipse - is it necessary to use Android Studio or is it just not documented?
Actually it does not matter if it is part of Firebase, because all of it belongs to the Google Play Services. To get the AdMob classes, you just need to add com.google.android.gms:play-services-ads:10.0.1 to your build.gradle file (see the full list of all possible services here) which already explains your second question.
Android development in Eclipse is not supported any more. There is no Eclipse plugin any more. Google forces you to take Android Studio now.

failed to Implementing google adsense in my android app

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.

How can I set up AdWhirl in the Android 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

How do I use Admob on the Android OS?

Using AdMob, how can I give an advertisement in an Android Application?
For AdMob Android App Integration
Register or login at admob.com, and click 'Sites & Apps".
Click "Add Site/App", and provide the info for your Android App. (Feel free to enter placeholder information if you just want to download the SDK without registering a real app.)
Once you've added your site, you will be prompted to download the Android SDK and the integration PDF.
The download includes the binaries, documentation, and a sample.
Review the integration PDF at http://www.admob.com/docs/AdMob_Android_SDK_Instructions.pdf
Read index.html for information on the AdMob SDK's classes and methods
Look at the Lunar Lander sample project to see a working example
For more info you should check http://developer.admob.com/wiki/Android
Note: Description for you app/site on admob is very important, they use all info that appear there to provide your advertisement.
UPDATE: Now is called Google Mobile Ads SDK https://developers.google.com/mobile-ads-sdk/download
and for Admob https://www.google.com/ads/admob/monetize.html
Some more info that may help is this Question. You have to make sure that the AdMob view is at least 320dip, if it is not, you will never see an ad in your application.

How to add REAL ADS for admob? Android

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.

Categories

Resources