So I’ve been trying to migrate to Unity LevelPlay as suggested by Unity, yesterday I got my account approved (it was pretty quick, took less than 2 days), I integrated the SDK, installed ironSource and Unity Ads adapters, implemented the code, but I can’t get anything to show up in the Android build, be it Test Mode on or off. For interstitial it shows this error:
Error ironSourceSDK API: No interstitial configurations found
and for rewarded the RewardedVideoOnAdUnavailable() event fires up whenever I try to load it. I tried adding new placements and calling the placement id to show up, nothing. In UnityAds it would at least show up a test screen or a test ad to confirm everything is working, but here, nothing.
Here’s sample of my code, am I doing anything wrong? I doubt it
if (wasInit) return;
switch (Application.platform)
{
case RuntimePlatform.Android:
Debug.Log("ironSource: Android");
ironSourceAppID = IRONSOURCE_APPID_ANDROID;
break;
case RuntimePlatform.IPhonePlayer:
Debug.Log("ironSource: iOS");
ironSourceAppID = IRONSOURCE_APPID_IOS;
break;
}
// IronSource.Agent.setManualLoadRewardedVideo(true);
IronSource.Agent.validateIntegration();
Debug.Log("ironSource ads init begin: " + IronSource.unityVersion());
IronSource.Agent.init(ironSourceAppID, IronSourceAdUnits.REWARDED_VIDEO, IronSourceAdUnits.INTERSTITIAL);
IronSource.Agent.setUserId(CloudManager.Instance.PlayFabId);
also trying to load interstitial when sdk completes initialization
void SdkInitializationCompletedEvent()
{
Debug.Log("ironSource init complete");
IronSource.Agent.loadInterstitial();
wasInit = true;
// IronSource.Agent.loadRewardedVideo();
}
and to show the ad
if (IronSource.Agent.isRewardedVideoAvailable())
{
IronSource.Agent.showRewardedVideo("Main_Menu");
// Advertisement.Show(GetPlacementId(PlacementType.Rewarded), this);
}
else
{
Init();
// IronSource.Agent.loadRewardedVideo();
AdNotAvailable();
}
tried different options as you can see by the comments