我下载了最新的Unity Ads SDK并按照说明将其集成到我的 Android 应用程序中。
UnityAds.init(this, "xxxxxxx", null);
初始化成功,日志显示广告已下载。
Initializing Unity Ads version 1508 with gameId xxxxxxx
Requesting Unity Ads ad plan from https://xxxxxxx
Unity Ads initialized with 3 campaigns and 2 zones
Unity Ads cache: File /storage/xxxxxxx/yyyyyyy.mp4 of 1445875 bytes downloaded in 9102ms
我尝试展示广告:
if (UnityAds.canShow()) {
UnityAds.show();
}
然后出现这个错误信息:
Unity Ads cannot show ads: webapp not initialized
我错过了什么?