Getting crazy with LevelPlay

Hello! i have done the migration correctly. But at difference on Unity mediation I can’t make my ads show. Also there is no tutorial or snippets for using it! I have done all the migration but in the code part I really get lost. Also didn’t say if the codes need to change it or something. I have just a mess!!

How do i make the banner show up?

I have also open the demo scene but no prefabs, just a code and when i build it just said that it don’t work. If not is there a way to go back to mediation? I’m really sick with the ads issues!!! I have tried with Unity Mediation but ads didn’t show up on build. Now it didn’t show neither on editor or build. I just change because they said it will be off soon, so wanted to upgrade before that. But I’m totally lost!!!

Console Details with DEMO SCENE:

unity-script: OnApplicationPause = False
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnApplicationPause (bool) (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:134)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:.ctor () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:9)
IronSource:.ctor () (at Assets/IronSource/Scripts/IronSource.cs:18)
IronSource:get_Agent () (at Assets/IronSource/Scripts/IronSource.cs:47)
IronSourceDemoScript:OnApplicationPause (bool) (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:135)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:onApplicationPause (bool) (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:23)
IronSource:onApplicationPause (bool) (at Assets/IronSource/Scripts/IronSource.cs:72)
IronSourceDemoScript:OnApplicationPause (bool) (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:135)

unity-script: IronSource.Agent.validateIntegration
UnityEngine.Debug:Log (object)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:26)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:validateIntegration () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:39)
IronSource:validateIntegration () (at Assets/IronSource/Scripts/IronSource.cs:88)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:27)

unity-script: unity version2022.1.24f1
UnityEngine.Debug:Log (object)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:29)

unity-script: IronSource.Agent.init
UnityEngine.Debug:Log (object)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:32)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:init (string) (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:98)
IronSource:init (string) (at Assets/IronSource/Scripts/IronSource.cs:145)
IronSourceDemoScript:Start () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:33)

unity-script: loadBannerButtonClicked
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:201)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:loadBanner (IronSourceBannerSize,IronSourceBannerPosition) (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:250)
IronSource:loadBanner (IronSourceBannerSize,IronSourceBannerPosition) (at Assets/IronSource/Scripts/IronSource.cs:293)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:202)

unity-script: LoadInterstitialButtonClicked
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:180)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:loadInterstitial () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:180)
IronSource:loadInterstitial () (at Assets/IronSource/Scripts/IronSource.cs:227)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:181)

unity-script: ShowInterstitialButtonClicked
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:187)

Unsupported Platform
UnityEngine.Debug:Log (object)
UnsupportedPlatformAgent:isInterstitialReady () (at Assets/IronSource/Scripts/UnsupportedPlatformAgent.cs:195)
IronSource:isInterstitialReady () (at Assets/IronSource/Scripts/IronSource.cs:242)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:188)

unity-script: IronSource.Agent.isInterstitialReady - False
UnityEngine.Debug:Log (object)
IronSourceDemoScript:OnGUI () (at Assets/IronSource/DemoScene/IronSourceDemoScript.cs:194)

Make this tutorial: https://developers.is.com/ironsource-mobile/unity/unity-migration-sdk/

Also this codes are when i just open the Demo Scene:

Assets\Scripts\InterstitialAds.cs(20,23): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.

Assets\IronSource\Scripts\IronSourceEvents.cs(58,60): warning CS0067: The event 'IronSourceEvents.onOfferwallAdCreditedEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(13,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdReadyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(80,58): warning CS0067: The event 'IronSourceEvents.onImpressionDataReadyEvent' is never used

Assets\IronSource\Scripts\IronSourceBannerEvents.cs(13,50): warning CS0067: The event 'IronSourceBannerEvents.onAdLeftApplicationEvent' is never used

Assets\IronSource\Scripts\IronSourceBannerEvents.cs(12,50): warning CS0067: The event 'IronSourceBannerEvents.onAdLoadedEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(14,51): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdOpenedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(65,32): warning CS0067: The event 'IronSourceEvents.onBannerAdScreenDismissedEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(18,67): warning CS0067: The event 'IronSourceInterstitialEvents.onAdShowFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(15,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdOpenedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(21,49): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdShowFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(42,49): warning CS0067: The event 'IronSourceEvents.onInterstitialAdLoadFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(18,50): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdAvailableEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(67,32): warning CS0067: The event 'IronSourceEvents.onBannerAdClickedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(54,57): warning CS0067: The event 'IronSourceEvents.onInterstitialAdShowFailedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(70,40): warning CS0067: The event 'IronSourceEvents.onSegmentReceivedEvent' is never used

