ios - AdMob Mediation with iAd -


I have a universal iPhone / iPad application for which I am using AdMob mediation. I want to request the first IAD, and then an advertisement mb if IAD fails. I have $ 1.00 for the IADM and the ECPM setting is $ 0.20. However, I'm getting an IAD filling rate of about 20%, I have tried many different ECMP settings without success, before integrating AdMob mediation in a recent application update, I was just using iAds and an iAd Filling is about 99% rate.

Is this happening because I am using a smart banner? What I believe supports the IAD Smart Banner. My app only supports portrait mode and the smart banner uses 320x50 for iPad and 768x90 for iPad. However, according to Apple's IAD programming guide, an IAD 768x66 is for an iPad.

Is there an incorrect smart banner size for IADs to fail? Based on my iTunes sales report, I have more iPad users than iPad users. What is the best solution to this problem? Should I stop using a smart banner, or should I change the size of GADBannerView as a program that the device has an iPad?

"itemprop =" text ">

create iAd , import AdMob SDK GADBannerView.h ) Import and

in your .h file> ADBannerView * iAd; ; - (zero) viewDidoadload {[Super Watchdog]; [Self-init banner]; } - (zero) initBanner {iAd = [[ADBannerView alloc] initWithFrame: CGRectZero]; IAd.currentContentSizeIdentifier = ADBannerContentSizeIdentifierPortrait; [Self.view addSubview: iAd]; NSLog (@ "IAD Loading ..."); } - (zero) bannerView: (ADBannerView *) banner didFailToReceiveAdWithError: (NSError *) error {iAd.hidden = Yes; NSLog (@ "IAD is failing ... running with AdMob"); GADBannerView * gAd = [[GADBannerView alloc] initWithAdSize: kGADAdSizeBanner]; GAd.adUnitID = @ "Your ID"; GAd.rootViewController = self; [Self.view addSubview: gAd]; [GAD Load Request: [GADRequest Request]]; }

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -