Python Keyword Ideas INVALID_SEARCH_PARAMETERS

12 views
Skip to first unread message

ste...@veloxmedia.com

unread,
Jan 25, 2019, 11:19:42 AM1/25/19
to AdWords API and Google Ads API Forum
Hello. I have taken the example code of keyword_ideas.py and tried running it how it is with a few minor changes to fit my virtual environment and location of my .yaml file. I am getting this error when trying to run the file: 

GoogleAdsServerFault: [TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ selector.searchParameters.searchParameters[0]; trigger:'LanguageSearchParameter', TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ selector.searchParameters.searchParameters[1]; trigger:'RelatedToQuerySearchParameter', TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ selector.searchParameters.searchParameters[2]; trigger:'NetworkSearchParameter'] 
      args = ("[TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ ...hParameters[2]; trigger:'NetworkSearchParameter']",) 
      document = <Element detail> 
      errors = [{ 'fieldPath': 'selector.searchParameters.se...ror', 'reason': 'INVALID_SEARCH_PARAMETERS' }, { 'fieldPath': 'selector.searchParameters.se...ror', 'reason': 'INVALID_SEARCH_PARAMETERS' }, { 'fieldPath': 'selector.searchParameters.se...ror', 'reason': 'INVALID_SEARCH_PARAMETERS' }] 
      with_traceback = <built-in method with_traceback of GoogleAdsServerFault object>


I checked another question similar to this and the suggestion was to use the sample code (which I have done from the beginning. All my credentials work too because I am using it for another project. 

Please advise.

googleadsapi...@google.com

unread,
Jan 25, 2019, 2:29:23 PM1/25/19
to AdWords API and Google Ads API Forum
Hi Stephen,

Could you reply back with SOAP logs so that I can check further? You may reply privately to author.

Regards,
Dhanya, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Reply all
Reply to author
Forward
0 new messages