Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Bug Ads can not be loaded

Discussion in 'Unity Ads & User Acquisition' started by frankyiu2010, Jun 15, 2023.

  1. frankyiu2010

    frankyiu2010

    Joined:
    Aug 30, 2019
    Posts:
    7
    I got the following error message when I am going to load the reward ad.

    +[USRVApiSdk WebViewExposed_logError:callback:] (line:62) :: Header bidding load invocation failed: adMarkup is missing; objectId is missing
    Error loading Ad Unit Rewarded_iOS: INVALID_ARGUMENT - adMarkup is missing; objectId is missing
    ViewScript:OnUnityAdsFailedToLoad(String, UnityAdsLoadError, String)
    System.Action:Invoke()
    UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update()


    Why I got this error message and how to fix it? I just follow the instruction to setup the unity ad.

    Environment
    Unity 2020, IOS
     
    JoshCamille and Cindy_R like this.
  2. Carl_UnityDSE

    Carl_UnityDSE

    Unity Technologies

    Joined:
    May 25, 2022
    Posts:
    54
    Helo @frankyiu2010,

    Our developers are aware of the error and are working on resolving it.

    For now, the workaround is to create a new project that uses only Unity Ads (no mediation) and use their Game IDs.

    For the fix, we have no ETA. However, our developers are increasing its priority and should be able to release it soon.
     
  3. TrolliStudios

    TrolliStudios

    Joined:
    Jun 14, 2023
    Posts:
    2
    I have the same error. Followed the documentation. Is there any solution?
     
  4. doublehitgames

    doublehitgames

    Joined:
    Mar 5, 2016
    Posts:
    92
    Hello same problem here with Unity 2022.3.7f1 and the most rescent monetization pack.
    There is same fix about it?
     
  5. dingaloo12

    dingaloo12

    Joined:
    Jun 30, 2020
    Posts:
    10
    I am not using mediation and I am getting this error. @Carl_UnityDSE

    Edit: Just kidding. My mediation was set, it was just that my project ID was set to the wrong project, which did have levelplay or whatnot enabled. Using just basic ads fixed it
     
    Last edited: Oct 3, 2023
  6. Yasuyuki

    Yasuyuki

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    90
    @doublehitgames
    Hello,
    May I ask which package and version are you using? Also, please kindly check if the game ID and target platform are correct.
     
  7. Yasuyuki

    Yasuyuki

    Unity Technologies

    Joined:
    Sep 11, 2014
    Posts:
    90
    @dingaloo12
    Hello,
    Please kindly check if the game ID and target platform are correct. In addition, I recommend using Unity LevelPlay because the legacy Unity Ads package will no longer update beyond 4.4.2.
     
    dingaloo12 likes this.