Hi Guys,
I am not able to see any ads appearing in my apk.
I followed every instruction provided in the below link. in http://unityads.unity3d.com/help/Documentation%20for%20Publishers/Integration-Guide-for-Android
[Note:]My apk is not live and i haven’t uploaded it to play store.
I wanted to check it for testing purposes and check it ad placement zones before going live but no success.
As per the document in-order to use the sdk one should init it by calling the below method:
UnityAds.init((Activity)this, “Game-ID”, (UnityAdsListener)this); – I got a error that UnityAdsListener doesn’t exist and i used IUnityAdsListener instead and the src code compiled.So is it expected?
I have also set UnityAds.setTestMode(true);
I have used the below code inside the onFetchCompleted() method and i can see in logs as well that both the conditions are getting true and show() is called
if(UnityAds.canShow() && UnityAds.canShowAds()) {
UnityAds.setZone(“defaultVideoAndPictureZone”);
UnityAds.show();
}
What am i doing wrong?Your help will be highly appreciated.
Thanks in advance.