
InterstitialAd = new InterstitialAd(adUnitId) statusText.text = "Requesting Interstitial Ad." Public void RequestAndLoadInterstitialAd() Create a 320x50 banner at top of the screenīannerView = new BannerView(adUnitId, AdSize.SmartBanner, AdPosition.Top) īannerView.OnAdLoaded += (sender, args) => OnAdLoadedEvent.Invoke() īannerView.OnAdFailedToLoad += (sender, args) => OnAdFailedToLoadEvent.Invoke() īannerView.OnAdOpening += (sender, args) => OnAdOpeningEvent.Invoke() īannerView.OnAdClosed += (sender, args) => OnAdClosedEvent.Invoke() These ad units are configured to always serve test ads. StatusText.text = "Requesting Banner Ad." Display the app open ad when the app is foregrounded. Public void OnApplicationPause(bool paused) MobileAds.SetiOSAppPauseOnBackground(true) Public UnityEvent OnUserEarnedRewardEvent Private RewardedInterstitialAd rewardedInterstitialAd Public class GoogleAdMobController : MonoBehaviour I expected it to work once the test ad implemented successfully. My event is calling RequestAndLoadInterstitialAd() and ShowInterstitialAd(), which works in Unity with the test ad. My admob account is linked to the app in play store, status “ready”, AdMob app ID also added into ad settings in Unity, added in the real ad unit ID, test ad showing in Unity, waited a week…
