Questions tagged [adbannerview]

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.

224 questions
21
votes
1 answer

iOS9 self.canDisplayBannerAds = true is not showing any ads

Very simple iAd code: import UIKit import iAd class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() self.canDisplayBannerAds = true } override func didReceiveMemoryWarning() { …
Mehmet
  • 333
  • 2
  • 10
15
votes
1 answer

iOS/Swift: more than 10 instances of ADBannerView

I am getting this warning after 10 screenviews. More than 10 instances of ADBannerView or ADInterstitialView currently exist. This is a misuse of the iAd API, and ad performance will suffer as a result. This message is printed only once. I…
Daniele B
  • 19,801
  • 29
  • 115
  • 173
14
votes
10 answers

iOS AdMob ads not showing up unless on Test Device

I have followed the tutorial provided by Google here: https://developers.google.com/mobile-ads-sdk/docs/admob/ios/quick-start in order to setup admob banner ads. My code is exactly how it is shown in the guide from the link above, so when I run the…
Mike Simz
  • 3,976
  • 4
  • 26
  • 43
11
votes
2 answers

Is there income inequality by admob ad types

I had 3 ad type in my application. rewarded ad with the most impressions but somehow even banners earn more than rewarded ads. Rewarded ads impressions 3 times more than interstitial but same earnings. for the first few weeks, there was no such…
6155031
  • 4,171
  • 6
  • 27
  • 56
11
votes
3 answers

Swift iAd - More than 10 instances of ADBannerView warning and CGAffineTransformInvert: singular matrix output

So I am trying to set up a simple iAd banner in my application but I am getting these two warnings in the output: WARNING: More than 10 instances of ADBannerView or ADInterstitialView currently exist. This is a misuse of the iAd API, and ad…
Luke Martin
  • 395
  • 4
  • 14
10
votes
2 answers

iAd Banner is not working

I'm trying to get a banner in my app, but since I added the banner, the app won't start. I get an error saying: Terminating app due to uncaught exception 'NSInvalidUnarchiveOperationException', reason: 'Could not instantiate class named…
Mangy92
  • 621
  • 1
  • 10
  • 25
9
votes
2 answers

AdMob event when Banner ad is clicked

I have integrated AdMob banner ads in my iOS app which is made for kids. App got rejected from App store review process with following message: You have selected the Kids category for your app, but it includes links out of the app or engages in…
PlusInfosys
  • 3,416
  • 1
  • 19
  • 33
8
votes
2 answers

AdMob Refresh Requests

I have several questions that I'm confused with: Who is best responsible for ad refreshing? After I load the request bannerView.load(GADRequest()) is it best practice to let the developer or Google monitor it? Should the refresh times be as little…
Lance Samaria
  • 17,576
  • 18
  • 108
  • 256
8
votes
1 answer

iAd in xcode 6 with Swift

I'm working to implement a banner ad in the scene, but it always reports "Thread 1: EXC_BREAKPOINT(code=EXC_ARM_BREAKPOINT, subcode=Oxdefe) and the program stops running. I referenced Mr. T's answer in another question about iAd("Swift -…
Benzene
  • 161
  • 1
  • 9
8
votes
1 answer

ADBannerView fails to receive ad with error 'The operation couldn’t be completed. Ad inventory unavailable'

I started to implement iAd into a new App yesterday. But getting the error from the question title since then. Anyone know how I can fix it? I've read here that it might be Apples fault. But since that thread is pretty old and I couldn't find any…
CGee
  • 1,650
  • 5
  • 20
  • 31
7
votes
1 answer

How does Apple count impressions of iAd banners?

How does Apple count impressions of iAd banners. I realise that this is not specifically a programming question, but it affects implementation of iAds drastically. I am using a shared banner instance-the same banner on all view controllers. I have…
potato
  • 4,479
  • 7
  • 42
  • 99
6
votes
2 answers

Could not instantiate class named ADBannerView

i am trying to inset an iad banner at the bottom of my app but keep getting errors after following tutorials. code as follows. @interface DMKHomeViewController (UIViewcontroller ) { } @end @implementation…
MikeAsp
  • 147
  • 1
  • 12
6
votes
1 answer

iAd banner gone after dismissModalViewControllerAnimated

In my app delegate, I instantiate an iAd banner and assign it to a delegate property, then I load the main View Controller. In the main View Controller, I add the iAd banner as a subview, and also instantiate a "Main Menu" view controller and add…
Jay Imerman
  • 4,475
  • 6
  • 40
  • 55
5
votes
1 answer

How to make iAd to be viewed globally in my app?

I am developing an application where i have to show iAds in all the pages of my application.. I created a subclass of UIView where i am initializing the the ADBannerView and its delegate methods. But now if I add it in window in AppDelegate class it…
Shreya
  • 198
  • 1
  • 12
5
votes
2 answers

iOS 9 - Ad inventory unavailable

After updating to Xcode 7 and building my app in iOS9, iAds stopped working and I get this error in bannerView didFailToReceiveAdWithError: Ad inventory unavailable. Any ideas? EDIT: iAds are now working. Apple must have fixed it after we filed…
Mark
  • 2,666
  • 3
  • 25
  • 29
1
2 3
14 15