Advertisement Legacy doesn't work on Android build but works fine in Editor

This is my first time integrating ads, so I followed a YouTube tutorial for interstitial ads. The ads worked perfectly in the editor, but when I built the Android app and tested it on my phone, no ads were displayed. I tried searching for solutions online, but none of them worked.

  • I have used the initialization and interstitial ads scripts provided in the Unity documentation as is.
  • Under the mediation partners section, I selected the “I only use Unity Ads” option.
  • All the SDKs and JDKs were installed using Unity.
  • There are no errors in the editor console.
  • The Unity version I am using is 2022.3.51f1.
  • The Android Game ID has been correctly assigned in the Ads initialization script.
  • I have tried with testing mode enabled and disabled both but none worked.

Did I miss something or do something wrong here? Any help on this topic would be appreciated. Thanks!

Hi, did you manage to resolve this issue? I am having the same problem but i am using Unity 6 (6000.0.47f1). I believe my issue is down to the listeners not being set because whatever button i tie to the show banner method/function it gets disabled on the android device. I am trying a few workarounds to see what the actual issue is but in general it seems to load up the ad service as the UI text i created to output whereabouts it is seems to say the ads were loaded, it is just the banner ad never gets triggered as the method seems to disable the button so i can’t actually start to play the game where the banner will be shown.

I will edit this comment if i find the solution, i believe it might be the same issue although we are using different versions.

Could you add your device log?

Sadly I wasn’t able to find a fix so had to go with ironsource instead