admob interstial logic and acceptable refresh time - request

In AdMob interstitial ads, the refresh times do not exist. My application uses one activity with one button in the activity. When users click, this code is ran:
interstitial.loadAd(adRequest);
My application works fine and it was published in Google Play. When the users click on the button they get the interstitial ad. For example the user can click (6 clicks in one minute) so the time between two clicks is 10 seconds. My question is, is this logic and acceptable by AdMob? I am worried that AdMob will ban me. So what is the minimal time acceptable between two ad requests?

I'm not sure but if AdMob sees a repeated pattern they may invalidate the impressions and clicks.
I suggest you do a bit of research first and contact AdMob at support#admob.com.
AdMob Guidelines and Policies
AdMob Terms of Service

Related

google calendar javascript api: how to create a calendar in my google account and not in oauth authenticated user?

I'm thinking on my scenario and there is a point I cannot manage to bring to a valid approach:
I have a web app where users log in and, among other things, they can create calendars. If this calendars are marked as publics, all users can see them.
I want them to be able to sync the calendars with their google calendar account. I have this already implemented using gapi.
The problem is when, after a while, any user updates an event of a calendar which other user had synchronized before. He is not going to see the changes in his google calendar, as I'm not able to send him updates since he is not logged into the app.
So, my idea was to create all calendars in our own account, and whoever wants to have it in their google account, just have to subscribe to it. I would do that with gapi.acl lib.
What I don't know how to do is: when the first user wants to syncronize the calendar, it should first be created in our own google account, so that the user will be able to subscribe to it...
But how do I change the account where to create a calendar using gapi?
Maybe it is a stupid question but I cannot manage to find out how to do it.
Thanks in advance!!!!
But how do I change the account where to create a calendar using gapi?
You cant, what you are trying to do is get offline access to a users Google calendar data. OffLine access means that your application can access the users account when the user is "offLine" as in not there. This being a fully automated functionality of your application.
You need to request permission of the user for "offline" access once that is granted you are given a Refresh token the refresh token can then be used to request a new access token when ever your application needs even if the user is "offline".
Your problem being that JavaScript is client side this means that the code is running in the users browser. Due to major security concerns offline access is not something you can request using JavaScript you need to use a server sided programming language.
Maybe it is a stupid question but I cannot manage to find out how to do it.
I don't think its a stupid question but I do think there are some major wholes in your applicating design.
You first need to think of if users really want you writing to their personal calendar account.
Then you need to consider weather or not you want to be writing and sharing your personal calendar with a bunch of unknown users.
There are also major limitations to the number of writes or inserts you can make to a single calendar per day so storing everyone's calendar data in your own calendar is going to not only messy but it may end up overloading your request limit.
Once all that is added up have you considered the verification process this application is going to have to go though. How will you justify your application to googles security review, I am writing to a users calendar, I am storing users calendar data in my own personal calendar ....

GA not tracking every user

I have implemented Google Analytics through GTM on my Site CAPinside.com . But somehow it won't track every user that is on my site. I am able to see the real time traffic through our own Dashboard using Websockets, but the Statistics number does not even come close.
GA is only tracking a couple hundred users.
Please help me

apiRTC.disconnect(); does not appear to work with cordova

I have setup both a classic ASP site and a cordova angularjs ionic app that allow video conferencing with apiRTC. When the user logs out of the web site apiRTC.disconnect(); works so a new apiRTC.init can be used when a different user logs in.
In the app, apiRTC.disconnect(); does not do anything so the user appears to still be online to other users, and when a different user logs in, it has no affect since init does not work.
Can you look at apiRTC.disconnect() under cordova and see if there is a general issue?
I have checked the issue by doing a test using our tutorial : https://github.com/apizee/ApiRTC-mobile and adding a button that call apiRTC.disconnect() on Android.
Others users receive the disconnection information and remove the user from the connectedUsersList.

How to automatically log user in ionic 1 hybrid app?

I want to move my angularJS web app to ionic hybrid app. I have done a lot of work all ready however I am confused on "autologin" topic. There are a lot of different information on internet, also the official docs are a bit unclear to me.
The scenario I am looking for is standart - on first lunch user creates account, logs in and next time he open app he is already logged in.
A lot of resources suggests to use localstorage. However there a some threath that it is not safe because IOs can clean localstorages.
So if that is not a good option, what is? Cookies?
I have spent hour reading and testing different approaches but well even more confused than ever. It seems to me as such important feature of hybrid app that there should be a good implementation... Would appreciate any help/suggestions/examples/links...
My ultimate goal would be that once authorized user can access and manipulate his profile data even if in offline mode. That means that opening app allready logs him in an his profile info is stored as well.
My minimum viable goal would be that when app is opened app recognizes user, checks as logged in, redirects to logged in state and makes http to get all user details. While user is waiting for that response there are loading spinners but he can start to use logged in app experience
I am working in Cordova ionic app, where I have stored token in localstorage. But it's not a good process. Have a look at Google FIREBASE. They have a good solution for you.

Alternatives for Delayed Chained Payments for Mobile

We are currently using PayPal's Delayed Chained Payments for our website transactions (desktop). The problem is with our mobile transactions. We've considered the following solutions:
Embedded Payment Flow (mini-browser) but the problem with this is that the minibrowser is buggy. It does not call the returnUrl or the cancelUrl after a transaction. And it does NOT support Chrome and Safari on iPhone
We've also considered PayPal's Mobile SDK but the SDK for iOS does not support Adaptive Payments.
I was just thinking if there is a way to make a Delayed Payment using Express Checkout and not the Adaptive Payment. An example of the process flow:
On an events website, a provider creates an event and posted an online registration.
On the first day, User A pays the fee. On the second day, User B and on the third day User C. Each payment is made using Express Checkout or Mobile Express Checkout.
Each time a user pays, the website's Paypal account holds the payment.
The event starts and three days after it started, the website would transfer all the funds or payments that it got to the event provider's PayPal account.
Questions: Is the process possible? Would the website still need to pay an additional transaction fee for the fund transfer? And would the website have a way to track which transaction payment it should forward to which provider?
I am a newbie on PayPal so please bear with me.

Resources