LevelPlayAdsError 626 - Invalid ads unit id

Hi everyone, I am trying to integrate LevelPlay into my game project.

I have a game published on the play store. I used Admob before and now I want to use LevelPlay (Ironsource) as an ad serving mediator.

I followed the instructions on the Ironsource homepage (https://developers.is.com/ironsource-mobile/unity/unity-plugin/#step-2)
Everything seemed perfect, not much different from the Ironsource I used 3 years ago.

However, after building and testing on the test device, the ads did not display (banner, interstitial, rewarded did not work). I checked the logcat and saw that the Ironsource SDK was successfully initialized. But when loading the ads, I got the error LevelPlayAdsError 626 - Invalid ads unit id.

image

image

image

I tried again with the Test Suite launch setting (IronSource.Agent.launchTestSuite()) but unfortunately the Test Suite was not launched after the SDK initialized successfully.
I spent all day checking the cause and until I decided to try to create a demo app with the newly created appID and ads unit ids, the Test Suite and demo ads both displayed normally.
What happened to my current app? I only noticed the difference is that one appID has a live store, one demo appID has not linked to the app on the store.
Has anyone encountered this problem? Do you have a solution? Please help me.
Thanks!

Do you get this same error while testing the app in the editor? From my experience, Unity tests the whole configuration quite good from the Editor.

I had the same once. It’s important that on registration, you have some code like:

public class AdsInitializer : MonoBehaviour, IUnityAdsInitializationListener
{
#if UNITY_IOS
    private static string _iOSGameId = "<number comes here>";
#else
    private static string _androidGameId = "<number comes here>";
#endif

And on the class that really shows the Ad:

public abstract class RewardedAdsInteractive : MonoBehaviour, IUnityAdsLoadListener, IUnityAdsShowListener
    string _iOSAdUnitId = "Rewarded_iOS";
    string _androidAdUnitId = "Rewarded_Android"; 

    string _adUnitId = null; // This will remain null for unsupported platforms
    void Awake()
    {
        // Get the Ad Unit ID for the current platform:
#if UNITY_IOS
        _adUnitId = _iOSAdUnitId;
#elif UNITY_ANDROID
        _adUnitId = _androidAdUnitId;
#endif
}
public void LoadAd()
{
    Advertisement.Load(_adUnitId, this);
}

Hope it helps. When I test the above code in the editor, I get a nice confirmation screen (from Unity) that it all works.

Thanks for your feedback. But it seems you are talking about Unity Ads. My problem is with LevelPlaySDK (which is the new version of Ironsource SDK).
LevelPlaySDK does not support demo ads on Unity Editor. Hopefully it will come soon.
My errors are only with appID and ads unit id of the App that has been live store.
Looking forward to receiving help. Thanks a lot

Thank you for your feedback. This issue seems to be specifically related to the ad unit ID within LevelPlay mediation. Could you please raise a support case with below link and include your AppKey and Ad Unit ID for further investigation?

https://ironsrc.my.site.com/helpcenter/s/

1 Like

Thank you very much for your prompt response. I will provide the information via the link you sent. Thanks

Hello everyone,
This issue has been resolved after I submitted my issue to ironsrc help center. If you encounter this kind of issue, please submit your issue for quick resolution.

Hello yunanhou,
I got same error and open ticket “00592868”. Do you know what is the reason of the this error?

Thanks, our tech support team will get back to you soon!

1 Like

I also have this problem. Ticket number 00594245

I’m having the same problem, I submitted the work order, I don’t see the work order number, and I’m using this email address.

I realized that the code block “#elif UNITY_IOS” was not working, so my AdUnitIds were empty. The problem was solved when I defined them as private string after the public class. I also gived feedback about this issue. I hope it works for you all. (I m using Unity 6000.0.32f1 and ironsource SDK)

LevelPlay Ad Units Failing to Load — “Invalid Ad Unit ID” Errors (Unity 2021.3.45f1)

Unity Version: 2021.3.45f1
LevelPlay SDK Version: 8.10.0 (July 7, 2025)
AppKey: 22b8bf2**

Hello Unity/IronSource team,

I’m continuously facing issues with all my ad placements using Unity LevelPlay mediation. Despite following the documentation carefully, none of the ad formats are loading properly — every placement returns an “Invalid Ad Unit ID” error.

Error Sample (from Logcat):

[LevelPlaySample] Received BannerOnAdLoadFailedEvent With Error:
LevelPlayAdError: 626, Invalid ad unit id, iknx2nd2unj6lpu1, 1eb5a5ce-06bf-4f6b-9e2a-336aa46f430e (All Placements Founds this Error)

This is occurring across all ad types.

My Ad Unit IDs:

Banner: iknx2nd2unj6lp**
Interstitial: azs46k1qvpr15i**
Rewarded: s618tjzx6o2idk**

All these ad units are:

  • Properly copied from the LevelPlay dashboard
  • Linked with the correct AppKey: 22b8bf2**
  • Assigned to Android in the IronSource dashboard
  • Correctly referenced in the Unity inspector/code

What I’ve Checked:

  • SDK is initialized with correct AppKey
  • Internet connection is available
  • No obfuscation (like ProGuard) interfering
  • Ad units are active and assigned in dashboard
  • Tested with both test mode and live setup

Request:

Could someone from the Unity/IronSource team please:

  1. Confirm if the AppKey and ad unit IDs are valid
  2. Clarify if there’s a recent issue with ad unit ID recognition in SDK 8.10.0
  3. Advise if there’s any known bug related to Unity 2021.3.x LTS or SDK integration

Let me know if you need a minimal sample project or more logs — happy to provide it.

Thanks,

@Unity-Devloper Were you able to get it solved? im facing the same issue

Hi, How long did it take them to fix it? My issue has been pending for 4 days now. :frowning:
case ID 00827252

I also have this error now. It just started yesterday. I submitted a support ticket too.

1 Like

I fixed mine by hardcoding the ad unit id I see in LevelPlay (Setup > Ad Units).

For some reason this AdConfig.RewardedVideoAdUnitId was returning a different ad unit id than what I see in LevelPlay.

From:
rewardedVideoAd = new LevelPlayRewardedAd(AdConfig.RewardedVideoAdUnitId);
To:
rewardedVideoAd = new LevelPlayRewardedAd("qe2vsr0owz12nl9r");

I am also facing this issue. I have already raised a ticket: Your ticket 00835761 has been created and is currently in review, but I have not received any response yet. Can someone please help and provide a fix for this issue?

1 Like

The same thing, my request ID is 00843624
At the same time, the SDK initializes correctly and without errors. Also, I want to add that the Test Suite doesn’t work either

So it took about total 5 days to fix it (13th Aug) . I followed up to ask whether I need to contact them each time I create a new game, and they confirmed that I don’t. They said to reach out again only if I notice the issue reoccurring

1 Like

i’m facing the same issue, tried even hardcoding the values in the class itself, but the problem seems not from my side, i submitted a ticket, hope to get some support asap!