ludei / Construct-2-plugin

http://www.ludei.com
41 stars 35 forks source link

I can't get full screen ads to show up ever again after its closed. #58

Closed MichaelVParent closed 9 years ago

MichaelVParent commented 9 years ago

I have events that should show full screen ads at the beginning of many frame, but after the initial display and close, one never reappears.

Is there a very specific sequence of events per layout I need to get full screen ads to appear when I want, and not just once for the entire time the game is played? Thanks, Mike

ArcadEd commented 9 years ago

This is most likely a mopub issue and now CJS. Did you check your debug log and see why they are not showing up? Usually it's because Mopub couldn't fetch an ad.

MichaelVParent commented 9 years ago

But why can it almost always display the ad when the game starts, but never again? Shouldn't it show the same ad the next time I ask the game to display a full-screen ad?

It cant be a coincidence that it always shows at start, but never any other time. Its as though once it shows once, it will never show again.

Thanks, Mike

ArcadEd commented 9 years ago

That's a good point. I would still see what the debug says when an ad should show, might give you some idea.

MichaelVParent commented 9 years ago

once an ad is shown and closed, do I need a new load command, or is refresh and show ad enough?

ArcadEd commented 9 years ago

I usually have a timer running to preload fullscreen ad every 60 seconds, that way whenever I need to show it, it's already loaded. Not sure if that will help you.

MichaelVParent commented 9 years ago

These are some of the seemingly important errors etc from the log: 2015-01-01 21:55:21.415 Jumpanzi[9902:907] MOPUB: Interstitial controller is loading ad with MoPub server URL: http://ads.mopub.com/m/ad?v=8&udid=ifa:XXXX&id=470e84fda326477a8e39aab97c11bc8f&nv=3.1.0&q=FBATTRID:C359BD9E-2670-4F95-B746-C110FA0B8959&o=p&sc=2.0&z=+0100&mr=1&ct=2&av=182&dn=iPod4%2C1 2015-01-01 21:55:21.996 Jumpanzi[9902:907] MOPUB: Interstitial ad view is fetching ad network type: admob_full 2015-01-01 21:55:22.013 Jumpanzi[9902:907] MOPUB: Looking for custom event class named MPGoogleAdMobInterstitialCustomEvent. 2015-01-01 21:55:22.019 Jumpanzi[9902:907] MOPUB: Requesting Google AdMob interstitial 2015-01-01 21:55:22.371 Jumpanzi[9902:907] To get test ads on this device, call: request.testDevices = @[ @"b932b165e9ff599f0445a93e599595ae" ]; } 2015-01-01 21:55:34.030 Jumpanzi[9902:907] MOPUB: Google AdMob Banner failed to load with error: Request Error: Invalid ad request parameter(s). Check the Xcode console for details. 2015-01-01 21:55:34.043 Jumpanzi[9902:907] MOPUB: Banner view (7ccfa622dad648b8a2f020c62fa6a997) loading ad with MoPub server URL: http://ads.mopub.com/m/ad?v=8&udid=ifa:XXXX&id=7ccfa622dad648b8a2f020c62fa6a997&nv=3.1.0&q=FBATTRID:C359BD9E-2670-4F95-B746-C110FA0B8959&o=p&sc=2.0&z=+0100&mr=1&ct=2&av=182&dn=iPod4%2C1&exclude=c1c5a2e006a911e48a61123138070049&request_id=8fd52995b8a747e3a1f6d0357d12a721&fail=1 2015-01-01 21:55:34.804 Jumpanzi[9902:907] MOPUB: Banner ad view is fetching ad network type: iAd 2015-01-01 21:55:34.822 Jumpanzi[9902:907] MOPUB: Looking for custom event class named MPiAdBannerCustomEvent. 2015-01-01 21:55:34.832 Jumpanzi[9902:907] MOPUB: Requesting iAd banner 2015-01-01 21:55:45.070 Jumpanzi[9902:907] MOPUB: Banner view (7ccfa622dad648b8a2f020c62fa6a997) loading ad with MoPub server URL: http://ads.mopub.com/m/ad?v=8&udid=ifa:XXXX&id=7ccfa622dad648b8a2f020c62fa6a997&nv=3.1.0&q=FBATTRID:C359BD9E-2670-4F95-B746-C110FA0B8959&o=p&sc=2.0&z=+0100&mr=1&ct=2&av=182&dn=iPod4%2C1&request_id=8fd52995b8a747e3a1f6d0357d12a721&fail=1&exclude=c1c5a2e006a911e48a61123138070049&exclude=2e54136a0dc611e48b2d123138070049&fail=1 2015-01-01 21:55:45.955 Jumpanzi[9902:907] MOPUB: Banner ad view is fetching ad network type: clear 2015-01-01 21:55:45.978 Jumpanzi[9902:907] MOPUB: No ads found for ad unit: 7ccfa622dad648b8a2f020c62fa6a997 2015-01-01 21:55:46.126 Jumpanzi[9902:907] MOPUB: Banner view (7ccfa622dad648b8a2f020c62fa6a997) failed. Error: Error Domain=com.mopub.iossdk Code=0 "The operation couldn’t be completed. (com.mopub.iossdk error 0.)" 2015-01-01 21:55:46.996 Jumpanzi[9902:907] Received memory warning. IDTK_LOG_WARNING: [IDTK] Invoked in ludei::audio::AudioSystemOpenAL::deleteUnusedBuffers line 423: Deleted 0 unused audio buffers IDTK_LOG_WARNING: [JS] Invoked in void com::ideateca::service::js::JavaScriptServiceJSCore::applicationEvent line 956: Received memory warning 2015-01-01 21:55:48.354 Jumpanzi[9902:907] MOPUB: Google AdMob Interstitial did load

Any ideas?

MichaelVParent commented 9 years ago

With ArcadeEd's help I was able to update to the latest everything and get fullscreens ads working.