Log into the Google Account you use to access your AdWords account and go to the following URL:
3) Paste the code
4) Get the refresbh token.
THIS DOES NOT SCALE!!!!!!
So how do I do this just once or automate this process. Please provide clear docs on how to make it certain I dont have to do this again with the python api. Below is how I connect.
CLIENT_ID = ''fgsfgsfg'
CLIENT_SECRET = 'sdfsfsdf
REFRESH_TOKEN = '1//0eX4gtRg-7ZPHwVCCthE5as'
DEVELOPER_TOKEN = 'FTRkyQ'
USER_AGENT ='None'
oauth2_client = oauth2.GoogleRefreshTokenClient(CLIENT_ID, CLIENT_SECRET, REFRESH_TOKEN)
#adwords_client = adwords.AdWordsClient(DEVELOPER_TOKEN, oauth2_client, USER_AGENT,client_customer_id=CUSTOMER_SERVICE_ID)
adwords_client = adwords.AdWordsClient(DEVELOPER_TOKEN, oauth2_client, USER_AGENT,cache=googleads.common.ZeepServiceProxy.NO_CACHE)
adwords_client.SetClientCustomerId(CUSTOMER_SERVICE_ID)