Appodeal reward video not loading

So, first a disclaimer: I am very new to all of this.

I’m trying to implement reward video with Appodeal. It seems fairly simple, from the SDK documentation, but I can’t seem to get it to actually work.

I’ve done the initialization step in my main scene like this:

void Start()
    	{
    		string appKey = "somekey";
    		Appodeal.disableLocationPermissionCheck();
    		Appodeal.setTesting(true);
    		Appodeal.initialize(appKey, Appodeal.INTERSTITIAL | Appodeal.BANNER | Appodeal.REWARDED_VIDEO);
    	}

I then try to setup a reward video add with this:

// play add
				if (Appodeal.isLoaded(Appodeal.REWARDED_VIDEO)) {
					Appodeal.show(Appodeal.REWARDED_VIDEO);
				}
				else
				{
					Debug.Log("Not loaded :(");
				}		

Which simply results in a debug message “Not loaded :(”.

Does anyone have some experience with appodeal?
Is it not supposed to show something, when running inside unity? (I haven’t built this, just running in unity).

1 Answer

1

Answering my own question like a pro.

I did a build and ran it on my iphone and the test ads appeared. I guess it just doesn’t work in unity.