Hi, This looks to be a problem with the Python library, not the API itself. Please submit a bug on the AdWords API Python Client Library issue tracker:
http://code.google.com/p/google-api-adwords-python-lib/issues/list. Best, - Eric Koleda, AdWords API Team On Oct 9, 6:11 pm, Aihua <[email protected]> wrote: > Hi, > I got following exception when run the latest python client library > testGetCampaignV200906 test case to get a campaign 53532 in my sandbox > account, any suggestions? > > Traceback (most recent call last): > File "C:\Python24\lib\site-packages\aw_api\WebService.py", line 277, > in CallMethod > response = MessageHandler.UnpackResponseAsTuple( > File "<string>", line 0, in ? > File "C:\Python24\Lib\site-packages\aw_api\zsi_toolkit > \v200906\CampaignService_services.py", line 38, in getCampaign > response = self.binding.Receive(getCampaignResponse.typecode) > File "C:\Python24\lib\site-packages\ZSI\client.py", line 536, in > Receive > return _Binding.Receive(self, replytype, **kw) > File "C:\Python24\lib\site-packages\ZSI\client.py", line 461, in > Receive > reply = self.ps.Parse(tc) > File "C:\Python24\lib\site-packages\ZSI\parse.py", line 326, in > Parse > return how.parse(self.body_root, self) > File "C:\Python24\lib\site-packages\ZSI\TCcompound.py", line 196, in > parse > value = what.parse(c_elt, ps) > File "C:\Python24\lib\site-packages\ZSI\TCcompound.py", line 196, in > parse > value = what.parse(c_elt, ps) > File "C:\Python24\lib\site-packages\ZSI\TCcompound.py", line 196, in > parse > value = what.parse(c_elt, ps) > File "C:\Python24\lib\site-packages\ZSI\TCcompound.py", line 135, in > parse > xtype = self.checkname(elt, ps) > File "C:\Python24\lib\site-packages\ZSI\TC.py", line 201, in > checkname > return self.checktype(elt, ps) > File "C:\Python24\lib\site-packages\ZSI\TC.py", line 229, in > checktype > ps.Backtrace(elt)) > EvaluateException: Malformed type attribute (bad NS) > [Element trace: /soap:Envelope/soap:Body/getResponse/rval/entries/ > biddingStrategy] > > the response is as following: > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/ > envelope/"><soap:Header><ResponseHeader xmlns="https:// > adwords.google.com/api/adwords/cm/ > v200906"><requestId>e929151dfffad51d9d0c11561136a316</ > requestId><operations>1</operations><responseTime>122</ > responseTime><units>1</units></ResponseHead > er></soap:Header><soap:Body><getResponse xmlns="https:// > adwords.google.com/api/adwords/cm/v200906"><rval><totalNumEntries>1</ > totalNumEntries><Page.Type>CampaignPage</ > Page.Type><totalBudget><period>DAILY</ > period><amount><ComparableValue.Type>Money</ > ComparableValue.Type><microAmount>0</microAmount></a > mount><deliveryMethod>STANDARD</deliveryMethod></ > totalBudget><entries><id>53532</id><name>WT:101:Search:USA:keyword > (2009-10-06 12:45:42.805000)</name><status>PAUSED</ > status><servingStatus>SERVING</servingStatus><startDate>20091006</ > startDate><endDate>20371231</endDate><budget><period>DAILY</period> > <amount><ComparableValue.Type>Money</ > ComparableValue.Type><microAmount>1000000000</microAmount></ > amount><deliveryMethod>STANDARD</deliveryMethod></ > budget><biddingStrategy xmlns:xsi="http://www.w3.org/2001/XMLSchema- > instance" xsi:type="ManualCPC"><BiddingStrategy.Type>ManualCPC</ > BiddingStrategy.Type> > </biddingStrategy><autoKeywordMatchingStatus>OPT_OUT</ > autoKeywordMatchingStatus><stats><network>ALL</ > network><Stats.Type>Stats</Stats.Type></ > stats><frequencyCap><impressions>0</impressions></frequencyCap></ > entries></rval></getResponse></soap:Body></soap:Envelope> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
