Android game with ads in Google Play

Hello,

I want to make a little android free game with ads, and post it on Google Play. Just that.

From what I have understood I have to pick a plug-in. A friend proposed me AdMob.

That’s ok.

But is there a step by step guide on:

1)How to implement it in your code?

2)How does the ad banner show in different resolutions and screen aspect ratios?

  1. Do I have to deal with google adsense? I have a banned account in adsense due to violation of TOS. and cannot use it anymore.

PS:I’m using the free version of Corona. Can I use in-game ads there?

The particular game, has a strong emotional connection for me, because it was inspired by my dad, who is 75 years old and has never played a game in his life. He just came to me and told me: “make a game where you do “this” and “this””. It’s a bit silly but I want to make his wish come true :slight_smile:

Starters can use the Admob plugin.

There’s a sample on Github where you can see how it’s implemented.

https://github.com/coronalabs/plugins-sample-ads-admob

There’s also a new version of the Admob plugin available, which you should use when creating new apps:

http://docs.coronalabs.com/plugin/ads-admob-v2/

The new version of the Admob plugin allows you to query the height of the banner ad returned which can help in the positioning of game objects. Otherwise I haven’t seen any issues with the banners. They scale nicely to different screen sizes and aspect ratios, so there’s nothing you need to worry about.

No Adsense needed, so you should be OK unless your account has been put on some sort of blacklist for other Google services as well.

Thank you. One last thing:

Where do I put my bank account details? In the admob website? And how is it related to my game ad banner? Do I get some kind of ID?

I haven’t checked the links, I ll do it just now.

After you’ve created an Admob account, you’ll need to register your app.

Every app gets a “publisher id”, and you’ll need to enter that id into your Corona app as described in the docs.

Bank details are entered into your Admob account profile (Payment Details section).

Thanks a lot ingemar!

Starters can use the Admob plugin.

There’s a sample on Github where you can see how it’s implemented.

https://github.com/coronalabs/plugins-sample-ads-admob

There’s also a new version of the Admob plugin available, which you should use when creating new apps:

http://docs.coronalabs.com/plugin/ads-admob-v2/

The new version of the Admob plugin allows you to query the height of the banner ad returned which can help in the positioning of game objects. Otherwise I haven’t seen any issues with the banners. They scale nicely to different screen sizes and aspect ratios, so there’s nothing you need to worry about.

No Adsense needed, so you should be OK unless your account has been put on some sort of blacklist for other Google services as well.

Thank you. One last thing:

Where do I put my bank account details? In the admob website? And how is it related to my game ad banner? Do I get some kind of ID?

I haven’t checked the links, I ll do it just now.

After you’ve created an Admob account, you’ll need to register your app.

Every app gets a “publisher id”, and you’ll need to enter that id into your Corona app as described in the docs.

Bank details are entered into your Admob account profile (Payment Details section).

Thanks a lot ingemar!