Hi,
I am integrating iOS SDK into a sample App, and while the project is building fine and all, I am seeing the ad load calls, but the ad loaded callback is not firing. My view is implementing MPInterstitialAdControllerDelegate.
Here is the callback:
- (void)interstitialDidLoadAd:(MPInterstitialAdController *)interstitial {
if (interstitial.ready) {
[self.interstitial showFromViewController:self];
}
else {
// The interstitial wasn't ready, so continue as usual.
}
}
The callback never gets called. On Debugging I see the response etc, and these are the log lines:
2017-06-08 14:42:15.672 UT - MoPub Ad Tester[16123:8565685] MOPUB: Interstitial controller is loading ad with MoPub server URL: https://ads.mopub.com/m/ad?v=8&udid=ifa:XXXX&id=258a67249XXXXXXXX&nv=4.14.0&o=p&sc=2.0&z=-0500&ll=37.785834,-122.406417&lla=5&llsdk=1&llf=216947&mr=1&ct=3&av=1.0&dn=x86_64&w=1536&h=2048&bundle=ravneetg.com.UT---MoPub-Ad-Tester&ats=1
2017-06-08 14:42:15.880 UT - MoPub Ad Tester[16123:8565685] MOPUB: Interstitial controller is already loading an ad. Wait for previous load to finish.
2017-06-08 14:42:16.271 UT - MoPub Ad Tester[16123:8565685] MOPUB: Interstitial ad view is fetching ad network type: mraid
2017-06-08 14:42:16.271 UT - MoPub Ad Tester[16123:8565685] MOPUB: Looking for custom event class named MPMRAIDInterstitialCustomEvent.
2017-06-08 14:42:16.271 UT - MoPub Ad Tester[16123:8565685] MOPUB: Loading MoPub MRAID interstitial
2017-06-08 14:42:17.922 UT - MoPub Ad Tester[16123:8565685] MOPUB: MoPub MRAID interstitial did load
I am seeing the sample Interstitial in case of Android SDK correctly, but nothing here, the callback never calls, so the call to interstitial show is never made.
What am I missing? Any help/tips would be appreciated.