YaGames .init() .then(ysdk => { console.log('Yandex SDK initialized'); window.ysdk = ysdk; ysdk.adv.showFullscreenAdv() });