Hello Steffen, Thank you for sharing the details. Could you share us the SOAP request and response logs along with the clientCustomerId, so I can take a look at the specific location and language parameters, these are targeted to? It is possible that there is no STATS available for these search criteria. You may also refer to our code sample here <https://developers.google.com/adwords/api/docs/samples/java/optimization#get-keyword-ideas>, as a reference. Additionally, if you're using test accounts, the TargetingIdeaService will return dummy data. Please use *Reply privately to author* to provide the details.
Regards, Bharani, AdWords API Team On Friday, January 12, 2018 at 4:09:24 AM UTC-5, Steffen Hansen wrote: > > Hi, i know this question have been raised in the past, but i could not > find a suitable answer. > > I've been working with a python script that should get, the search volumes > for a list of keywords. > > > <https://lh3.googleusercontent.com/-ziR4_OGcpuI/Wld5GGem6hI/AAAAAAAAAAc/VHUMrNXitckGLjCNzlYXmKH24sztOBCgwCLcBGAs/s1600/Screen%2BShot%2B2018-01-11%2Bat%2B15.47.40.png> > > > This is the output from the script. And i have used the "SEARCH_VOLUME" > from the api reference to get the volume. If i upload my my list to the > keyword planner the picture is a bit different. > > > <https://lh3.googleusercontent.com/-_sbtblRKq0I/Wld4vfe0k1I/AAAAAAAAAAU/Dz0F-rX9_Iga9IZw4yVkOkBuuL8SqDTbwCLcBGAs/s1600/Screen%2BShot%2B2018-01-11%2Bat%2B15.45.41.png> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Since i am using python, here is the code of my selector: > > offset = 0 > > selector = { > 'searchParameters': [ > > { > 'xsi_type': 'RelatedToQuerySearchParameter', > 'queries': keyword_list > }, > { > # Language setting (optional). > # The ID can be found in the documentation: > # > https://developers.google.com/adwords/api/docs/appendix/languagecodes > 'xsi_type': 'LanguageSearchParameter', > 'languages': [{'id': langID}] > }, > { > # Location setting (optional). > # The ID can be found in the documenation: > # > https://developers.google.com/adwords/api/docs/appendix/geotargeting > # Country codes found by searching country name in name filter > 'xsi_type': 'LocationSearchParameter', > 'locations': [{'id': locID}] > }, > { > # Network search parameter (optional) > 'xsi_type': 'NetworkSearchParameter', > 'networkSetting': { > 'targetGoogleSearch': True, > 'targetSearchNetwork': False, > 'targetContentNetwork': False, > 'targetPartnerSearchNetwork': False > > } > } > > ], > 'ideaType': 'KEYWORD', > 'requestType': 'STATS', > 'requestedAttributeTypes': ['KEYWORD_TEXT', 'SEARCH_VOLUME', > 'COMPETITION'], > 'paging': { > 'startIndex': str(offset), > 'numberResults': count > } > } > > > I simply can't see what i am doing wrong. Any suggestions? > > > Best Regards > > Steffen > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/2283ea08-041f-41ff-9dfe-935ed1603300%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
