Re: unable to start using sandbox on adwords version 15.5 (ExpatError)

2013-02-05 Thread Danial Klimkin
Hello,


The sandbox is deprecated, please use test accounts instead, see:

  http://googleadsdeveloper.blogspot.ru/2012/11/introducing-test-accounts.html


-Danial, AdWords API Team.


On Saturday, February 2, 2013 4:34:35 PM UTC+4, revidim ravid wrote:

 hi,
 i've registered an mcc, a test account, and a developer token.
 i'm using python 2.7
 downloaded the adwords python library (15.5) and all external dependencies 
 (pyXML 0.8.4, fpconst).
 followed all steps from the readme, including running setup.py and 
 config.py.
 but i keep getting the error below when running get_client_customer_id.py 
 from basic_operations on the v201209 folder:
 *xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2, 
 column 11*

 i've tried changing the password, thinking i have an authentication 
 problem, but it then fails on authentication (and passing with real 
 assword).
 this error repeats in the examples, and in a turbogears project using the 
 same library.
 i'm running on a virtualenv created for this project.

 any ideas?

 traceback included:

 Traceback (most recent call last):
   File get_campaigns.py, line 77, in module
 main(client)
   File get_campaigns.py, line 39, in main
 'https://adwords-sandbox.google.com', 'v201209')
   File ..\..\..\..\..\adspygoogle\adwords\AdWordsClient.py, line 888, in 
 GetCa
 mpaignService
 self.__logger, 'CampaignService')
   File ..\..\..\..\..\adspygoogle\adwords\GenericAdWordsService.py, line 
 89, i
 n __init__
 namespace, namespace_extractor)
   File ..\..\..\..\..\adspygoogle\common\GenericApiService.py, line 103, 
 in __
 init__
 wsdl_url, noroot=1, http_proxy=self._op_config['http_proxy'])
   File ..\..\..\..\..\adspygoogle\SOAPpy\WSDL.py, line 62, in __init__
 self.wsdl = reader.loadFromStream(stream, wsdlsource)
   File ..\..\..\..\..\adspygoogle\SOAPpy\wstools\WSDLTools.py, line 28, 
 in loa
 dFromStream
 document = DOM.loadDocument(stream)
   File ..\..\..\..\..\adspygoogle\SOAPpy\wstools\Utility.py, line 602, 
 in load
 Document
 return xml.dom.minidom.parse(data)
   File 
 C:\programming\projects\atomi-report\atomi-env\lib\site-packages\_xmlplu
 s\dom\minidom.py, line 1915, in parse
 return expatbuilder.parse(file)
   File 
 C:\programming\projects\atomi-report\atomi-env\lib\site-packages\_xmlplu
 s\dom\expatbuilder.py, line 930, in parse
 result = builder.parseFile(file)
   File 
 C:\programming\projects\atomi-report\atomi-env\lib\site-packages\_xmlplu
 s\dom\expatbuilder.py, line 207, in parseFile
 parser.Parse(buffer, 0)
 xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2, 
 column 11


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.




unable to start using sandbox on adwords version 15.5 (ExpatError)

2013-02-03 Thread revidim ravid
hi,
i've registered an mcc, a test account, and a developer token.
i'm using python 2.7
downloaded the adwords python library (15.5) and all external dependencies 
(pyXML 0.8.4, fpconst).
followed all steps from the readme, including running setup.py and 
config.py.
but i keep getting the error below when running get_client_customer_id.py 
from basic_operations on the v201209 folder:
*xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2, 
column 11*

i've tried changing the password, thinking i have an authentication 
problem, but it then fails on authentication (and passing with real 
assword).
this error repeats in the examples, and in a turbogears project using the 
same library.
i'm running on a virtualenv created for this project.

any ideas?

traceback included:

Traceback (most recent call last):
  File get_campaigns.py, line 77, in module
main(client)
  File get_campaigns.py, line 39, in main
'https://adwords-sandbox.google.com', 'v201209')
  File ..\..\..\..\..\adspygoogle\adwords\AdWordsClient.py, line 888, in 
GetCa
mpaignService
self.__logger, 'CampaignService')
  File ..\..\..\..\..\adspygoogle\adwords\GenericAdWordsService.py, line 
89, i
n __init__
namespace, namespace_extractor)
  File ..\..\..\..\..\adspygoogle\common\GenericApiService.py, line 103, 
in __
init__
wsdl_url, noroot=1, http_proxy=self._op_config['http_proxy'])
  File ..\..\..\..\..\adspygoogle\SOAPpy\WSDL.py, line 62, in __init__
self.wsdl = reader.loadFromStream(stream, wsdlsource)
  File ..\..\..\..\..\adspygoogle\SOAPpy\wstools\WSDLTools.py, line 28, 
in loa
dFromStream
document = DOM.loadDocument(stream)
  File ..\..\..\..\..\adspygoogle\SOAPpy\wstools\Utility.py, line 602, in 
load
Document
return xml.dom.minidom.parse(data)
  File 
C:\programming\projects\atomi-report\atomi-env\lib\site-packages\_xmlplu
s\dom\minidom.py, line 1915, in parse
return expatbuilder.parse(file)
  File 
C:\programming\projects\atomi-report\atomi-env\lib\site-packages\_xmlplu
s\dom\expatbuilder.py, line 930, in parse
result = builder.parseFile(file)
  File 
C:\programming\projects\atomi-report\atomi-env\lib\site-packages\_xmlplu
s\dom\expatbuilder.py, line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 2, 
column 11

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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.
For more options, visit https://groups.google.com/groups/opt_out.