Hi,

Forgive me if this is a very trivial question.

I am trying to use the TargetingIdeaService to get kw suggestions.
This was working fine with adwords api v201109_1 but after making
necessary changes, has stopped working for v201209. I am using
adspy-google-15.5.0.

The outgoing structure I am using is:

{ 'searchParameters': [{ 'xsi_type': 'RelatedToUrlSearchParameter',
'urls': [url], }, { 'xsi_type': 'CompetitionSearchParameter',
'levels': ['MEDIUM', 'HIGH'] } ], 'ideaType': 'KEYWORD',
'requestType': 'IDEAS', 'requestedAttributeTypes': ['COMPETITION',
'SEARCH_VOLUME' ], 'paging': { 'startIndex': '0', 'numberResults':
'100' } }

and the corresponding outgoing xml is:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:xsi3="http://www.w3.org/2001/XMLSchema-instance";
>
<SOAP-ENV:Header
xmlns="https://adwords.google.com/api/adwords/o/v201209";
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201209";>
<RequestHeader>
<cm:developerToken>xxxxxx</cm:developerToken>
<cm:validateOnly>false</cm:validateOnly>
<cm:userAgent>Something (AwApi-Python/15.5.0, Common-Python/3.0.8,
Python/2.6)</cm:userAgent>
<cm:authToken>xxx</cm:authToken>
</RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<get xmlns:o="https://adwords.google.com/api/adwords/o/v201209";
xmlns="https://adwords.google.com/api/adwords/o/v201209";
xmlns:cm="https://adwords.google.com/api/adwords/cm/v201209";>
<selector xsi3:type="o:TargetingIdeaSelector">
<o:searchParameters xsi3:type="o:RelatedToUrlSearchParameter">
<o:urls>http://abc.com</o:urls>
<o:includeSubUrls>false</o:includeSubUrls>
</o:searchParameters>
<o:searchParameters xsi3:type="o:CompetitionSearchParameter">
<o:levels>MEDIUM</o:levels>
<o:levels>HIGH</o:levels>
</o:searchParameters>
<o:ideaType>KEYWORD</o:ideaType>
<o:requestType>IDEAS</o:requestType>
<o:requestedAttributeTypes>COMPETITION</o:requestedAttributeTypes>
<o:requestedAttributeTypes>SEARCH_VOLUME</o:requestedAttributeTypes>
<o:paging xsi3:type="cm:Paging">
<cm:startIndex>0</cm:startIndex>
<cm:numberResults>100</cm:numberResults>
</o:paging>
</selector>
</get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

to which the following error message comes up:

Unable to parse SOAP buffer for outgoing messages. not well-formed
(invalid token): line 1, column 8.

Can anybody help me with what might be going wrong?

Thanks,

--Sudip.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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



Reply via email to