Here is my SOAP Request <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708" xmlns:ns2="https://adwords.google.com/api/adwords/o/v201708" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <ns2:RequestHeader xsi:type="ns1:RequestHeader"> <ns1:developerToken>xxxxx</ns1:developerToken> <ns1:clientCustomerId>xxxx</ns1:clientCustomerId> <ns1:userAgent>kaketest</ns1:userAgent> </ns2:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <get xmlns="https://adwords.google.com/api/adwords/o/v201708"> <selector> <searchParameters xsi:type="RelatedToQuerySearchParameter"> <queries>debt management</queries> <queries>debt questions</queries> </searchParameters> <searchParameters xsi:type="LocationSearchParameter"> <locations> <locationName> <Country>United Kingdom</Country> </locationName> </locations> </searchParameters> <ideaType>KEYWORD</ideaType> <requestType>STATS</requestType> <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes> <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes> <requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</requestedAttributeTypes> <requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES</requestedAttributeTypes> <requestedAttributeTypes>COMPETITION</requestedAttributeTypes> <paging> <startIndex xmlns="https://adwords.google.com/api/adwords/cm/v201708">0</startIndex> <numberResults xmlns="https://adwords.google.com/api/adwords/cm/v201708">10</numberResults> </paging> </selector> </get> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
but i get the error: Invalid content was found starting with element 'locationName' Where have a got the structure wrong? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/e7d10792-d9a4-487b-a48b-add8b4c5ce09%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
