Search Unity

Placement 'interstial' does not exist for gameId: 'GAMEID'

Discussion in 'Unity Ads & User Acquisition' started by LushkinR, Oct 19, 2021.

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

    LushkinR

    Joined:
    Mar 15, 2019
    Posts:
    3
    Hello !
    I'm currently trying to implement UnityAdvertisment(3.7.5) into my android Game and facing some issues to load the ads (and therefore I can never show them). I have followed the Integration Guide to setup my AdsManager which implements the following interfaces :

    Code (CSharp):
    1. AdsManager : MonoBehaviour, IUnityAdsInitializationListener, IUnityAdsLoadListener, IUnityAdsShowListener
    2. {}

    I have linked my game project to the Unity Ads Service in the Editor, and when I Initialize the Advertisment SDK everything seems to be OK
    Code (CSharp):
    1. Advertisement.Initialize(_gameId, _testMode, _enablePerPlacementMode, this);

    However when I try to Load the Ad, I enter the CallBack function
    Code (CSharp):
    1. public void OnUnityAdsFailedToLoad(string adUnitId, UnityAdsLoadError error, string message)
    with the following error message : Placement Interstitial_Android does not exist for gameId: *******

    However everything is set up in the Editor : Services
    2021-10-19_12h09_05.png

    And as well in the Unity Ads Dashboard
    2021-10-19_12h10_40.png

    I also have referenced the right Ad Units in my code:
    2021-10-19_12h12_01.png

    And here is the method I use to Load the Ad

    Code (CSharp):
    1. public void LoadAd()
    2.     {
    3.         var adUnitId = (Application.platform == RuntimePlatform.IPhonePlayer) ? Ads.AdUnit.IOS_INTERSTITIAL : Ads.AdUnit.ANDROID_INTERSTITIAL;
    4.         Debug.Log("Loading Ad: " + adUnitId);
    5.         Advertisement.Load(adUnitId, this);
    6.     }
    I have no errors or exceptions. But just always go to the Failure Callback.

    I'm using Unity 2020.3.18f1
     
    huggerbertram and D12294 like this.
  2. LushkinR

    LushkinR

    Joined:
    Mar 15, 2019
    Posts:
    3
    I will reply to myself, but it may help other people.
    Unity has recently launched the mediation service (which is in beta right now). The problem came from the mediation, that seems not working the same way as the default ads SDK. Once I have created another Ads Project from the Dashboard, everything went back and works well. So if you face the same issue as me, it may be due of your choice of Mediation service.
     
  3. rozochkin13

    rozochkin13

    Joined:
    Nov 27, 2019
    Posts:
    6
    Thanks! I had the same issue.
    You can revert Mediation to Unity (not mediated) in existing project and the problem disappears
     
    mfatihbarut likes this.
  4. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    thanks a lot
     
  5. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    but how can I revert mediation service?
     
  6. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
    I would be glad to know how can I do it?
     
  7. mfatihbarut

    mfatihbarut

    Joined:
    Apr 11, 2018
    Posts:
    1,060
Thread Status:
Not open for further replies.