Ejecta icon indicating copy to clipboard operation
Ejecta copied to clipboard

admob smart banner ? and refresh call ?

Open matrixreal opened this issue 10 years ago • 6 comments

hi,

  • i would like to knowhow to call a smart banner ? since lastest google sdk fix smart banner on ios7 and 8 i would like to know how to call it ? or how to set size width and height of the banner to smartoption ?
  • and for example in your fork to preload / load the banner you use ad.load(); and for show it you use ad.show(); ? right ? so i would like to know what is the call for refresh the ad ?

also is there a way to preload / load banner before show it for iAd ?

thanks

matrixreal avatar Apr 22 '15 20:04 matrixreal

the google admob sdk has changed , I've no idea about new sdk. I have to learn it first. So I cann't answer you now, sorry

finscn avatar Apr 23 '15 03:04 finscn

ok it not urgent thanks any way

matrixreal avatar Apr 23 '15 05:04 matrixreal

To use Smart Banners, you will need to use the constant kGADAdSizeSmartBannerPortrait or kGADAdSizeSmartBannerLandscape, like so:

// Use kGADAdSizeSmartBannerLandscape if your app is running in landscape. GADBannerView *bannerView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeSmartBannerPortrait]; In portrait mode on phones, this will make the ad view either 320x50 or 360x50 in size, depending on whether the device is widescreen. In landscape mode on phones, this will make the ad view anywhere from 480x32 to 682x32 depending on the height of the device.

When an image ad won't take up the entire allotted space for the banner, we'll center the image and use a hexagonal textile filler (see image) to fill up the remaining space. Note that AdSense backfill ads will be centered and have "transparent" filler.

maybe this will help you !!!

matrixreal avatar Apr 23 '15 13:04 matrixreal

@finscn any news about smart banner ? and what about how to use webview on ios?

matrixreal avatar Apr 25 '15 04:04 matrixreal

@finscn To use Smart Banners, you will need to use the constant kGADAdSizeSmartBannerPortrait or kGADAdSizeSmartBannerLandscape, like so:

// Use kGADAdSizeSmartBannerLandscape if your app is running in landscape. GADBannerView *bannerView = [[GADBannerView alloc] initWithAdSize:kGADAdSizeSmartBannerPortrait];

matrixreal avatar Apr 25 '15 13:04 matrixreal

@finscn any news about refresh call ? preload call ? ans show smart banner and hide banner? please i just need those 4 javascript call

matrixreal avatar May 03 '15 12:05 matrixreal