My Unity Banner Ad is showing in the editor in play mode but not in the build.
The Ad script is not set to testmode.
Placement id in operate dashboard is set to "bannerad"
using System.Collections;
using UnityEngine;
using UnityEngine.Advertisements;
public class BannerAdScript : MonoBehaviour
{
public string gameId = "3658441";
public string placementId = "bannerad";
public bool testMode = false;
void Start()
{
// Initialize the SDK if you haven't already done so:
Advertisement.Initialize(gameId, testMode);
Advertisement.Banner.SetPosition(BannerPosition.BOTTOM_CENTER);
Advertisement.Banner.Show(placementId);
}
}
Why is the banner not showing and how can i fix this?