Assets\IronSource\Scripts\IronSourceBannerEvents.cs(16,50): warning CS0067: The event 'IronSourceBannerEvents.onAdClickedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(72,58): warning CS0067: The event 'IronSourceEvents.onImpressionSuccessEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(31,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdReadyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(24,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdStartedEvent' is never used

Assets\IronSource\Scripts\IronSourceBannerEvents.cs(15,50): warning CS0067: The event 'IronSourceBannerEvents.onAdScreenPresentedEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(16,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdClosedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(22,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdOpenedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(66,32): warning CS0067: The event 'IronSourceEvents.onBannerAdScreenPresentedEvent' is never used

Assets\IronSource\Scripts\IronSourceBannerEvents.cs(14,50): warning CS0067: The event 'IronSourceBannerEvents.onAdScreenDismissedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(34,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClosedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(28,38): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAvailabilityChangedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(50,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdOpenedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(23,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClosedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(30,49): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdLoadFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(68,49): warning CS0067: The event 'IronSourceEvents.onBannerAdLoadFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(35,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdLoadedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(61,49): warning CS0067: The event 'IronSourceEvents.onOfferwallShowFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(37,57): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdShowFailedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(20,49): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdLoadFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(53,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClickedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(44,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClosedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(63,32): warning CS0067: The event 'IronSourceEvents.onBannerAdLoadedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(38,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClickedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(17,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdShowSucceededEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(14,49): warning CS0067: The event 'IronSourceInterstitialEvents.onAdLoadFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceBannerEvents.cs(17,49): warning CS0067: The event 'IronSourceBannerEvents.onAdLoadFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(41,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdReadyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(49,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdReadyDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(39,57): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdLoadFailedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(36,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdRewardedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(16,70): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdRewardedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(59,49): warning CS0067: The event 'IronSourceEvents.onGetOfferwallCreditsFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(17,70): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdClickedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(47,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClickedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(45,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdShowSucceededEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(60,32): warning CS0067: The event 'IronSourceEvents.onOfferwallClosedEvent' is never used

Assets\IronSource\Scripts\IronSourceInterstitialEvents.cs(19,50): warning CS0067: The event 'IronSourceInterstitialEvents.onAdClickedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(57,32): warning CS0067: The event 'IronSourceEvents.onOfferwallOpenedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(46,49): warning CS0067: The event 'IronSourceEvents.onInterstitialAdShowFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(51,40): warning CS0067: The event 'IronSourceEvents.onInterstitialAdClosedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(43,32): warning CS0067: The event 'IronSourceEvents.onInterstitialAdOpenedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(52,57): warning CS0067: The event 'IronSourceEvents.onInterstitialAdLoadFailedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(25,32): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdEndedEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(13,66): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdShowFailedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(33,40): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdOpenedDemandOnlyEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(15,51): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdClosedEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(19,32): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdUnavailableEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(19,32): warning CS0067: The event 'IronSourceEvents.onSdkInitializationCompletedEvent' is never used

Assets\IronSource\Scripts\IronSourceRewardedVideoEvents.cs(21,50): warning CS0067: The event 'IronSourceRewardedVideoEvents.onAdReadyEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(64,32): warning CS0067: The event 'IronSourceEvents.onBannerAdLeftApplicationEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(56,38): warning CS0067: The event 'IronSourceEvents.onOfferwallAvailableEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(27,53): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdClickedEvent' is never used

Assets\IronSource\Scripts\IronSourceEvents.cs(26,53): warning CS0067: The event 'IronSourceEvents.onRewardedVideoAdRewardedEvent' is never used

Using 2022.1.24f1

Help???:(:(:(:frowning:

Are you running it in the editor? If yes, then that is not supported, you need to compile and try it on an iOS or Android device.

I have tested in my mobile. I use it with UnityRemote5 and build bundle and neither of them load the ads.

@PapayaLimon You can find the ironSource SDK Knowledge Base here, with integration guides and example scripts:

If you still have any questions or run into any integration issues, you can contact our Support with the Contact Us button at the bottom of the page.

Hello @PapayaLimon ,
Couple of things I can suggest:
The first log you showed seem to indicate you were attempting to run in editor, as @iddqd mentioned, this is not supported in LevelPlay at the moment.

The warnings regarding unused events should not be an issue but if they really bother you, you can install LevelPlay from the unity package manager, under Ads Mediation or by name com.unity.services.levelplay . That package is extremely similar but has the warnings suppressed.

If you still need help with testing on mobile please post your mobile logs and we’ll try to have a look. or as @ap-unity mentioned, feel free to contact support :slight_smile:

Sorry for the inconvenience, we are moving as fast as we can to get LevelPlay sitting nicely in the editor, and to bring the user experience to the next level. Please keep the feedback coming as this helps us a lot in prioritizing features.

Cheers!

1 Like

The problem is that they don’t work when I Build neither, I also builded the DemoScene so I can see if there was an issue with my code, but ads still don’t work. I don’t know what I’m doing wrong.

I start fresh project and and I see they updated the mediation package and now includes IronSource, that’s a good thing, but now I get this error once I install it.

Assets\IronSource\DemoScene\IronSourceDemoScript.cs(99,9): warning CS0618: 'IronSourceEvents.onImpressionSuccessEvent' is obsolete: 'This method has been deprecated and won't be included in ironSource SDK versions 7.3.0 and above. Please use OnImpressionDataReady instead.'

This is just a warning letting you know about a deprecated callback, it should not cause any issues :slight_smile:

yes, thanks! already using IronSource banner with no issues, just trying to learn about the interstitials, will be useful a more detailed tutorial for that one.

Hey, how did you get it to work? The documentation is so confusing and the examples dont work for me.

Please make a proper tutorial Ironsource/Levelplay.

1 Like

Hey @DrRando could you specify what documentation and examples you are referring to? The best example in my opinion is the one bundled with the LevelPlay package, but if an example or documentation is unclear we’d definitely need to know which one and why.

Thanks for the feedback!

i intergrated ironsource 7.6.0 the ads show app but the revenue is not reflecting back in tthe ironsource dashboard , can i get some assistance please?

@liambilly
Please refrain from replying to old threads for assistance. Our support has already requested you fill out a support ticket: