help plz....i am on unity version 5.6.2f1 and google ad plugin 3.7.1, i have copy pasted exact code as in the developer guide:-
private void RequestBanner()
{
#if UNITY_EDITOR
string adUnitId = "unused";
#elif UNITY_ANDROID
string adUnitId = "--[android banner ad id here]--";
#elif UNITY_IPHONE
string adUnitId = "--[ios banner ad id here]--";
#else
string adUnitId = "unexpected_platform";
#endif
// Create a 320x50 banner at the top of the screen.
BannerView bannerView = new BannerView(adUnitId, AdSize.Banner, AdPosition.Top);
// Create an empty ad request.
AdRequest request = new AdRequest.Builder().Build();
// Load the banner with the request.
bannerView.LoadAd(request);
}
Android ads are showing whereas ios ads arent being shown. can any1 plz help me find solution
↧