Difference between admob and admob-v2, besides ads.height()

what’s the difference between the two? currently my corona is Version 2013.2100 (2013.12.7) i don’t know if I’m be able to use the admob-v2. What are the plus side of the v2.

Google will stop accepting new apps or updates to apps that use the old AdMob SDK on Aug 1, 2014.

You’ll need to update to Admob-V2 before then. 

See “Android (6.4.1 and earlier SDKs)” in the link below.

https://developers.google.com/mobile-ads-sdk/docs/rel-notes

One new feature added in admob-v2  plugin that is ads.height()  It return the height of the ad in content coordinates. This will only return the correct result after calling ads.show()

this ads.height is help to set ads position on Screen.

admob-v2  plugin uses the latest version of the AdMob SDK and only works with build 2014.2264 or later.

So you need to download latest build.

Regards,

Sptechnolab Team

I not understand, then, if default heigh is by example 50px, I can put 100px and Google accept these?

@aitor.10794
You can’t set the height. It’s read-only.

aham, Okay ingemar ,thank you very much :slight_smile:

AdMob V2 also supports preloading with .load() and you can check if the ad is loaded with the .isLoaded() API call.  See:  http://docs.coronalabs.com/plugin/ads-admob-v2/index.html

Rob

Google will stop accepting new apps or updates to apps that use the old AdMob SDK on Aug 1, 2014.

You’ll need to update to Admob-V2 before then. 

See “Android (6.4.1 and earlier SDKs)” in the link below.

https://developers.google.com/mobile-ads-sdk/docs/rel-notes

One new feature added in admob-v2  plugin that is ads.height()  It return the height of the ad in content coordinates. This will only return the correct result after calling ads.show()

this ads.height is help to set ads position on Screen.

admob-v2  plugin uses the latest version of the AdMob SDK and only works with build 2014.2264 or later.

So you need to download latest build.

Regards,

Sptechnolab Team

I not understand, then, if default heigh is by example 50px, I can put 100px and Google accept these?

@aitor.10794
You can’t set the height. It’s read-only.

aham, Okay ingemar ,thank you very much :slight_smile:

AdMob V2 also supports preloading with .load() and you can check if the ad is loaded with the .isLoaded() API call.  See:  http://docs.coronalabs.com/plugin/ads-admob-v2/index.html

Rob