[Unity 5.6.0f3] Problem in rewarded ads from Unity Ads (only for Unity ads, others networks working)

195 views
Skip to first unread message

romulo luiz

unread,
May 24, 2017, 4:41:38 PM5/24/17
to Google Mobile Ads SDK Developers
Hello, I have a problem in mediation with UnityAds!
At the moment I'm doing mediation with adcolony, applovin, chartboost and unityads.
Mediation is going well but just in unity ads when finishing an rewarded video the listenner OnRewardedCompleted is not triggered.
Already tested on all other networks and is working, only on unity ads not.

I noticed that the unity ads in unity only works using the SDK through services so only the adapter is in the lib

adapter version: 2.1.0.0
Google Mobile Ads Unity Plugin v3.5.0

I went through this problem in December 2016, but I decided not to use Unity Ads, but now I'm interested in coming back with Unity Ads and even with everything updated the error continues.


romulo luiz

unread,
May 24, 2017, 4:46:57 PM5/24/17
to Google Mobile Ads SDK Developers
The building is for Android

Joshua Lagonera (Mobile Ads SDK Team)

unread,
May 25, 2017, 1:24:03 AM5/25/17
to Google Mobile Ads SDK Developers
Hi there,

It is not recommended for you to use the UnityAds SDK from the Services tab of Unity if you wish to mediate with UnityAds. You would still need to include the UnityAds Android SDK into your Unity Project. You can find the steps in mediating with UnityAds on our official documentation, with a few steps changed when mediating using Unity3D.

That said, I was not able to replicate the issue when trying to mediate with UnityAds. Can you try and verify if you can replicate the issue using this modified sample app and your Ad Unit ID? The sample app I linked is already setup for mediation with UnityAds.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

On Thursday, May 25, 2017 at 4:46:57 AM UTC+8, romulo luiz wrote:
The building is for Android

xbarb...@gmail.com

unread,
May 25, 2017, 6:56:55 AM5/25/17
to Google Mobile Ads SDK Developers
Thanks!!! The problem was in using the services sdk!
For the UnityAds Android SDK works missing some lines in the AndroidManifest, 
I did not put it because the site did not warn, so Sdk did not get it and tried to go through the services
Now it is working normally, thanks

    <!-- Unity -->
    <activity
    android:name="com.unity3d.ads.adunit.AdUnitActivity"
    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
    android:hardwareAccelerated="true"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />
    <activity
    android:name="com.unity3d.ads.adunit.AdUnitSoftwareActivity"
    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"
    android:hardwareAccelerated="false"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen" />

xbarb...@gmail.com

unread,
May 25, 2017, 7:03:43 AM5/25/17
to Google Mobile Ads SDK Developers
I see in your sample app that you use the unity-ads.aar in Plugin/Android folder, i'm using the .jar in the libs with the addiction in the manifest


Em quinta-feira, 25 de maio de 2017 02:24:03 UTC-3, Joshua Lagonera (Mobile Ads SDK Team) escreveu:
Reply all
Reply to author
Forward
0 new messages