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 trying to migrate my RAdwords code to rgoogleads and keep bumping into the same authentication nightmare. Some context:
Use R in my local computer, but all deployments are in a remote server that runs shiny and RStudio.
I have managed to successfully activate the service account and use it with Python's google-ads.
I have tried the same code with local OAuth2.0 and it works fine. However when I try to do so with the ServiceAccount authentication, following the documentation available at CRAN, I keep getting the same error.
Thanks!
My main issue though is with the service account authentication, not shiny. I try to run it on the RStudio server and it fails although the service account json is properly activated (I tested it with Python). I think something in my authentication flow is wrong. Does it make sense to you?
@willdelcast I just implemented rgoogleads. Everything worked for most part when running locally in RStudio, then wasn't able to authenticate when running as a script in batch file. Not sure if this will help you but I was able to get it to work by installing the package and running the authentication lines in a terminal where the script will be running from - that way the authentication cache is stored where the script running from instead of local.
I am trying to migrate my RAdwords code to rgoogleads and keep bumping into the same authentication nightmare. Some context:
Use R in my local computer, but all deployments are in a remote server that runs shiny and RStudio.
I have managed to successfully activate the service account and use it with Python's google-ads.
I have tried the same code with local OAuth2.0 and it works fine. However when I try to do so with the ServiceAccount authentication, following the documentation available at CRAN, I keep getting the same error.
This is a sample of my code:
And this is the response
Also, when I try gads_has_token() it returns TRUE.
The text was updated successfully, but these errors were encountered: