dmanning23 / AdMobBuddy

Library for viewing AdMob ads into a Xamarin.Android, Xamarin.iOS, and MonoGame apps
MIT License
28 stars 13 forks source link

Issue with Rewarded video in Xamarin android #14

Open mohammadrezahamedi opened 1 year ago

mohammadrezahamedi commented 1 year ago

Hello First, Thanks for your repository. It's a clean code that you can call the functions wherever you want without writing them inside the MainActivity There is an issue with interstitial ads and Rewarded Video. When I execute this code ads.DisplayInterstitialAd(); it shows a 3 seconds ad, and when I call the ads.DisplayRewardedVideoAd(); it shows again that the same 3 seconds ad despite the rewarded video ad should be about 30 seconds or at least 10 seconds, not the same interstitial ad. I also put the interstitial ad id instead of the rewarded video id, it showed the interstitial ad again. ads = new AdMobAdapter(this, "ca-app-pub-9861583692186607/424004", "ca-app-pub-9861583692186607/493633", "ca-app-pub-9861583692186607/493633", "");

I use your codes in Xamarin Android, not Xamarin forms. And one more thing, could you write a code for the "App open" and "RewardedInterstitial" ad?