Filter out only closely related keyword ideas

246 views
Skip to first unread message

Veso

unread,
Apr 14, 2015, 8:54:43 AM4/14/15
to adwor...@googlegroups.com

Hello,

I am currently trying out the Adwords API for the first time. I am using the TargetingIdeaService to get some keyword ideas and everything seems to be working fine. I am running into one problem though:

I want to be able to set the filter "Only show ideas closely related to my search terms" just as it is possible in the front-end of the keyword planer tool to true.

I can't seem to find this option anywhere in the API documentation and numerous searches in this forum (and elsewhere) have not been helping. The search parameter I am using is "RelatedToQuerySearchParameter".

I have tried using the 'IdeaTextFilterSearchParameter' parameter instead, as suggested by someone smarter than me, but I get the
"TargetingIdeaError.INSUFFICIENT_SEARCH_PARAMETERS @ selector.searchParameters" error every time I try it, even though I am populating the "included" and "excluded" strings.

FYI: The API version is: v201502 and the library I am using is Python

Can someone point to a way I can filter only closely related keywords (if at all possible) ?

Thank you.

 

Nadine Sundquist (AdWords API Team)

unread,
Apr 14, 2015, 2:53:51 PM4/14/15
to adwor...@googlegroups.com
Hi Veso,

You are going in the right direction. Make sure to send both RelatedToQuerySearchParameter and IdeaTextFilterSearchParameter at the same time in the request as shown in this forum post. We have a Python code example that is close to what you need. You will still need to add IdeaTextFilterSearchParameter to the example as another search parameter. 

Welcome to the AdWords API,
Nadine, AdWords API Team
Reply all
Reply to author
Forward
0 new messages