-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service key authentication #83
Comments
Hi @mateioprea ! At the moment, we don't support Service Accounts. We've actually never used them, so we're not totally sure how they should work. PRs welcome ;) That said, is there any reason why you wouldn't want to use a standard OAuth flow (just do it once, manually) to get yourself a permanent refresh token? We've set up a helper to do this: https://refresh-token-helper.opteo.com/ |
Hi @avermeil! So it works for generating a permanent refresh token? |
I am also looking at the service account option as, from what I can tell (their docs aren't great) Google insists on having a G-Suite domain to create an 'Internal' OAuth consent. |
@avermeil hi! We're starting to work on this pr, we think to propose somenthing functional in the next days. Our implementation idea start from adding a ServiceAccount type for the ClientOptions and drill down those data till GrpcClient. Make sense for you? Regards, |
Hi @alessandro-aglietti , Thanks for taking the time to work on this! Yes, the solution you propose sounds good :) |
Quick heads up about the new google ads api: it's so slow that the client that I'm working with decided to switch to adwords api. Just a quick comparison: for pulling 10k keywords from the AdGroups takes about 30s - 1 minute while with the adwords api, it takes 4-5 seconds. :) |
Yeah.. there is also a back to beta statement on https://developers.google.com/google-ads/api/docs/start. Anyway, thank you for the hint! |
@avermeil here you find our first working version. We've some little fix (naming & docs) to be addressed before opening a PR to this main repo. Btw I've a question about the circle-ci, the project is configured to use dotenv but the yml config didn't create the .env causing failing of the build. |
At Opteo we don't use this authentication method so we do not currently support it. However we are aware that this is a desired feature so we will be looking into it in the future. |
The work with There is an article regarding using service accounts and google ads with code snippets in some languages, Maybe this can help. |
Hi @wcoots, I have created a library about Google Ads for NodeJS and support Service Account, you can refer to it: https://github.com/htdangkhoa/google-ads Thanks |
I'm submitting a ...
Summary
I'm trying to use this package without asking an user to authenticate using a Web interface. My question here is: does it work with service keys based authentication?
Thanks you!
The text was updated successfully, but these errors were encountered: