As the title says, I'm trying to add the ad wrapper to my project, but I am running into some problems:
- Whenever I run the mediation suite, the Heyzap and Heyzap Cross Promo networks are fully integrated, with all options ticked. However, if I try to fetch any type of add it will give me a NO_FILL error and I am unable to show it.
- Upon initialising the ad networks, the do become initialised properly so that is fine.
- However if I try and show an ad, say interstitial, it will completely fail.
I have checked out the example application Heyzap has put up here and it works perfectly. I even tried putting that into my own project, not changing anything and I got the same problems.
Here is the class I have written:
using Heyzap;
using UnityEngine;
public static class AdManager {
public static void InitialiseAdNetwork()
{
HeyzapAds.NetworkCallbackListener networkCallbackListener = delegate(string network, string callback) {
Debug.Log("The " + network + " network has been " + callback);
};
HeyzapAds.SetNetworkCallbackListener(networkCallbackListener);
HeyzapAds.Start("myID", HeyzapAds.FLAG_DISABLE_AUTOMATIC_FETCHING);
HZInterstitialAd.SetDisplayListener(delegate(string adState, string adTag) {
Debug.Log("INTERSTITIAL: " + adState + " Tag : " + adTag);
});
HZIncentivizedAd.SetDisplayListener(delegate(string adState, string adTag) {
Debug.Log("INCENTIVIZED: " + adState + " Tag : " + adTag);
});
}
public static void ShowMediationSuite()
{
HeyzapAds.ShowMediationTestSuite();
}
public static void ShowInterstitialAd()
{
HZInterstitialAd.Fetch();
}
}
Can anyone see something I have done wrong? Because I cannot.