Helen, I've followed up privately. In short - this could be caused by case insensitive file system or python setting. Please make sure the file system is case sensitive.
Thanks! -- Ray Tsang (AdWords API Advisor) On Thursday, February 20, 2014 12:51:14 AM UTC-5, Helen Lau wrote: > > Hi, > > I've installed adspygoogle on my local VM server. I'm getting the > following msg when running any example py. Any idea how to fix this? > Thanks in advance! > > /googleads-python-lib$ python > examples/adspygoogle/adwords/v201306/basic_operations/add_campaigns.py > > Traceback (most recent call last): > > File > "examples/adspygoogle/adwords/v201306/basic_operations/add_campaigns.py", > line 149, in <module> > > main(client) > > File > "examples/adspygoogle/adwords/v201306/basic_operations/add_campaigns.py", > line 56, in main > > budget_id = budget_service.Mutate(budget_operations)[0]['value'][0][ > > File > "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/common/GenericApiService.py", > > line 292, in CallMethod > > self._SetHeaders() > > File > "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/adwords/GenericAdWordsService.py", > > line 122, in _SetHeaders > > soap_headers = SOAPpy.Types.headerType(attrs=header_attrs) > > File > "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/SOAPpy/Types.py", > > line 1338, in __init__ > > structType.__init__(self, data, "Header", typed, attrs) > > File > "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/SOAPpy/Types.py", > > line 1250, in __init__ > > anyType.__init__(self, data, name, typed, attrs) > > File > "/vagrant/venv/local/lib/python2.7/site-packages/adspygoogle/SOAPpy/Types.py", > > line 74, in __init__ > > if type(name) in (ListType, TupleType): > > NameError: global name 'ListType' is not defined > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 --- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
