Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 4    Views: 154

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
09/10/13 12:33 PM (12 years ago)

Admob adds on ipad

Hey, got an app with admob. All is great on iphone, but on ipad its not ok. If its in landscape the adds don't even show up on the screen. if its in portrait its a really small add on the bottom corner (iPhone size add) How can I have it use another size for iPad? Thanks. Miguel
 
Black White
I hate code!
Profile
Posts: 292
Reg: Feb 22, 2012
hanoi
4,770
like
10/13/13 10:21 PM (12 years ago)
hi MadRod, today I'm try add AdMob (GoogleAdMobAdsSdkiOS-6.5.1) to my app (iOS) but not working error: This file requires ARC support how do you solved it ? help me pls thank you ! -Hoang
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
01/09/14 12:12 AM (11 years ago)
@MadRod- The standard ad size constant is - kGADAdSizeBanner. If you want the banner ad to fit for ipad and iphone you have to use different constant. I normally use this constant- kGADAdSizeSmartBannerPortrait. It works nicely both on iphone and ipad in portrait mode. In case of landscape mode, it works nicely on iphone but still few pixels are left on ipad in landscape mode but its ok since adsize automatically gets to larger size -- 768x90 px. @Black White- Some plugins use ARC support, some dont. In plugins which use ARC support dont release the bannerView_ in the (void)dealloc section.
 
RonBo
buzztouch Evangelist
Profile
Posts: 167
Reg: Feb 26, 2012
Raleigh, NC
5,220
like
03/24/14 07:53 AM (11 years ago)
I have gotten admob working on simple list menus in BT 3. The banner add sits at top or bottom and when the list menu scrolls, the ad stays on the screen. I would like to present the ads on the list menu screen itself so that it scrolls with the menu. Anyone know how to do this? I suspect I need to add to a different View controller but can't figure that out. The weather underground app shows how this works at the top of their forecast screen.
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
03/24/14 10:05 AM (11 years ago)
I dont know how to do that but it would be nice if you figure it out and post the solution here.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.