Vungle.getNativeAd Is Null After the Ad Has Loaded

Make sure that AdSize is VUNGLE_MREC, and placementReferenceId is an MREC ad type. Refer to the following code:

AdConfig adConfig = new AdConfig();
adConfig.setAdSize(AdConfig.AdSize.VUNGLE_MREC);//Set the AdSize is VUNGLE_MREC
vungleNativeAd = Vungle.getNativeAd(placementReferenceId, adConfig, vunglePlayAdCallback);

Questions?

Need further assistance, feel free to reach out to us, we’re here to help!

Was this article helpful?