I'm doing my first dabbling with the TargetingIdeaService, using SOAP from previous posting replies as a model, to get monthly search volume numbers. See below for the SOAP that I am sending to "https:// adwords.google.com/api/adwords/o/v201003/TargetingIdeaService". Initially I got a 500 error "authToken is missing in SoapHeader" which seemed odd because the authToken is in the header of the SOAP document, and the only API call that I've encountered so far that wanted the authToken in the http header was to download reports in the reportService. Just for grins I added it to the HTTP header, and the error changed to "AuthenticationError.OAUTH_TOKEN_HEADER_INVALID" but I know the token is good because it is working for other API calls I am making to reportService, campaignService, etc.
As a side note, how do I get monthly search volumes for a specific month? Any more examples coming in the php library for TargetingIdeaService? thanks, Reed SOAP: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP- ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http:// schemas.xmlsoap.org/soap/envelope/" xmlns:cm="https:// adwords.google.com/api/adwords/cm/v201003" xmlns:o="https:// adwords.google.com/api/adwords/o/v201003" xmlns:xsd="http://www.w3.org/ 2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SOAP-ENV:Header> <o:RequestHeader> <cm:authToken>xxx</cm:authToken> <cm:developerToken>xxx</cm:developerToken> <cm:userAgent>V201003 Mo Search Vol</cm:userAgent> <cm:clientEmail>xxx</cm:clientEmail> </ o:RequestHeader> </SOAP-ENV:Header> <SOAP-ENV:Body> <o:get> <o:selector> <o:searchParameters xsi:type="o:RelatedToKeywordSearchParameter"> <o:keywords> <cm:text>genealogy</cm:text> <cm:matchType>EXACT</cm:matchType> </ o:keywords> </o:searchParameters> <o:searchParameters xsi:type="o:LanguageTargetSearchParameter"> <o:languageTargets> <cm:languageCode>en</cm:languageCode> </o:languageTargets> </ o:searchParameters> <o:searchParameters xsi:type="o:CountryTargetSearchParameter"> <o:countryTargets> <cm:countryCode>US</cm:countryCode> </o:countryTargets> </ o:searchParameters> <o:searchParameters xsi:type="o:KeywordMatchTypeSearchParameter"> <o:keywordMatchTypes>EXACT</o:keywordMatchTypes> <o:keywordMatchTypes>BROAD</o:keywordMatchTypes> </o:searchParameters> <o:ideaType>KEYWORD</o:ideaType> <o:requestType>IDEAS</o:requestType> <o:requestedAttributeTypes>KEYWORD</o:requestedAttributeTypes> <o:requestedAttributeTypes>AVERAGE_TARGETED_MONTHLY_SEARCHES</ o:requestedAttributeTypes> <o:requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</ o:requestedAttributeTypes> <o:requestedAttributeTypes>COMPETITION</ o:requestedAttributeTypes> <o:requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</ o:requestedAttributeTypes> <o:paging> <cm:startIndex>0</cm:startIndex> <cm:numberResults>2</cm:numberResults> </o:paging> </o:selector> </ o:get> </SOAP-ENV:Body> </SOAP-ENV:Envelope> -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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