// Creates a banner of the given type at the given position. This method requires an adUnitId and you must be updated to the new AdMob system.
 public static void createBanner( string iosAdUnitId, string androidAdUnitId, AdMobBanner type, AdMobLocation placement )
 {
     #if UNITY_IPHONE
     if( type == AdMobBanner.SmartBanner )
     {
         if( Screen.orientation == ScreenOrientation.LandscapeLeft || Screen.orientation == ScreenOrientation.LandscapeRight )
             AdMobBinding.createBanner( androidAdUnitId, AdMobBannerType.SmartBannerLandscape, (AdMobAdPosition)placement );
         else
             AdMobBinding.createBanner( androidAdUnitId, AdMobBannerType.SmartBannerPortrait, (AdMobAdPosition)placement );
     }
     else
     {
         AdMobBinding.createBanner( androidAdUnitId, (AdMobBannerType)type, (AdMobAdPosition)placement );
     }
     #elif UNITY_ANDROID
     AdMobAndroid.createBanner( iosAdUnitId, (AdMobAndroidAd)type, (AdMobAdPlacement)placement );
     #endif
 }
 // Creates a banner of the given type at the given position. This method does not take an adUnitId and will work with legacy AdMob accounts.
 public static void createBanner( AdMobBanner type, AdMobLocation placement )
 {
     createBanner( null, null, type, placement );
 }