Unity ads picturezone

Hey,

I have implemented UnityAds into a game and wanted to show a picture ad on launch, If i give the zoneID from the standard zones it doesnt show up and throws a warning. Video ads work perfectly fine with a different zone.

When the picture ad is supposed to show it throws this warning:

SelectAdapter return null;

I am showing the ad with this code:

    public void ShowAds(string zoneId)
    {
        if (Advertisement.isReady() && Advertisement.isSupported && Advertisement.isInitialized)
        {
            Advertisement.Show(zoneId);
        }
        else if (!Advertisement.isInitialized)
        {
            Debug.LogError("Advertisement is not initialized");
        }
        else if(!Advertisement.isSupported)
        {
            Debug.LogError("Advertisement is not supported");
        }
        else if(!Advertisement.isReady())
        {
            Debug.LogError("Advertisement is not ready");
        }
    }

Thanks in advance

Before showing a zoneId, you should first make sure it’s ready by passing the zoneId as a parameter to Advertisement.isReady(). For example:

if(Advertisement.isReady("pictureZone")) {
    Advertisement.Show("pictureZone", ...);
}

More info in the Unity Ads Integration Guide for the Asset Store Package.

One thing to be aware of though, the pictureZone isn’t currently able to be shown in Editor. You are able to preview sample ads on the device when passing true for the testMode parameter of the Initialization() method.