Can't get Admob interstitials to appear
Banner ads are working great, but I can't get interstitials to appear. I've made sure that I have the correct ID on the page and have the ad set to appear at the start of frame, but it doesn't seem to be working at all. My first event is a Make Interstitial Request, and the next is Show Interstitial. Is there anything else I should be doing? I've tried everything I could think of and have also searched the forum but I haven't found anything for this problem. Anyone have any ideas?
1 Attachment(s)
Interstitial problem: hangs
I think I figured it out. sort of. There can't be anything in your frame, right? I thought I could have it appear over my frame, like banners do. But the only way I can get it to work is to have nothing at all in my frame-- literally a completely empty frame, not even anything off-screen. That's not terrible, but the problem is that I can not have it automatically go to another frame when the ad is destroyed. I did get it to work using "On Resumed Activity" --> jump to frame," but once it got to that frame, the frame didn't work.
Here is a picture of the only setup where the ad will display. Are there instructions for using Admob? I couldn't find any, just the info in the help file.
Attachment 12483
Problem Solved-- But There's a NASTY BUG!
Thanks for pointing me to that Examples folder; I never knew it was there!
But after several hours of testing I've got the problem solved. Unfortunately there's definitely a bug in MF and it's very easy for you to reproduce to test. In trying to figure out why my project was working, I made a simplified test (posted above). In order to see if the interstitials worked when there were objects on the screen I decided to add one object to the frame. "Counter" was what I just happened to click on to add. That was both very lucky and very unlucky. It was unlucky because I ended up spending all day trying to figure out why interstitials weren't working. Even when I got the sample project it still took almost four hours to figure out. The sample project worked, of course, but even when I went over my project matching every single setting to the sample, over and over and over, my project still didn't work. I even copied and pasted settings and events yet still, after I dismissed the ad my app would hang. It was crazy! You'd think that with such a simple project (the sample was much more complex than mine) it would be a problem. But no matter what I tried, my project would hang. Then I found the answer. When I had randomly chosen the Counter object that was unlucky, because it cost me a day of work, but LUCKY in that it identified a bug in MF: if you have a Counter object in the frame, even if it is off-screen, your app will hang when you click on a button after dismissing the interstitial ad. You can try it: load the example scene, go to the second frame (the interstitial one), and add a counter. It doesn't matter where you place it, on-screen or off, and it doesn't matter whether it's attached to any events or not. If you compile an app without the Counter it will work. With the Counter it will hang.
I was too brain fried to post this last night.
Update: Of course, now I have to figure out what's causing the problem in my actual project. I don't have the Counter object on that frame.