Search Unity

Unity Monetization 3.0 - Display (interstitial) ads do not execute the callback method

Discussion in 'Unity Ads & User Acquisition' started by yourstoryinteractive, Oct 30, 2018.

  1. yourstoryinteractive

    yourstoryinteractive

    Joined:
    Mar 27, 2017
    Posts:
    49
    Just switched to Monetization 3.0 SDK and I'm getting reports from players that the static image ads (Display type), on close, will not resume the game. From the videos where this issue can be seen, I can guess that the ad does not execute the callback method which should resume the game.

    Unfortunately, I am unable to test this on my own devices as there are no Display ads available for my region and using the "test" mode will simply show a test "video" ad.

    This is the code that I'm using to show Display ads.

    ShowAdCallbacks options = new ShowAdCallbacks();

    options.finishCallback = UnityAdsCallback;

    ShowAdPlacementContent ad = Monetization.GetPlacementContent("interstitial") as ShowAdPlacementContent;
    if (ad != null)
    {
    ad.Show(options);
    }
    else
    {
    UnityAdsCallback(ShowResult.Failed);
    }

    Anyone having the same issue?
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    Can you share what you're doing in your UnityAdsCallback method?

    Do other ad types work, aside from display?

    What version of Unity are you using?

    Do you know the scripting backend you are using: Mono or IL2CPP?
     
  3. yourstoryinteractive

    yourstoryinteractive

    Joined:
    Mar 27, 2017
    Posts:
    49
    Do other ad types work, aside from display? - Yes
    What version of Unity are you using? - 2018.2.13f1
    Do you know the scripting backend you are using: IL2CPP

    private static void UnityAdsCallback(ShowResult result)
    {
    switch (result)
    {
    case ShowResult.Finished:
    EventManager.Instance.BroadcastEvent(onAdsProviderAdSuccess);
    break;

    case ShowResult.Skipped:
    EventManager.Instance.BroadcastEvent(onAdsProviderAdSkipped);
    break;

    case ShowResult.Failed:
    EventManager.Instance.BroadcastEvent(onAdsProviderAdFailed);
    break;
    }
    }
     
  4. appslr8

    appslr8

    Joined:
    Sep 15, 2017
    Posts:
    1
    I am facing a similar situation where my game does not resume after ad completes playing
     
  5. samvermeirVRT

    samvermeirVRT

    Joined:
    Oct 11, 2019
    Posts:
    1
    Have you found any solution to this problem?
    i'm facing the same problem and it is really annoying.
    Is it a good solution to replace it with a "reward video", because that one does use the callbacks?