[ADMOB] v3.15.1 error CS1501: No overload for method `GetType' takes `1' arguments

309 views
Skip to first unread message

renat...@droid.com.br

unread,
Dec 20, 2018, 7:07:29 AM12/20/18
to Google Mobile Ads SDK Developers
Assets/GoogleMobileAds/Api/RewardBasedVideoAd.cs(38,54): error CS1501: No overload for method `GetType' takes `1' arguments.

the error happens at:

private RewardBasedVideoAd()
{
Type googleMobileAdsClientFactory = Type.GetType(
"GoogleMobileAds.GoogleMobileAdsClientFactory,Assembly-CSharp"); <----------
MethodInfo method = googleMobileAdsClientFactory.GetMethod(
"BuildRewardBasedVideoAdClient",
BindingFlags.Static | BindingFlags.Public);
this.client = (IRewardBasedVideoAdClient)method.Invoke(null, null);
client.CreateRewardBasedVideoAd();

tools:
Unity 2018.2.18f1
Rider 2018 1.3

how can i fix this?

mobileadssdk-a...@google.com

unread,
Dec 20, 2018, 3:56:38 PM12/20/18
to renat...@droid.com.br, Google Mobile Ads SDK Developers
Hi there,

Thanks for reaching out to us. We only address native implementation of the Mobile Ads SDK on this forum. Currently, we do not support Rider via Unity. 

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/c5a4dbef-3d10-4f97-9520-8a4a28dac182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages