nabrozidhs / unity_admob_android

Basic Unity3D plugin for AdMob Google Play Services version.
MIT License
25 stars 13 forks source link

Banner resize #10

Closed LecsoBKW closed 10 years ago

LecsoBKW commented 10 years ago

Hello! I use your plugin. I use in MainCamera the Plugin/Admob/Ad Mob Plugin.cs and Scripts/Menu.cs I would like ask that, how can I replace and resize the banners? And if I use Interstitial, that isn't work.

I'm waiting your reply. Thank you!

nabrozidhs commented 10 years ago

Have you tried using the AdSize enum? The possible values are: BANNER, MEDIUM_RECTANGLE, FULL_BANNER, LEADERBOARD, SMART_BANNER.

As for the interstitials you first need to register yourself to the InterstitialLoaded events, then pass your interstitial id to CreateBanner( ... ) and now you can call RequestInterstitial(). Once you receive a notification that the ad is loaded (via InterstitialLoaded) you can now show the ad to the user with ShowInterstitial().

nabrozidhs commented 10 years ago

@LecsoBKW did my previous comment help?

nabrozidhs commented 10 years ago

I'm closing this since I haven't heard back :'(