The ADBannerView class provides a view that displays banner advertisements to the user. When the user taps on a banner view, the view triggers an action programmed into the advertisement. For example, an advertisement might show a movie, present an additional modal advertisement, or launch Safari to show a web page. Other actions are possible.
Questions tagged [adbannerview]
224 questions
1
vote
1 answer
Ads not showing on iPhone5
i am showing adds in my app, but adds are not showing in iPhone5 device only showing in simulator.
i am using code like this -
-(void)showAdds
{
{
if ((UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad))
{
bannerView =…

Rajpal Thakur
- 355
- 2
- 15
1
vote
1 answer
iAd ADBannerView detect unloading
If you add an ADBannerView you can detect when it loads an AD from its delegate function:
- (void)bannerViewDidLoadAd:(ADBannerView *)banner {
This can be helpful if you have views below the banner that you need to move or resize when the banner…

ksn
- 623
- 2
- 6
- 18
1
vote
1 answer
Admob: Load request again when first request failed?
Does it make sense to send another request by calling loadRequest if the first one failed? Maybe inside didFailToReceiveAdWithError? Or does the Admob code handle this itself?
Thanks!

user1543946
- 43
- 5
1
vote
1 answer
iOS - ADBannerView not shown on final version
I inserted the adBannerView in an iphone app. I follow the apple examples described on documentation. when App runs in debug mode the ads are shown correctly (Test version), but in the release version, when real users use the app I see a white box…

tylyo
- 572
- 5
- 16
1
vote
0 answers
iAD disapearing when seguing to modal view
I have a unique viewController for landscape mode, the problem is that when I segue to the landscape view controller (modal segue) the iAD disapears and it seems to stop receiving delegate methods as well. Only when I tap the tab bar to go to…

Tom Lilletveit
- 1,872
- 3
- 31
- 57
1
vote
1 answer
AdBanner not showing in simulator
When I run the app in the simulator, all I get is a white window at the bottom of the screen which is where I placed the banner but then it disappears after 3 seconds...
This is the code I have in my .h file for iad:
#import
#import…

user2721311
- 21
- 1
- 5
1
vote
1 answer
Suggestions on how to implement adbanner on different screens ?
i have an adbanner on my first screen (ViewController) and i was wondering what would be the best possible way to implement adbanners on my other screens (ViewControllers) so that my app doesnt get rejected by apple just because i did it wrong - i…

user2459150
- 89
- 8
1
vote
0 answers
set admob size for landscape mode in split viewcontroller
I am trying to add the Ads from google Admob, I have gone through the documentation and found that we can set the custom size for the ads banner.
I have done it in this way
int Ad_y;
int iphone_5Hgt = 548;
int iphoneHgt = 460;
…

Bhavin Kansagara
- 2,866
- 1
- 16
- 20
1
vote
1 answer
AdBannerView proper implementation to multiple view controllers
Currently have I implemented iAd and AdMob to each and every view controller in my Xcode project. I have about 6 view controllers and every time I switch back and forth between them one adbanner disappear and another appears. I want to make only one…

Peter
- 1,848
- 4
- 26
- 44
1
vote
0 answers
Struggling with integrating iAd
I have a tab bar application which have table views as sub views. I need to show ad banner at bottom just above the tab bar. The ad banner sometimes is seen and sometimes not for a long time. Sometimes it leaves the white view when as not available…

user2268539
- 173
- 2
- 3
- 14
1
vote
1 answer
iAd banner partially obscured by main view
This is my first time implementing iAd, so it is probably a newb mistake. In my app delegate I initialize an iAd banner view and assign it to a delegate property, then in my View Controller I add it as a subview to the view, then add the main view…

Jay Imerman
- 4,475
- 6
- 40
- 55
1
vote
3 answers
iAd banner rotates my view to landscape
Views in my app are portrait only - my view controllers and the root view controller both ensure that they only rotate to portrait orientations using both shouldAutorotateToInterfaceOrientation: and supportedInterfaceOrientations in order to support…

Luke
- 7,110
- 6
- 45
- 74
1
vote
0 answers
iAD best practices for shared AdBannerView's and animated transitions
I have a global ADBannerView that I show on most of my top-level Views. When each view loads, it does a -removeFromSuper on the adBanner, then adds it as a subview.
However, when animating from one top-level view to another, this causes the ad to…

Dale
- 133
- 1
- 7
1
vote
3 answers
Is Admob's new SDK compatible with cocos2d?
Admob released new SDK v6.2.1, and for the past few days i've been trying to implement it without success.
There is something wrong with google analytics addon main.m in the SDK:
Error 1: Stray '@' in program
Error 2: 'autoreleasepool'…

GameDevGuru
- 1,095
- 2
- 12
- 27
1
vote
0 answers
ADBannerView touch disabled
It's 3 days I'm trying to resolve a problem in my app.
I have an ADBannerView (added programmatically) that correctly displays ad, but when I click it, nothing happens (it seem like disabled).
Here's the result of
-…

guidev
- 2,695
- 2
- 23
- 44