Unable to fill (UnityAds) Mediation

463 views
Skip to first unread message

Jeff King

unread,
Aug 3, 2016, 6:08:58 PM8/3/16
to Google Mobile Ads SDK Developers
I was responding to another ad, I felt it appropriate to start a new thread instead.

I'm unable to fill a reward video using UnityAds through AdMob.  I was using a third-party SDK unbeknown and switched to the official unity plugin.  That didn't change the result unfortunately.

In the logcat, I did notice this:
Fail to instantiate adapter com.google.ads.mediation.unity.UnityAdapter

W/Ads     (24995): Fail to instantiate adapter com.google.ads.mediation.unity.UnityAdapter
W/Ads     (24995): android.os.RemoteException
W/Ads     (24995):      at com.google.android.gms.internal.zzgm.zzbq(Unknown Source)
W/Ads     (24995):      at com.google.android.gms.internal.zzgm.zzbp(Unknown Source)
W/Ads     (24995):      at com.google.android.gms.internal.zzgm.zzbn(Unknown Source)
W/Ads     (24995):      at com.google.android.gms.internal.zzgn$zza.onTransact(Unknown Source)
W/Ads     (24995):      at android.os.Binder.transact(Binder.java:380)
W/Ads     (24995):      at com.google.android.gms.ads.internal.mediation.client.d.a(:com.google.android.gms.DynamiteModulesA:94)
W/Ads     (24995):      at com.google.android.gms.ads.internal.reward.c.b(:com.google.android.gms.DynamiteModulesA:215)
W/Ads     (24995):      at com.google.android.gms.ads.internal.reward.mediation.h.a(:com.google.android.gms.DynamiteModulesA:1108)
W/Ads     (24995):      at com.google.android.gms.ads.internal.util.b.run(:com.google.android.gms.DynamiteModulesA:19)
W/Ads     (24995):      at com.google.android.gms.ads.internal.util.u.call(:com.google.android.gms.DynamiteModulesA:1055)
W/Ads     (24995):      at com.google.android.gms.ads.internal.util.v.run(:com.google.android.gms.DynamiteModulesA:75)
W/Ads     (24995):      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
W/Ads     (24995):      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
W/Ads     (24995):      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
W/Ads     (24995):      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
W/Ads     (24995):      at java.lang.Thread.run(Thread.java:818)
W/Ads     (24995): Failed to load ad: 3
I/Unity   (24995): HandleRewardBasedVideoFailedToLoad event received with message: No fill

The ad I'm using is 'ca-app-pub-8292444603036387/7999142753'

Anyone have any ideas what could be causing this?

Thanks
Message has been deleted

Alan Ianson

unread,
Aug 3, 2016, 6:13:08 PM8/3/16
to Google Mobile Ads SDK Developers
Been getting the load ad: 3 all night, but not with the UnityAdapter issue you mentioned as well... been driving me crazy

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Aug 3, 2016, 11:57:04 PM8/3/16
to Google Mobile Ads SDK Developers
Hi Jeff,

Based on your error, you need to import the Unity Mediation Adapter as well as the Unity SDK in order to receive ads.
Download the UnitySDK and the UnityAds Mediation Adapter and import the following files into the following folders:
  • unity-ads.aar file into the Assets > Plugins > Android folder
  • unity-ads folder into the Assets > Plugins > Android folder
  • The UnityAds Android adapter "UnityAdsAdapter" into the Assets > Plugins > Android > GoogleMobileAdsPlugin > libs folder.
After importing the above files, rebuild your project in Android. 
Let me know if you need more assistance.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Jeff King

unread,
Aug 4, 2016, 2:39:01 PM8/4/16
to Google Mobile Ads SDK Developers
Yes, this worked perfect!

Thanks for your help!!!

Alan Ianson

unread,
Sep 2, 2016, 4:05:43 AM9/2/16
to Google Mobile Ads SDK Developers
Hi Joshua,

I'm using Unity 5.4 and currently use the in-editor services panel to include the UnityAds SDK. I have AdColony set up and that is working fine, but I since I switched to mediation, I've had no ads served from Unity. I noticed in my LogCat this:

09-02 08:59:29.418 13545-13545/? W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 13545
09-02 08:59:29.505 13545-13545/? W/Ads: Server parameters: {"gameId":"1071310","gwhirl_share_location":"1","zoneId":"rewardedVideo"}
09-02 08:59:29.510 13545-13545/? W/Ads: Server parameters: {"gwhirl_share_location":"1","app_id":"appf1973c897b754768a4","zone_ids":"vz0dccd8bf37064a6894"}

I have a manual fallback to Unity when AdMob fails to deliver an ad and that works correctly, it just doesn't serve any ads from mediation.

I have the UnityAdsAdapter in the Plugin->Android->GoogleMobileAdsPlugin->libs folder and Unity SDK gets added in automatically.
 
Any ideas?

Thanks,

Alan

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 2, 2016, 7:13:22 AM9/2/16
to Google Mobile Ads SDK Developers
Hi Alan,

Please refrain from reopening old threads about new issues.

Moving forward, are you not receiving ads from AdMob when you mediated with AdColony? Can you replicate your issue on our sample apps? Can you provide us your Ad Unit ID and a sample code snippet/project on how you are implementing your ads by using the Reply Privately to Author option? 

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Alan Ianson

unread,
Sep 2, 2016, 7:53:53 AM9/2/16
to Google Mobile Ads SDK Developers
Hi Joshua,

My apologies - I had posted in here with the same issue as Jeff above, but while I wasn't getting the No Fill error any more, I was still not getting UnityAds displayed. As it was following on from the previous issue, I posted here. I can create a new one if you'd prefer?

Ad Unit ID is ca-app-pub-7529014030011809/6404152377

I can't find that function to reply privately sorry... where is it?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 5, 2016, 7:49:48 AM9/5/16
to Google Mobile Ads SDK Developers
Hi Alan,

I was able to replicate your issue as I was not able to receive ads using your Ad Unit Id, even in our sample app. I would have to redirect you to our Product Support Team to get your issue resolved. Remember to include all your affected Ad Unit IDs.

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Alan Ianson

unread,
Sep 5, 2016, 8:02:09 AM9/5/16
to Google Mobile Ads SDK Developers
Hi Joshua,

Thanks for checking it out. I've contacted the support team with the details.

Thanks,

Alan
Reply all
Reply to author
Forward
0 new messages