I'm trying to get the refresh token so I can start working with Google Ads 
API. However, I am getting this error when I tried to run the 
generate_refresh_token.py file which I found in this 
link: 
https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/generate_refresh_token.py

I basically copy the whole code and created a python file on my env. But 
then when I tried to run it, I am getting this error: 'name 
DEFAULT_CLIENT_ID not defined.'

I already have a client ID and client secret, which I copy and pasted to 
the DEFAULT_CLIENT_ID and DEFAULT_CLIENT_SECRET variables of the 
generate_refresh_token.py file. 

Please help me fix the error. Appreciate your response. Thanks.


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6319dd76-baa4-4de7-89da-d71401128e03n%40googlegroups.com.

Reply via email to