Sdk installation error in unity

258 views
Skip to first unread message

Dale Neil

unread,
Sep 16, 2016, 1:08:24 AM9/16/16
to Google Mobile Ads SDK Developers
Hi, try to install the Unity plugin, I get the 3 errors as follows

1 - Assets/GoogleMobileAds/Platforms/Android/Utils.cs(124,17): error CS0266: Cannot implicitly convert type `Gender' to `GoogleMobileAds.Api.Gender'. An explicit conversion exists (are you missing a cast?)

2 - Assets/GoogleMobileAds/Platforms/Android/Utils.cs(128,17): error CS0266: Cannot implicitly convert type `Gender' to `GoogleMobileAds.Api.Gender'. An explicit conversion exists (are you missing a cast?)

3 - Assets/GoogleMobileAds/Platforms/Android/Utils.cs(132,17): error CS0266: Cannot implicitly convert type `Gender' to `GoogleMobileAds.Api.Gender'. An explicit conversion exists (are you missing a cast?)

Any, reason for that?

Joshua Lagonera (Mobile Ads SDK Team)

unread,
Sep 16, 2016, 1:38:34 AM9/16/16
to Google Mobile Ads SDK Developers
Hi Dale,

What version of Unity are you using, as well as the version of the AdMob Unity Plugin? Be sure to get the official Unity Plugin for AdMob at this link to avoid any issues.
I can't seem to replicate your issue using the latest version of the plugin (3.0.6). Can you confirm if you can replicate the issue on the sample app as well using the latest version of the plugin?

Regards,
Joshua Lagonera
Mobile Ads SDK Team

Dale Neil

unread,
Sep 16, 2016, 9:32:20 AM9/16/16
to Google Mobile Ads SDK Developers
Hi, thanks for the swift response. I'm using Unity 5.3.4. Before I was the sample app when I first discovered the error. Now I'm using  this link and the same problems apply. I should also note that I'm using this asset, which also works with chartboost and adcolony. I'm not too strong on coding so that's why I did it like this, but those two other networks work but every time I try the google SDK I get this error. I also uninstalled the plugin and same issue.

Veer Arjun Busani(Mobile Ads SDK Team)

unread,
Sep 21, 2016, 9:56:52 AM9/21/16
to Google Mobile Ads SDK Developers
Hi Dale,

We do not support any third party Unity Asset with our Mobile Ads plugin. I would suggest you import all of the Mediation Network's SDK and Adaptor from this link and try again. Make sure to declare their Ad Activities in the Manifest and you must be able to build to your device. Here is a sample app for Android that includes most of the reward mediation ad network's implementation.

Thanks,
Arjun Busani
Mobile Ads SDK Team
Reply all
Reply to author
Forward
0 new messages