UnityAds doesn' t work anymore

Hi have a problem…

I have used UnityAds in some of my game and all worked fine, since i start using the new UnityAds plugin on the assets store(the previus plugin doesn’t still work)…
-I use the code from the docu page :
http://unityads.unity3d.com/help/Documentation%20for%20Publishers/Integration-Guide-for-Unity-Asset-Store
-If i try it on the pc it works great
-On my android tablet it doesn’ t

What the hell is wrong with this…
:rage::rage::rage::rage::rage::rage::rage::rage::rage::rage::rage:

We don’t know what’s wrong. What error messages do you get? What does “is doesn’t” mean? Do you get no ads at all?

Hi, i try to display the video ads using the test mode ( Advertisement.Initialize(“myid”,true); )
On the pc it work i see the blue picture that say “here would be your ad unit”
But on mobile it doesn’t display this picture.

up

Please don’t bump your thread. I asked you to provide more information and you did. That does not mean you get an instant response. If you need commercial levels of support, we provided that as a product you can purchase.

So, do you get any error messages reported? What does Xcode tell you? What about dab logcat? I’d expect those will give some error message from the Ads plugin which can help resolve this problem. The example script at:

https://unityads.unity3d.com/help/Documentation%20for%20Publishers/Integration-Guide-for-Unity-Asset-Store

is known to work on mobile devices. Does this work for you?

In the first post of this threads i said that i used the code in the docu (https://unityads.unity3d.com/help/D…shers/Integration-Guide-for-Unity-Asset-Store)
and on my computer it works (display the ads) but on my andorid device it doesn’t display the ads.
Don’t know what other info i can give to you sorry :confused:
I just remember that with the previus plugin i didn’t had this problem :confused:

Hi Belva,

Send a PM to me or to Nikkolai (unity-nikkolai) with your GameId and we’ll check what is going on.

Cheers,
Heikki

1 Like

For those encountering similar problems on Android:

The Unity => Android native bridge for android uses an object named “UnityAds” in the implementation. If you have a GameObject in one of your scenes that is called “UnityAds”, then the communication will fail (On android device).

In the next release we will change the communication bridge to be called something that you will not accidentally use in your scenes.

Heikki

2 Likes

Hello , I think I have the same issue with belva1234.
On Unity Editor no problem.
On Android device; no rewarded test video ads showing. Should I try with no-test.

Thank you Unity.

Sorry I didnt mention that I dont have such a object named “UnityAds”

EDİT: And I know ;

Unity Ads isSupported on device =true
Unity Ads isInitialized on device =true
Unity Ads isReady on device =true

Because there is no other way to play button appears in game.

Some how after clicking play button , unity editor shows a test ad but on android device it shows nothing and nothing happens.

if(canplayvideo)
        {
        Advertisement.Show(@"rewardedVideoZone", new ShowOptions {
                pause = false,
            // Handle the various result callback states.
            resultCallback = result => {
                switch (result)
                {
                case ShowResult.Finished:
                        PlayerPrefs.SetInt("VideoCommercialPlayed", 1);
                        PlayerPrefs.SetInt("StartingScore", PlayerPrefs.GetInt("ScoreInt"));

                        Debug.Log("is VideoCommercialPlayed");
                        Application.LoadLevel(2);
                    break;
                case ShowResult.Skipped:
                        PlayerPrefs.SetInt("StartingScore",0);
                        Application.LoadLevel(2);
                    break;
                case ShowResult.Failed:
                        PlayerPrefs.SetInt("StartingScore",0);
                        Application.LoadLevel(2);
                    break;
                }
            }
        });
    }

I now solved the issue,

I was using "Rewarded Video Placement (rewardedVideoZone) "
now I change it to default one “Video Placement(defaultVideoAndPictureZone).” and make this one default.

After doing some additional research, it turns out this issue of not being able to show ads for the rewardedVideoZone was due to a server-side inconsistency. This bug arose with the recent renaming of the incentivisedVideoZone to rewardedVideoZone, affecting only new game profiles created within the last week or so. We’ve corrected the issue with existing game profiles and will be pushing a fix ASAP for any additional new game profiles.

Thanks for reporting the issue!

1 Like

i have same problem adds doesn’t work on android mobile device. and there is no UnityAds gameObject and no video placement. just basic code that

if (Advertisement.isReady ()) {
Advertisement.Show();
}

works on unity editor,but android mobile waiting

Sounds like you’re looking at the old, deprecated documentation (noted at top of the page).

Take a look at these docs:
http://unityads.unity3d.com/help/Documentation%20for%20Publishers/Integration-Guide-for-Unity-Asset-Store

Also worth taking a look at this demo project:
https://github.com/wcoastsands/unity-ads-demo

Try building one of the scenes in that demo project to your device. If it still doesn’t work, send me your developer ID and your game ID in a private conversation.

Hello, I am having issue with unity ads on some android devices (one of tested is Samsung Tab s2) which shows no ads at all. Ads are working perfect on other mostly android phones and for iOS too.
There is no error from logs even. Please ask if you need more info on this.

What messages do you see from the Unity SDK in your logs?

Hello, i have the same problem, no error messages. Ads just not showed. When I start in Unity, everything is OK but on Android devices ads not showing.