while I was making the game I used the Admob test IDs and when I built the game and tested it on my phone everything worked fine, I would get a banner ad saying, this is a admob test ad. Once I finished making the game, all I did was replace the AppID and unitID with the real ones that were in my admob account but when I published the game today I saw that no banner ads show. Any ideas why it is not working? Using Google Mobile Ads Unity Plugin v3.14.0. The official google plugin.
private string appId = "ca-app-pub-xxxxxxxxx";
private BannerView bannerView;
private void Start()
{
MobileAds.Initialize(appId);
}
public void RequestBanner() {
string adUnitId = "ca-app-pub-xxxxxxxxxx";
bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Bottom);
bannerView.OnAdLoaded += DisplayBanner;
AdRequest request = new AdRequest.Builder().Build();
bannerView.LoadAd(request);
}
private void DisplayBanner(object sender, EventArgs args) {
bannerView.Show();
}
--
https://play.google.com/store/apps/details?id=com.AcedStudios.LightNinjaRunner , that is the game as evident that there is no banner ads
↧