I am not able to make API calls, I am getting this error: 
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', 
{'error': 'invalid_grant', 'error_description': 'Bad Request'})

Although I am following exactly all the steps required: I generated a 
developer token with a basic access, I Set up authentication via OAuth2 and 
generated a client id and client secret, I generated a refresh token. I 
inserted the developer token, client id, client secret and refresh token in 
the googleads.yaml file, however, whenever I try to run the getcampaigns.py 
file to make my first api call, I am getting the above error: 
google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', 
{'error': 'invalid_grant', 'error_description': 'Bad Request'}) 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/959e49aa-22b8-4a16-95cd-3941c9b4ec51n%40googlegroups.com.

Reply via email to