Skip to main content

Interstitiad.onError

Lắng nghe sự kiện hiển thị quảng cáo bị lỗi.

Sử dụng

this.ad = my.createInterstitialAd();
this.ad.onError((e) => {
my.alert({ title: 'Ad error', content: JSON.stringify(e) });
});
ad.load();