I think that I setup the code for the Banner Ad correctly but the is is not showing up when I run the application in the simulator or on my iPhone.
@IBOutlet var BannerAD: GADBannerView!
@IBOutlet var ScoreLabel: UILabel!
var taps = Int(){
didSet {
if taps == 330 {
print("You have reaches 5 taps !!")
}
}
}
override func viewDidLoad() {
super.viewDidLoad()
//BannerView
let request = GADRequest()
request.testDevices = [kGADSimulatorID]
BannerAD.delegate = self
BannerAD.adUnitID = "ca-app-pub-1469592343938512/3073825187"
BannerAD.rootViewController = self
BannerAD.loadRequest(request)