skardhamar / rga

R Google Analytics
187 stars 90 forks source link

Sign in with Google temporarily disabled for this app #100

Closed ADRuf closed 4 years ago

ADRuf commented 4 years ago

I'm getting this message when I try to access the Google Analytics API via R rga using the command: rga.open(instance = "ga")

Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In

This was working last month but now I keep getting this error. Any ideas?

EricGoldsmith commented 4 years ago

Doing a Google Search on that error message yields this from Google. So, it seems to be specific to the credentials you're using. Perhaps that article will help you resolve it.

ADRuf commented 4 years ago

Thanks @EricGoldsmith. I saw that article but I couldn't figure out what to do next. I revised my programs to use googleAnalyticsR instead of rga and it is now working.

EricGoldsmith commented 4 years ago

FYI ... similar issue there: https://github.com/MarkEdmondson1234/googleAnalyticsR/issues/292

ADRuf commented 4 years ago

Thanks! Looks like googleAnalyticsR was updated so it works as an alternative. Closing this issue.

EricGoldsmith commented 4 years ago

The change to googleAnalyticsR was to the default test account - no code changes to the package. IOW, the author followed the steps in the Google help article above to re-verify the test account.

Something similar for the default test account for this package could also be done, but would have to be done by @skardhamar, who owns the account.

That said, you shouldn't be using the default test account for anything other than testing, but should instead create your own account (as explained here). Relying on the test account will subject you to the whims and abuse of anyone else using it.

ADRuf commented 4 years ago

Got it, I understand now. Thanks for your help and patience on this.

MarkEdmondson1234 commented 4 years ago

Yes it was as @EricGoldsmith says, I needed to re-verify the app with updated scopes and a privacy policy links etc. Long term its best to use your own OAuth2 app.