Hi once again, I have just passed the verification process for the google ads scope, hoping that that would fix the problem. It didn't.
I have regenerated OAuth 2.0 Client credential Regenerated refresh token for the adwords scope Regenerated google ads api token Plugged everything together. Test python application on local host and yes there we get the historical metrics. Deploy the python app to the linode and there we go once again an error.... google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', {'error': 'invalid_grant', 'error_description': 'Bad Request'}) Why wont this work on a linode server??? I have a normal domain with sub domain where the google search console api connection works fine but the google ads api doesn't. Its setup with ssh and everything else works fine. Is there someone that could help. We tried all the tings previously mentioned in this thread... I can share the code if needed. Regards, Trespaan On Tuesday, July 2, 2024 at 4:54:51 PM UTC+2 Google Ads API Forum Advisor wrote: > Hi, > > Kindly note that the invalid_grant > <https://developers.google.com/google-ads/api/docs/best-practices/common-errors?hl=en#invalid_grant> > error > usually indicates an issue with the refresh token. That said, you’ll need > to regenerate credentials and refresh tokens. Alternatively, you may use > the OAuth Playground > <https://developers.google.com/google-ads/api/docs/oauth/playground> to > generate refresh and access tokens. > > > > > *This message is in relation to case "ref:!00D1U01174p.!5004Q02tJXGg:ref" > (ADR-00244770) Thanks,* > > [image: Google Logo] *Google Ads API Team* > *Register > <https://adsonair.withgoogle.com/events/performance-max-api-workshop> for > the upcoming workshop: Performance Max and the Google Ads API!* > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e58230ce-933c-4da7-be46-7ce33b55ef07n%40googlegroups.com.