I'm really new to this and after hours of trying, nothing works. Please 
tell me what I missed. Thanks

I follow the step here:
https://github.com/googleads/googleads-python-lib/wiki/Using-OAuth-2.0

1. Log in google developers console
2. Create project, then credentials, then acquired the client ID and client 
secret
3. Install the googleads through pip and download the library: 
https://github.com/googleads/googleads-python-lib
4. Put in client ID and client secret in: generate_refresh_token.py. 
https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/authentication/generate_refresh_token.py

    CLIENT_ID = 'xxxxxxx.apps.googleusercontent.com'
    CLIENT_SECRET = 'xxxxxxxxxxxxxxxxx'

5. Then I run the generate_refresh_token.py
And I got the following error message:
*    raise AttributeError('No client_id or client_secret specified.')*
*    AttributeError: No client_id or client_secret specified.*


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/4210e1c9-0eb3-4388-8355-6b37f60cc96b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to