This is a tutorial for using Google adMobs in your AndEngine projects on Eclipse without XML.
Firstly, there are other posts on this , however, I did not find one that worked clearly and completely for me so I'm posting here (Maybe I just found them difficult to understand )
You must sign up to adMobs, it is free and only takes a little while. You will need your address and some way to recieve payment: I used direct transfer to bank; not certain of the other options.
* I suggest you design your apps with ads in mind so they have a good fit in your app, and also look at the available sizes of ads.
Get the SDK and follow the instructions here to add it to your project.
* Download the SDK, add it to your project and change the manifest
* MAKE SURE you update the android:configChanges - will cause errors without these
Get your Publisher ID from the adMob website: click here and follow the simple steps.
Now in your Main activity use the code:
Add your device, if you are using one (I was, so I don't know about the emulator), as a test device . If you click your own ads, even just to test them, you will face the consequences .
To find out your device ID you must use the Old LogCat and follow these instructions.
When you need to show and hide your ads : click here
That should have covered everything , but if you have anything else to add please do .
If anything is wrong please post it here and I will edit the post too .
That is all I know, I hope it helps