We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to implement rewarded video and open app of Admob in Xamarin android?

hello, I have tried many ways to implement rewarded video and open app of the Admob in Xamarin android(not forms) I succeeded to implement the banner and interstitial but for the rewarded and open app I have a problem anyone can share the code?



3 Replies

IJ Irfana Jaffer Sadhik Syncfusion Team April 24, 2023 06:34 AM UTC

This query is not related to our Syncfusion product, We request you check the reported query with the Xamarin Microsoft forum 



CT CodeStore Technologies May 10, 2023 06:13 AM UTC

Implementing rewarded video and open app ads from Admob in Xamarin Android is a straightforward process. Follow these steps to add rewarded video and open app ads to your Xamarin Android app:

    1. First, you need to integrate the Admob SDK into your Xamarin Android project. You can do this by adding the Google Play Services package to your project using NuGet
    2. Once the SDK is integrated, create an instance of the Admob InterstitialAd class for rewarded video and open app ads.
    3. Then, load the rewarded video and open app ads using the LoadAd method
    4. To show the rewarded video ad, call the Show method
    5. To show the open app ad, you can use the same InterstitialAd instance and ad unit ID, but call the Show method with an AdListener that overrides the OnAdClicked method.


IJ Irfana Jaffer Sadhik Syncfusion Team May 11, 2023 04:53 AM UTC

Thank you for the suggestions


Loader.
Up arrow icon