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?
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.
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??
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!
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.
I will try that
What types of Ad you use?
Do you use banners?
Possibly, Init
method was changed, and you need to clearly indicate IDs.
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.
try implementing the IUnityBannerListener interface in your script where other listeners are implemented
Ok.
I will try that
I did that, but it still shows me that error. I don’t even use banner ads, I don’t get it.
Can you paste the script code in which you implement ads?
Try to clear all ads related stuff in your project manually before installing/ updating the new version. Source.