Hi, Are you saying that you would like to generate the OAuth tokens (access and refresh tokens) without the user manually accepting the prompt/authorizing the call? If so, please note that it is required to manually accept the prompt at-least once. Once you are able to generate the refresh token, you can store that for making the future API calls. The refresh token along with the client credentials should be enough to make the future API calls. As an alternative, you could also explore the option of setting up the OAuth using the Service account mode. Please check here <https://developers.google.com/adwords/api/docs/guides/authentication#setting_up_service_account_access> for more details. Please note that there are a few prerequisites <https://developers.google.com/adwords/api/docs/guides/authentication#prerequisites> for this type. Because of the complexity of setting up service account access for the AdWords API, we recommend a simpler alternative that achieves the same goal, which is to use the OAuth2 installed application flow <https://developers.google.com/adwords/api/docs/guides/authentication#installed> and persist the refresh token. This way, your app will always be able to request a new access token when necessary.
Please note that we don't have a client library for nodejs at the moment. The client libraries that are available can be found here <https://developers.google.com/adwords/api/docs/clientlibraries>. Please let me now if you have any additional questions. Thanks, Milind, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/08168eca-30df-4a02-affe-648fa826eeb0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
