You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using nativescript-vue last versions (ns: 6.8.0, ns-vue: 2.6.4)
I will try used nativescript-admob for showing: "showInterstitial" and "showRewardedVideoAd"
But in my program working correctly only "preloadRewardedVideoAd", other "preloaders" get an error message like "error - 0".
For preloading I am using that code:
try {
await admob.preloadInterstitial({
testing: true,
iosInterstitialId: this.settings.admob.onlyShow.ios, // add your own
androidInterstitialId: this.settings.admob.onlyShow.android, // add your own
// Android automatically adds the connected device as test device with testing:true, iOS does not
//iosTestDeviceIds: ["ce97330130c9047ce0d4430d37d713b2"],
keywords: ["keyword1", "keyword2"], // add keywords for ad targeting
onAdClosed: function() {
console.log("interstitial closed");
},
});
console.log("Interstitial preloaded");
I am using nativescript-vue last versions (ns: 6.8.0, ns-vue: 2.6.4)
I will try used nativescript-admob for showing: "showInterstitial" and "showRewardedVideoAd"
But in my program working correctly only "preloadRewardedVideoAd", other "preloaders" get an error message like "error - 0".
For preloading I am using that code:
try {
await admob.preloadInterstitial({
testing: true,
iosInterstitialId: this.settings.admob.onlyShow.ios, // add your own
androidInterstitialId: this.settings.admob.onlyShow.android, // add your own
// Android automatically adds the connected device as test device with testing:true, iOS does not
//iosTestDeviceIds: ["ce97330130c9047ce0d4430d37d713b2"],
keywords: ["keyword1", "keyword2"], // add keywords for ad targeting
onAdClosed: function() {
console.log("interstitial closed");
},
});
console.log("Interstitial preloaded");
The text was updated successfully, but these errors were encountered: