title: Unity Banner is not showing
body: <p>My Banner Ad does show in test mode but without testmode not.
  I used a code template from the unity website.
  I also asked the unity ads support but they couldn't find the error.
  they send me a video of my application,and in this video the banner ad worked.</p>
  <p>Here is my code:</p>
  <pre><code>using UnityEngine;
  using UnityEngine.UI;
  using UnityEngine.Advertisements;
  
  public class newadsystem : MonoBehaviour
  {
      // For the purpose of this example, these buttons are for functionality testing:
      [SerializeField] Button _loadBannerButton;
      [SerializeField] Button _showBannerButton;
      [SerializeField] Button _hideBannerButton;
  
      [SerializeField] BannerPosition _bannerPosition = BannerPosition.BOTTOM_CENTER;
  
      [SerializeField] public string _androidAdUnitId = &quot;Banner_Android&quot;;
      [SerializeField] string _iOsAdUnitId = &quot;Banner_iOS&quot;;
      public string _adUnitId = &quot;Banner_Android&quot;;
  
      void Start()
      {
          Advertisement.Initialize(&quot;4395157&quot;,false,true);
          // Disable the button until an ad is ready to show:
          _showBannerButton.interactable = true;
          _hideBannerButton.interactable = true;
  
          // Set the banner position:
          Advertisement.Banner.SetPosition(_bannerPosition);
  
          // Configure the Load Banner button to call the LoadBanner() method when clicked:
          _loadBannerButton.onClick.AddListener(LoadBanner);
          _loadBannerButton.interactable = true;
      }
  
      // Implement a method to call when the Load Banner button is clicked:
      public void LoadBanner()
      {
          // Set up options to notify the SDK of load events:
          BannerLoadOptions options = new BannerLoadOptions
          {
              loadCallback = OnBannerLoaded,
              errorCallback = OnBannerError
          };
  
          // Load the Ad Unit with banner content:
          Advertisement.Initialize(&quot;4395157&quot;, false, true);
          Advertisement.Banner.Load(_adUnitId, options);
          Advertisement.Initialize(&quot;4395157&quot;, false, true);
      }
  
      // Implement code to execute when the loadCallback event triggers:
      void OnBannerLoaded()
      {
          Debug.Log(&quot;Banner loaded&quot;);
  
          // Configure the Show Banner button to call the ShowBannerAd() method when clicked:
          _showBannerButton.onClick.AddListener(ShowBannerAd);
          // Configure the Hide Banner button to call the HideBannerAd() method when clicked:
          _hideBannerButton.onClick.AddListener(HideBannerAd);
  
          // Enable both buttons:
          _showBannerButton.interactable = true;
          _hideBannerButton.interactable = true;
      }
  
      // Implement code to execute when the load errorCallback event triggers:
      void OnBannerError(string message)
      {
          Debug.Log($&quot;Banner Error: {message}&quot;);
          // Optionally execute additional code, such as attempting to load another ad.
      }
  
      // Implement a method to call when the Show Banner button is clicked:
      void ShowBannerAd()
      {
          // Set up options to notify the SDK of show events:
          BannerOptions options = new BannerOptions
          {
              clickCallback = OnBannerClicked,
              hideCallback = OnBannerHidden,
              showCallback = OnBannerShown
          };
  
          // Show the loaded Banner Ad Unit:
          Advertisement.Initialize(&quot;4395157&quot;, false, true);
          Advertisement.Banner.Show(_adUnitId, options);
      }
  
      // Implement a method to call when the Hide Banner button is clicked:
      void HideBannerAd()
      {
          // Hide the banner:
          Advertisement.Banner.Hide();
      }
  
      void OnBannerClicked()
      {
          Debug.Log(&quot;Banner Clicked!&quot;);
      }
      void OnBannerShown()
      {
          Debug.Log(&quot;Banner Shown!&quot;);
      }
      void OnBannerHidden()
      {
          Debug.Log(&quot;Banner Hidden&quot;);
      }
  
      void OnDestroy()
      {
          // Clean up the listeners:
          _loadBannerButton.onClick.RemoveAllListeners();
          _showBannerButton.onClick.RemoveAllListeners();
          _hideBannerButton.onClick.RemoveAllListeners();
      }
  }
  </code></pre>
  <p>I looked into the android device log and there was: &quot;Unity   : Banner Error: UnityAds is not initialized.&quot;
  but i call several times the initialize function.
  PS: i am not very good at english.</p>