User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Can't get Admob interstitials to appear

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export Module

    Join Date
    Sep 2006
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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?

  2. #2
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export Module

    Join Date
    Sep 2006
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Progress: I got the ads to appear. New Problem: The app seems to hang when I do anything after the ad is dismissed.

    To get them to appear, I didn't realize there was an Event called "Interstitial is Ready." Since you don't need an Event to display banner ads, I hadn't thought to look for an Event for Interstitials. So the way to do it is at the start of the frame, do a "Make Interstitial Request." Then have an Event for "Interstitial is Ready" with the action "Show Interstitial."

    As I said though, now that I have the ad showing up, I can't do anything once it's gone. After I dismiss the ad, if I click on one of the buttons (to go to another frame) the button just stays highlighted and the app freezes. The background music still plays, and it stays playing even when I leave the app. Still working on this one...

    Update: What it really seems to be is that I can't leave the frame. I can do things within the frame, like erase the high scores, but as soon as I click a button to go to another frame it hangs.

  3. #3
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    uhmmm?, not here, but just in case can you destroy the ads before jump? tell me if stop hanging
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  4. #4
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export Module

    Join Date
    Sep 2006
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(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.

    interstitial_problem.jpg

  5. #5
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    no, even the example have button and counter (orange frame)
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  6. #6
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export Module

    Join Date
    Sep 2006
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Fernando,
    Where is the example? Is it supposed to be in the Help file? Mine doesn't show any examples, it just has two names of samples. Or am I missing something on the forum somewhere?

    Anyway, here is a sample of how my Interstitial is set up. Put a valid ID in and try it when you get a chance. By the way, my Admob object is v1.01. And I'm testing on a Nexus 5 with KitKat.

    Interstitial_Test.mfa

  7. #7
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    go to help --- examples --- AdMob (directory) inside the example
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  8. #8
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export Module

    Join Date
    Sep 2006
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  9. #9
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform Export Module

    Join Date
    Sep 2006
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's maddening. There's just SOMETHING with the Admob object that does not play nice with many of the other objects. I don't have the counter in my frame but I have various text strings, a list, an INI, and a couple of Question & Answer objects. If I delete most of the items, the interstitial works correctly. But I can't narrow it down. It seems possible that it's the interaction of more two or more items that's causing the problem. But since we now know that the Counter object is one of the culprits, can someone at Clickteam check it out to see if what's causing that bug might have an effect on other objects?

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,784
    Mentioned
    298 Post(s)
    Tagged
    4 Thread(s)
    1.- in your example you have a condition triggering in every loop after the interstitial is received (is not a true event, green) asking to show interstitial

    i recommended you to use two condition

    is Interstitial Ready?
    Run this Event Once


    but here is the apk i built with the example

    https://dl.dropboxusercontent.com/u/...%20Android.apk

    here is the mfa

    https://dl.dropboxusercontent.com/u/...Mob_FUSION.mfa

    using a list, a text, a counter, buttons

    Attention that will set scroll-top in the list every time you ask to show interstitial and when the application resume it will go to line 3

    i works correct here.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. How can use admob ads in ios?
    By kiko in forum iOS Export Module 2.5
    Replies: 9
    Last Post: 6th January 2016, 10:04 PM
  2. ID Admob
    By Nioki in forum Android Export Module 2.5
    Replies: 5
    Last Post: 23rd February 2014, 05:59 AM
  3. AdMob with new AdMob
    By Aeolian in forum Android Export Module 2.5
    Replies: 5
    Last Post: 6th February 2014, 02:20 PM
  4. Admob
    By animdude in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 14th August 2013, 10:25 PM
  5. Using Admob
    By HadHaw in forum Android Export Module Version 2.0
    Replies: 13
    Last Post: 19th July 2013, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •