Ads not showing up in live deploy (xamarin)

209 views
Skip to first unread message

phal...@gmail.com

unread,
Jul 11, 2018, 10:04:36 PM7/11/18
to Google Mobile Ads SDK Developers
I have an app that ive created in C# using xamarin in visual studio. In the oncreate method i have  registered the app id

            base.OnCreate(bundle);
            Android.Gms.Ads.MobileAds.Initialize(ApplicationContext, "ca-app-pub-xxxx~xxx");
            global::Xamarin.Forms.Forms.Init(this, bundle);


In the renderer i have added the adunitid
               var ad = new AdView(Context)
                {
                    AdUnitId = "ca-app-pub-xxxx"
                };

                AdRequest requestbuilder = new AdRequest.Builder()
                    .Build();


The test ads show in debug mode but once i go live and release in the app store ads dont show up at all. Am i doing something wrong?

mobileadssdk-a...@google.com

unread,
Jul 12, 2018, 12:46:36 AM7/12/18
to phal...@gmail.com, Google Mobile Ads SDK Developers
Hi there,

Thanks for contacting us. 

I'm afraid this forum can only cater to technical concerns related to Mobile Ads SDK implemented using one of our supported platforms (AndroidiOSUnityC++).

Since we don't have visibility over the implementation of unsupported platforms such as Xamarin, we can't assure you that the AdMob features will work as expected. However, we can test your Ad Unit Id on our end using one of our sample apps if you provide it to us privately (using Reply privately to author option).

Regards,
Steven Balan
Mobile Ads SDK Team

phal...@gmail.com

unread,
Jul 15, 2018, 11:43:31 PM7/15/18
to Google Mobile Ads SDK Developers
Hi It doesnt look like its a xamarin problem as its showing up in the debug sequence but doesnt show in the live app. Is there a setting i need to turn on in the admob units to show the ads in live mode?

mobileadssdk-a...@google.com

unread,
Jul 16, 2018, 5:34:30 AM7/16/18
to phal...@gmail.com, Google Mobile Ads SDK Developers
Hi there,

Thanks for reaching out to us.

Since we don't have visibility to the Xamarin implementation, we will answer your concern in the Mobile Ads SDK implementation perspective in native Android. In order to start serving a Banner Ad, you only need to follow these guides:
However, Ad serving will still depend on the availability of Ads from your Ad sources and the SDK has no control over this.

Lastly, we can test your Ad Unit Id on our end if you will provide it to us privately (using Reply privately to author option).
Reply all
Reply to author
Forward
0 new messages