Hi, You could use one of our client libraries <https://developers.google.com/adwords/api/docs/clientlibraries> which will allow you to automatically generate an access token when making a request. All you need to do is to specify your OAuth2 credentials in the property file including your refresh token.
The invalid_grant error you encountered normally occurs due to expired refreshToken. To resolve this issue, you may try to regenerate the refreshToken and the OAuth2 credentials <https://developers.google.com/adwords/api/docs/guides/authentication> using an email address which currently has access to your AdWords account and then retry the request again. Feel free to write back for any clarifications. Thanks and regards, Luis 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/6e4ba80e-6e5a-4e43-acdd-68fa8c083db1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
