I follow the step here: https://github.com/googleads/googleads-python-lib/wiki/Using-OAuth-2.0
- Log in google developers console
- Create project, then credentials, then acquired the client ID and client secret
- Install the googleads through pip and download the library: https://github.com/googleads/googleads-python-lib
Put in client ID and client secret in this example file: 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'
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.
I'm really new to this and please tell me what I missed. Thanks