Hello, I am setting up Adwords API access using python. I am using
latest python library (adwords_api_python_13.2.0.tar.gz).
I followed the instructions from
http://code.google.com/p/google-api-adwords-python-lib/wiki/Readme.
I am trying to setup a campaign described in this tutorial.
http://code.google.com/apis/adwords/docs/tutorial.html
I ran this example: /adwords_api_python_13.2.0/examples/adspygoogle/
adwords/v201008$ python add_campaign.py and encountered an error
described below.
File "add_campaign.py", line 73, in <module>
campaigns = campaign_service.Mutate(operations)[0]
File "/usr/lib/python2.5/site-packages/adspygoogle/adwords/
CampaignService.py", line 112, in Mutate
'Campaign', self._loc, request)
File "/usr/lib/python2.5/site-packages/adspygoogle/adwords/
AdWordsWebService.py", line 234, in CallMethod
pretty_xml=Utils.BoolTypeConvert(self._config['pretty_xml']))
File "/usr/lib/python2.5/site-packages/adspygoogle/adwords/
AdWordsSoapBuffer.py", line 40, in __init__
super(AdWordsSoapBuffer, self).__init__(xml_parser, pretty_xml)
File "/usr/lib/python2.5/site-packages/adspygoogle/common/
SoapBuffer.py", line 140, in __init__
raise MissingPackageError(msg)
adspygoogle.common.Errors.MissingPackageError: PyXML v0.8.3 or newer
is required
I have set xml_parser': ETREE in config of AdWordsClient. I have
element tree installed on my box. Even then, I am not sure why PyXML
is required. Is there anything else that I am missing here?
I downloaded PyXML 0.8.4 from sourceforge but it does not install. I
am running python 2.5.4. I will like to know what I will need to do to
solve this issue. Any help is much appreciated.
Thanks.
Yogesh
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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