Hi. Please read carefully http://code.google.com/intl/en/apis/adwords/docs/sandbox.html#getting-started
In other words you need to remove Login client email []: [email protected] And execute example script GetAllCampaigns After that you can perform example GetClientId and you will get ClientId which will work in sandbox. Regards, Evgeniy. On 28 янв, 14:16, Monty808 <[email protected]> wrote: > OK.... > > Not fixed...how do I get the sandbox to work? > > when I created the sandbox..thos was the output... > > The total number of API units consumed during '20120101'-'20120128' is > '0'. > > Usage: 1 units, 1 operations > > Then per the instructions I ran the follwoing... > > /examples/adspygoogle/adwords/v201109/account_management/ > get_client_customer_id.py > > Note: The path on the readme file is incorrect. Had to go to > account_management folder. I then ran the code and this is there > error > > untu@ubuntu:~/Downloads/adwords_api_python_15.1.5/examples/adspygoogle/ > adwords/v201109/account_management$ python get_client_customer_id.py > Traceback (most recent call last): > File "get_client_customer_id.py", line 73, in <module> > main(client, client_email) > File "get_client_customer_id.py", line 56, in main > info = info_service.Get(selector)[0] > File "../../../../../adspygoogle/common/GenericApiService.py", line > 320, in CallMethod > self._HandleLogsAndErrors(buf, start_time, stop_time, error) > File "../../../../../adspygoogle/adwords/GenericAdWordsService.py", > line 250, in _HandleLogsAndErrors > raise e > adspygoogle.adwords.AdWordsErrors.AdWordsRequestError: > [ApiUsageError.INVALID_CLIENT_EMAIL @ selector; > trigger:'INSERT_EMAIL_ADDRESS_HERE'] > > On Jan 28, 5:13 pm, Monty808 <[email protected]> wrote: > > > > > > > > > Hi, > > > I just download the latest adwords API for python > > adwords_api_python_15.1.5.tar.gz > > > I followed the instructions in the README file. > > > Here is how I ran the config file. > > > Your AdWords account's login email []: [email protected] > > Login password []: ans808808 > > Login client email []: [email protected] > > Login client customer id []: > > User agent [AwApi-Python-15.1.5 (Python 2.7)|Test]: GoogleTest > > Developer token []: [email protected]++USD > > Select XML parser [1=PyXML, 2=ElementTree]: 1 > > Enable debugging mode [y/n]: y > > Enable SOAP XML logging mode [y/n]: y > > Enable API request logging mode [y/n]: y > > > I then ran: > > > python adwords_api_python_15.1.5/examples/adspygoogle/adwords/v201109/ > > account_management/get_client_customer_id.py > > > Here is my error > > > Traceback (most recent call last): > > File "get_client_customer_id.py", line 73, in <module> > > main(client, client_email) > > File "get_client_customer_id.py", line 56, in main > > info = info_service.Get(selector)[0] > > File "../../../../../adspygoogle/common/GenericApiService.py", line > > 320, in CallMethod > > self._HandleLogsAndErrors(buf, start_time, stop_time, error) > > File "../../../../../adspygoogle/adwords/GenericAdWordsService.py", > > line 250, in _HandleLogsAndErrors > > raise e > > adspygoogle.adwords.AdWordsErrors.AdWordsRequestError: > > [ApiUsageError.INVALID_CLIENT_EMAIL @ selector; > > trigger:'INSERT_EMAIL_ADDRESS_HERE'] > > > Where did I err? Also in the README file its says the following: > > > "Please note that starting with v201109 you must use a > > clientCustomerId instead of optionally using clientEmail" > > > For the sandbox..what is the client id? Do I have to use it for the > > sandbox? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en
