IdeaTextFilterSearchParameter to be more specific?

55 views
Skip to first unread message

Calin Ignat

unread,
Nov 17, 2015, 6:12:33 AM11/17/15
to AdWords API Forum

Greetings,

As I have an IdeaTextFilterSeachParameter for a selector, the resulting ideas still include strings from the excluded category and I still get results that don't include strings from included. Is this intended or is there something wrong with my code?
Also, could I add the option for "exact" or "phrase" to the parameter, i haven't found anything about it in the documentation?

 My object is:

object(IdeaTextFilterSearchParameter)[106]
          public 'included' => 
            array (size=4)
              0 => string 'one way' (length=7)
              1 => string 'ABQ' (length=3)
              2 => string 'LAX' (length=3)
              3 => string 'flights' (length=7)
          public 'excluded' => 
            array (size=3)
              0 => string 'cheep' (length=5)
              1 => string 'to ABQ' (length=6)
              2 => string 'from LAX' (length=8)
          public 'SearchParameterType' => null
          private '_parameterMap' (SearchParameter) => 
            array (size=1)
              'SearchParameter.Type' => string 'SearchParameterType' (length=19)

As an example for "Flights from ABQ to LAX" seed keyword, first idea returned is "hotels abq"...
There are some ideas that convey the rules but the final results are not at all as exact as I expected.
Thank you.

 

Anthony Madrigal

unread,
Nov 17, 2015, 5:05:11 PM11/17/15
to AdWords API Forum
Hi,

Could you please reply privately to author your SOAP request and response for this call so I can do some further investigation?

Thanks,
Anthony
AdWords API Team

Anthony Madrigal

unread,
Nov 18, 2015, 2:17:38 PM11/18/15
to AdWords API Forum
Hi,

Based on your SOAP request, it seems to match what you "included" and "excluded":
  • flights to albuquerque, flights to la, cheapest flights, cheap flights to albuquerque, cheap one way flights, lax flights, cheap international flights
  • They either all match the included "flights" or "lax"
  • The reason "cheap" was not excluded was because in your request you spelled it "cheep"
Hope this helps!

Cheers,
Anthony
AdWords API Team

Calin Ignat

unread,
Nov 19, 2015, 1:14:47 AM11/19/15
to AdWords API Forum
Greetings,

Thanks for your time and help. I know the keyword was misspelled, this was just an example.
Along the way, yesterday, talking with my marketing team we discovered that if we brace with commas the include/exclude keywords, the results are more relevant. (like in the online tool)
Also I got more in to the subject with them and found out that they actually need an and in the includes, now I could add a later filter (after i get the results) but I'm just curious if is possible to do it trough the api. Example:
  • All match the included "flights" and "lax"
Thanks again for you're help.

Good day.

Anthony Madrigal

unread,
Nov 19, 2015, 2:26:36 PM11/19/15
to AdWords API Forum
Hi,

I am not 100% certain, but you could try to include the terms "flights lax" and/or "lax flights". I do not know for sure if it will search for terms in that order so I included both to be sure.

Please let me know if you need more help.
Reply all
Reply to author
Forward
0 new messages