Search Unity

Banner lifecycle

Discussion in 'Unity Ads & User Acquisition' started by mmvlad, Nov 19, 2020.

Thread Status:
Not open for further replies.
  1. mmvlad

    mmvlad

    Joined:
    Dec 31, 2014
    Posts:
    98
    Hello,
    I am really confused with banner ads.

    When you initialize SDK, OnUnityAdsReady gets called for all units, banners and interstitial/rewarded. That is like it should be.

    Now,
    1. When should I destroy banner? Can I just hide it? Or should I destroy it after scene change? Or never?
    2. After banner it destroyed, it is automatically loaded again? Do I load it with Advertisement.Banner.Load() (or is this part of new load API that is not accessible to all yet)?
    3. After banner it destroyed, Advertisement.GetPlacementState() returns ready for its placement right away, but banner won't show. Why?
    4. What happens to an opened banner when you open another one and first one disappears?


    And not related to banner:
    5. After player watched Interstitial, why OnUnityAdsReady() is called for both interstitial and rewarded placements?
     
  2. mmvlad

    mmvlad

    Joined:
    Dec 31, 2014
    Posts:
    98
    Also, in what events OnUnityAdsDidError is called? If error during init? Video can't start error? Video can't finish error?
     
  3. mmvlad

    mmvlad

    Joined:
    Dec 31, 2014
    Posts:
    98
    Unity team? Anyone?
     
Thread Status:
Not open for further replies.