question

AppyNation Ltd. avatar image
AppyNation Ltd. asked

[Unity iOS Plugin] Interstitials not loading with new plugin

All was good when using the old plugin (Dec 14) but now with the new plugin (Aug 15) I cannot load an interstitial at all on iOS although banners work everytime. I have testing enabled and geo location disabled. 2015-10-20 11:53:24.474 amazonmobileads[1499:688411] AmazonAd: Ad view (0x1705ce90) received valid response from AAX server. 2015-10-20 11:53:24.476 amazonmobileads[1499:688411] AmazonAd: Interstitial Ad manager (0x1705ce90) received ad payload data string {"noretryTTL":10,"instrPixelURL":" http://aax-eu.amazon-adsystem.com/x/px/p/KUCJuOhkQb0HZ5aeblPjKg/","errorMessage":"no results","errorCode":"503","status":"error"} 2015-10-20 11:53:24.477 amazonmobileads[1499:688411] -[NSError init] called; this results in an invalid NSError instance. It will raise an exception in a future release. Please call errorWithDomain:code:userInfo: or initWithDomain:code:userInfo:. This message shown only once. 2015-10-20 11:53:24.480 amazonmobileads[1499:688411] AmazonAd: submitMetrics with URL http://aax-eu.amazon-adsystem.com/x/px/p/KUCJuOhkQb0HZ5aeblPjKg/%7B%22lac%22%3A1%2C%22al%22%3A210%2C%22i_tfl%22%3A302%2C%22c%22%3A%22msdki%22%2C%22lfc%22%3A1%2C%22ttl%22%3A1%7D 2015-10-20 11:53:24.480 amazonmobileads[1499:688411] Interstitial failed to load. 2015-10-20 11:53:24.515 amazonmobileads[1499:688411] AmazonAd: Sending metrics to AAX succeeded.
mobile ads
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi AppyNation, Are you still experiencing this issue? Please let us know and we'd be happy to dive into the root cause. We have not heard of any similar issues at this time.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AppyNation Ltd. avatar image
AppyNation Ltd. answered
Yes, still the same. Note that I can only test with old framework (see thread https://forums.developer.amazon.com/forums/thread.jspa?messageID=24848愐). To reproduce get this zip and extract to a new Unity Project. https://dl.dropboxusercontent.com/u/46041424/UnityProjectWithOldFramework.zip Build for iOS and open in Xcode. Build and run. Click Init first. LoadAndShowBanner works. RemoveBanner works. LoadInterstitial fails with this message. What does the error message tell you? 2015-11-06 08:34:51.316 amazonmobileads[235:27621] AmazonAd: Ad view (0x190ae940) received valid response from AAX server. 2015-11-06 08:34:51.316 amazonmobileads[235:27621] AmazonAd: Interstitial Ad manager (0x190ae940) received ad payload data string {"noretryTTL":10,"instrPixelURL":" http://aax-eu.amazon-adsystem.com/x/px/p/7IAmWvDCtztk3brc7pyTgA/","errorMessage":"no results","errorCode":"503","status":"error"} 2015-11-06 08:34:51.317 amazonmobileads[235:27621] AmazonAd: submitMetrics with URL http://aax-eu.amazon-adsystem.com/x/px/p/7IAmWvDCtztk3brc7pyTgA/%7B%22lac%22%3A1%2C%22al%22%3A67%2C%22i_tfl%22%3A85%2C%22c%22%3A%22msdki%22%2C%22lfc%22%3A1%2C%22ttl%22%3A1%7D 2015-11-06 08:34:51.318 amazonmobileads[235:27621] Interstitial failed to load. 2015-11-06 08:34:51.350 amazonmobileads[235:27621] AmazonAd: Sending metrics to AAX succeeded.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Hi AppyNation, Thanks again for your patience and sharing your source! I just tested your sample project with testing enabled and testing disabled and had no issues displaying interstitial. Your error may have been the result of the ad's failing to fill_rate and fulfillment based on where you are requesting the ads from geographically. Please see this knowledge base article for more information: https://forums.developer.amazon.com/forums/thread.jspa?threadID=5224
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AppyNation Ltd. avatar image
AppyNation Ltd. answered
I'm in the UK. It turns out that if I disable testing then I can get interstitials. Why can't I get test ads? Surely there should be no problem getting test ads?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justin avatar image
justin answered
Thanks AppyNation, This definitely shouldn't be the case! I'll look over your sample project with this and see if it's anything to do with the initial setup for this -- I did notice you do not declare you a single reference to your AmazonMobileAdsImpl.Instance, but I don't think that should affect your results. [code]IAmazonMobileAds mobileAds = AmazonMobileAdsImpl.Instance;[/code]
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Andrew@Amazon avatar image
Andrew@Amazon answered
The new plugins for the Cross-Platform Engines have been released. You can find the information about the release here: https://forums.developer.amazon.com/forums/thread.jspa?threadID=10039&tstart=0 And you can download the new zip from the Mobile Ads page on the developer portal: https://developer.amazon.com/public/apis/earn/mobile-ads Could you try with this new plugin and let me know if you are still having the issue loading test ads?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AppyNation Ltd. avatar image
AppyNation Ltd. answered
I got the new SDK. I couldn't get any interstitials in testing mode. I've seen a couple of interstitials in non-testing mode, but now I can't get any more now. 2015-12-09 10:57:40.679 amazonmobileads[1804:1461517] AmazonAd: AMAInterstitialAdManager (0x15eb4140) received valid response from AAX server. 2015-12-09 10:57:40.680 amazonmobileads[1804:1461517] AmazonAd: Interstitial Ad manager (0x15eb4140) received ad payload data string {"noretryTTL":10,"instrPixelURL":" http://aax-eu.amazon-adsystem.com/x/px/p/QX62mxb-TdERmHwqo7UvS3EAAAFRhmOyNwMAAA-gGplQog/","errorMessage":"no results","errorCode":"503","status":"error"} 2015-12-09 10:57:40.681 amazonmobileads[1804:1461517] AmazonAd: AMAInterstitialAdManager (0x15eb4140) failed to get a valid response from AAX server. Error: Error Domain=AMAdManagerError Code=1 "Try again in 9.999931 seconds." UserInfo={NSLocalizedDescription=Try again in 9.999931 seconds.} 2015-12-09 10:57:40.684 amazonmobileads[1804:1461517] AmazonAd: submitMetrics with URL http://aax-eu.amazon-adsystem.com/x/px/p/QX62mxb-TdERmHwqo7UvS3EAAAFRhmOyNwMAAA-gGplQog/%7B%22c%22%3A%22msdki%22%2C%22i_adrc%22%3A1%2C%22i_tfl%22%3A312%2C%22ttl%22%3A1%2C%22al%22%3A276%2C%22lfc%22%3A1%2C%22lac%22%3A1%7D 2015-12-09 10:57:40.688 amazonmobileads[1804:1461517] Interstitial failed to load.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.