Need help with AdMob
Monkey Targets Forums/Android/Need help with AdMob
| ||
Hi, I'm a rookie to Android. I've just finish a game with the Playniax framework and want to make a free game with Ads. I've first tried chartboost without success and now i'll try AdMob. I just make an empty app and change AndroidManifest and main.xml with my adUnitId. I feel that the pub is in charge but I have nothing on the screen. Does anyone can help me? In the Build->Android->Lib>GoogleAdMobAdsSdk-6.2.1.jar AndroidManifest main.xml In my Debug Console : [codebox] E/CallbackProxy( 3772): mLatestProgress 10 newProgress 10 E/CallbackProxy( 3772): 2! mLatestProgress 10 newProgress 10 E/CallbackProxy( 3772): mLatestProgress 11 newProgress 11 E/CallbackProxy( 3772): 2! mLatestProgress 11 newProgress 11 E/CallbackProxy( 3772): mLatestProgress 17 newProgress 17 E/CallbackProxy( 3772): 2! mLatestProgress 17 newProgress 17 E/CallbackProxy( 3772): mLatestProgress 23 newProgress 23 E/CallbackProxy( 3772): 2! mLatestProgress 23 newProgress 23 E/CallbackProxy( 3772): mLatestProgress 29 newProgress 29 E/CallbackProxy( 3772): 2! mLatestProgress 29 newProgress 29 E/CallbackProxy( 3772): mLatestProgress 35 newProgress 35 E/CallbackProxy( 3772): 2! mLatestProgress 35 newProgress 35 E/CallbackProxy( 3772): mLatestProgress 38 newProgress 38 E/CallbackProxy( 3772): 2! mLatestProgress 38 newProgress 38 E/CallbackProxy( 3772): mLatestProgress 100 newProgress 100 E/CallbackProxy( 3772): 2! mLatestProgress 100 newProgress 100 </codebox] AdMob says that my app ask Ads (green light). |
| ||
are you using brl.admob that comes with monkey because you dont have to edit AndroidManifest and main.xml with that.I got this working without to much trouble there is a nice example in the docs |
| ||
Hi, I try with brl.admob but I did not see the docs :) I find them now. With that, I can do it. I'll let you know if I can not. Thanks a lot. |
| ||
I'm back. Thanks to you, it works fine. I really need to read the doc :) Just another thing: to test the device, I need a device ID. It is easy to get the ID of my device with monkey or other? It is a smartphone. It's not really important, but I'd just be careful not to click on ads. |
| ||
You don't need a device ID but the Admob ID. |
| ||
Yes, I already have my AdMob ID and I have my Ads on screen. It's works, it's works, it's ... a boy. I just need a Device ID to use AdMob in Test Mode like we do with "TEST_EMULATOR". But It's just for my test. Sorry for my bad english, I'm French :-p |
| ||
Edit: oops, wrong thread <:) |