i want to implement real admob ads in my unity game, i have found banner ad code from google and i replaced test unit id with my real admob app unit id. now problem is that when banner ad show a test ad will be app appeared on to top side of banner ad pls help why show show test ad while i implement real add unitID here is banner ad code.
using System;
using UnityEngine;
using GoogleMobileAds.Api;
public class realsimpleAd : MonoBehaviour
{
private BannerView bannerView;
public void Start()
{
this.RequestBanner();
}
private void RequestBanner()
{
string adUnitId = "ca-app-pub-1154915214031679/1860375924";
this.bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Top);
// Called when an ad request has successfully loaded.
this.bannerView.OnAdLoaded += this.HandleOnAdLoaded;
// Called when an ad request failed to load.
// Create an empty ad request.
AdRequest request = new AdRequest.Builder().Build();
// Load the banner with the request.
this.bannerView.LoadAd(request);
}
public void HandleOnAdLoaded(object sender, EventArgs args)
{
MonoBehaviour.print("HandleAdLoaded event received");
}
}