<script src="//media.admob.com/api/v1/google_mobile_app_ads.js"></script>
<script>
admob.events.dispatchAppEvent('log', 'loaded');
</script>
import UIKit
import GoogleMobileAds
class ViewController: UIViewController, GADAppEventDelegate {
@IBOutlet weak var bannerView: DFPBannerView!
override func viewDidLoad() {
super.viewDidLoad()
bannerView.adUnitID = "~id of 1x1 ad slot, configured to not to refresh~"
let adSize: GADAdSize = GADAdSizeFromCGSize(CGSize(width: 1, height: 1))
bannerView.validAdSizes = [NSValueFromGADAdSize(adSize)]
bannerView.rootViewController = self
bannerView.appEventDelegate = self
bannerView.loadRequest(DFPRequest())
}
override func didReceiveMemoryWarning() {
super.didReceiveMemoryWarning()
// Dispose of any resources that can be recreated.
}
func adView(banner: GADBannerView!,
didReceiveAppEvent name: String!,
withInfo info: String!) {
print("name: \(name), info: \(info)")
}
}
Hi there,Feel free to respond back with those details.
Thanks,Veer Busani
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
http://googleadsdeveloper.blogspot.com
https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.--
---
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I only see an email from googlegroups, what's your private email?