ADS are showing in editor but not on Android device

Hello!
I use Advertisement Legacy to show the ads in my game.
The issue I have is that in test mode, I can see the ads in the editor, but when I make a build and install it on my android device, the ads don’t show up.
I have this problem since I updated Advertisement Legacy to the newest version.
When I first implemented the ads it was all good.
Do you know how can I fix it?

1 Like

Are you talking about test ads, real ads, or both?

Unity forces developers to integrate Unity Ads via Unity LevelPlay (New Standard in Unity). The Unity Ads as Unity package will not be updated. It was announced a long time ago.

I guess Legacy Ads 4.12 is the latest bounty is in updating this Unity package that can have bugs.

1 Like

Hi!
I’m talking about both test and real ads.
I saw that i can use Ads Meditation, but I can’t find documentation on how to implement it.
It is more difficult to implement it than Ads Legacy??

1 Like

The docs for integration of Unity LevelPlay are terrible. The information is scattered in different sections and sometimes is out of date. I spent several weeks to understand how to integrate it into my AR Masker.

However, there is a tendency for improvement. So recently, it was released as a Unity Package in UPM and it became much convenient to update it.

There is one tip by me to build correctly: Errors while building for Android!

1 Like

So, the only solution is to use this package

And you don’t use unity cloud anymore??

1 Like

Were you able to capture the logs from your device?
If you are using Android then use Logcat to capture logs, they are really helpful in such situations.

2 Likes

I will try that

2 Likes

I think I found something :))

2 Likes

What types of Ad you use?
Do you use banners?

Possibly, Init method was changed, and you need to clearly indicate IDs.

1 Like

I don’t use banners. I only use interstitial and rewarded ads.

I also get this when I open the project: Unable to find java in the system path. This tool is required to process Android libraries. Please configure your JDK location under the ‘Unity Preferences > External Tools’ menu.

Do you have JDK installed?
Check if you installed JDK with your editor.
If you have installed it externally then you need to configure it.

1 Like

try implementing the IUnityBannerListener interface in your script where other listeners are implemented

1 Like

Ok.
I will try that

1 Like

I did that, but it still shows me that error. I don’t even use banner ads, I don’t get it.

1 Like

Can you paste the script code in which you implement ads?

1 Like

Try to clear all ads related stuff in your project manually before installing/ updating the new version. Source.