Hello there,
I'm planning to upgrade one of my games. It already has Amazon Ads implemented and working (I have received two payments so far). Problem is that that version of the game was created two years ago and the mobile ads sdk has changed drastically since then (I am not even sure if there was an official plugin back then).
Now, when I try to create a floating banner ad or interstitial ad, AdFailedToLoadListener event is called for both of the ads (and thus, ads are not shown). Test mode is enabled, so my geo position should not be a problem. My test device is Galaxy S3. I have also tried showing ads on another S3 located in US by means of a remote test lab but ads failed to load there, too. Here is a fraction of my implementation:
mobileAds = AmazonMobileAdsImpl.Instance; ApplicationKey key = new ApplicationKey(); key.StringValue = "REMOVED FOR SECURITY PURPOSES"; mobileAds.SetApplicationKey( key ); /*mobileAds.AddAdCollapsedListener( EventHandler ); mobileAds.AddAdDismissedListener( EventHandler ); mobileAds.AddAdLoadedListener( EventHandler ); mobileAds.AddAdExpandedListener( EventHandler ); mobileAds.AddAdFailedToLoadListener( EventHandlerFail ); mobileAds.AddAdResizedListener( EventHandlerResize );*/ ShouldEnable enable = new ShouldEnable(); enable.BooleanValue = true; mobileAds.EnableTesting( enable ); mobileAds.EnableLogging( enable ); // Configure placement for the ad Placement placement = new Placement(); placement.Dock = Dock.TOP; placement.HorizontalAlign = HorizontalAlign.CENTER; placement.AdFit = AdFit.FIT_AD_SIZE; // This method returns an Ad object, which you must save and keep track of current.banner = current.mobileAds.CreateFloatingBannerAd( placement ); mobileAds.CreateInterstitialAd(); mobileAds.LoadInterstitialAd(); current.mobileAds.LoadAndShowFloatingBannerAd( current.banner );
What would you recommend me to do in order to solve the issue?
Thank you very much,
Suleyman Yasir Kula