Slim Hidri
Slim Hidri

Reputation: 11

Ironsource LevelPlay Unity DemoProject always Ads are not available for rewarded and Interstitial Android build

A fresh new project I imported the LevelPlay package 8.2.0 gradle.properties added

android.useAndroidX=true
android.enableJetifier=true

Otherwise it fails to build

MobilDependencyResolver resolved all libraries Test the Sample LevelPlay demo project, only banners work Rewarded and Interstitial always logs IronSource.Agent.isRewardedVideoAvailable - False I watched every tutorial online to no avail

I don't know what else to try! Thought maybe my region doesn't have any ads, tried a VPN .. Honestly I have no idea what to try!

Upvotes: 1

Views: 229

Answers (1)

ccaner37
ccaner37

Reputation: 1

If anyone here facing same issue, isRewardedVideoAvailable always being false. I was initializing like this: LevelPlay.Init("appKey"); Changing initialization to this solved my problem:

LevelPlayAdFormat[] legacyAdFormats = new[] { LevelPlayAdFormat.REWARDED, LevelPlayAdFormat.INTERSTITIAL, LevelPlayAdFormat.BANNER };
LevelPlay.Init("appKey", adFormats: legacyAdFormats);

Upvotes: 0

Related Questions