Google Adwords API targeting ideas error which i dont understand

54 views
Skip to first unread message

Kevin

unread,
Jul 14, 2017, 2:46:27 PM7/14/17
to AdWords API Forum
Hello I'm trying to get some targeting ideas using the node js Skd for google adwords. I have the below code: 

var TargetingIdeaService = user.getService('TargetingIdeaService', 'v201609')

//create selector 
var selector={
    SearchParameters:[{RelatedToQuerySearchParameter:'Games'}],
    ideaType:'KEYWORD',
    requestType:'STATS',
    requestedAttributeTypes: ['KEYWORD_TEXT','TARGETED_MONTHLY_SEARCHES'],
    paging: {startIndex: 0, numberResults:20}
}
 
TargetingIdeaService.get({TargetingIdeaSelector: selector}, function (error, result) {
    console.log(error, result);
}) 


But im getting an error and i dont know what it means.

 '<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><soap:Fault><faultcode>soap:Client</faul
tcode><faultstring>Unmarshalling Error: ParseError at [row,col]:[1,833]\nMessage: http://www.w3.org/TR/1999/REC-xml-names-19990114
#ElementPrefixUnbound?ns1&amp;ns1:TargetingIdeaSelector </faultstring></soap:Fault></soap:Body></soap:Envelope>' }
 

Shwetha Vastrad (AdWords API Team)

unread,
Jul 14, 2017, 3:41:42 PM7/14/17
to AdWords API Forum
Hi, 

Could you check that the SOAP request is formed correctly? The production WSDL for TargetingIdeaService can be found here. Could you enable logging and provide the complete SOAP request and response logs for this request so I can take a look? Please use Reply privately to author when responding. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages