Hi, Now i have a mcc API token,OAuth client iD,client secret,mcc login email.
i found a flie adwords_test.py ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PYTHON2 = sys.version_info[0] == 2 URL_REQUEST_PATH = ('urllib2' if PYTHON2 else 'urllib.request') CURRENT_VERSION = sorted(googleads.adwords._SERVICE_MAP.keys())[-1] def GetAdWordsClient(): """Returns an initialized AdwordsClient for use in testing.""" oauth_header = {'Authorization': 'header'} client_customer_id = 'x' dev_token = 'x' user_agent = 'N3v3rG0nN4l37y0uDoWN' oauth2_client = mock.Mock() oauth2_client.CreateHttpHeader.return_value = dict(oauth_header) client = googleads.adwords.AdWordsClient( dev_token, oauth2_client, user_agent, client_customer_id=client_customer_id) return client ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- if i enter the dev_token&client_customer_id,i will connect to the adwords mcc account,any other information should i add to the code and what is oauth_header? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/f622f0c9-ab49-465b-a1b2-15c41c0e8bcc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.