EddyVerbruggen / nativescript-admob

NativeScript plugin to earn some precious :moneybag::moneybag: with ads by Google AdMob
MIT License
69 stars 26 forks source link

Violation of Interfering with Apps, Third-party Ads, or Device Functionality policy #88

Open mouadhkaabachi opened 3 years ago

mouadhkaabachi commented 3 years ago

When I added Interstitial ads in my app and published it, google reject It Issue: Violation of Interfering with Apps, Third-party Ads, or Device Functionality policy before that I had simple banner and all was good I think the probleme is that Interstitial ads block the phone's back button here is the code that I used nativescript with Vue

created(){
    showInterstitialAds() {
      setTimeout(function() {
        admob
          .preloadInterstitial({
            testing: true,
            androidInterstitialId: "ca-app-pub-3940256099942544/1033173712", // add your own
            keywords: ["keyword","keyword2"], // add keywords for ad targeting
          })
          .then(
            function() {
              admob.showInterstitial();
            }
          );
      }, 1);
}