Hi Shane, The KeywordMatchTypeSearchParameter only controls the matchType field of the returned keywords, it too doesn't affect the actual keyword texts that are returned. I think this is simply a case where adding a variety of variations of your source keyword generated better suggestions.
Best, - Eric On Feb 4, 11:45 am, Shane <conan.the.bl...@gmail.com> wrote: > Hi Eric, > > I can see why the match type for the input keywords might be ignored > but why is the KeywordMatchTypeSearchParameter (which is set to > PHRASE) being ignored when the input dataset is small (< 4) ? > > Shane > > On Feb 4, 7:42 am, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > Hi Shane, > > > Thanks for expanding on your question. The cause of confusion here is > > that the match type of the input keywords has no effect on the results > > generated. You can see this in the web interface and even the old v13 > > KeywordToolService. > > > Best, > > - Eric > > > On Feb 3, 4:50 pm, Shane <conan.the.bl...@gmail.com> wrote: > > > > Hi Eric, > > > > I don't think I was quite clear on the issue. I'm not trying to > > > exactly reproduce the results of the Keyword Tool. I am trying to > > > understand why a TargetingIdeaService search using PHRASE matching > > > would return results that are not PHRASE matches. > > > > For example, running the keywords "chess programs" and "programs > > > chess" returns results that are not PHRASE matches. > > > i.e. > > > chess strategy > > > chess strategies > > > chess pawn > > > chess tournament > > > chess move > > > > But if I add just two more keywords (i.e. "chess programs", "programs > > > chess", "chess program", "program chess") I get the proper PHRASE > > > matches > > > i.e. > > > programs chess > > > chess program > > > school chess programs > > > online chess programs > > > online chess program > > > > You can see from the SOAP calls in my original post that the queries > > > are identical except for the number of keywords submitted. > > > > Shane > > > > On Feb 3, 12:24 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > wrote: > > > > > Hi Shane, > > > > > Using the available SearchParameters it is not currently possible to > > > > exactly reproduce the results of the Search-based Keyword Tool using > > > > the TargetingIdeaService. You can come closer by using the > > > > NGramGroupsSearchParameter, but it is not a complete solution. More > > > > information is available in this thread: > > > > > https://groups.google.com/group/adwords-api/browse_thread/thread/b246... > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Feb 2, 5:12 pm, Shane <conan.the.bl...@gmail.com> wrote: > > > > > > I have a script that uses the TargetingIdeaService and we have been > > > > > getting good results from it for the most part. Generally we submit a > > > > > dozen or so keywords looking for PHRASE matches and the results we get > > > > > back are consistent with the keyword tool. For some reason using a > > > > > smaller dataset (1-3 keywords) seems to come back with much broader > > > > > results. > > > > > > For example if we use: > > > > > chess programs > > > > > programs chess > > > > > chess program > > > > > program chess > > > > > > We get back matching phrases: > > > > > programs chess > > > > > chess program > > > > > school chess programs > > > > > online chess programs > > > > > online chess program > > > > > chess training program > > > > > chess tournament program > > > > > chess training programs > > > > > program chess > > > > > chess study program > > > > > chess teaching programs > > > > > old chess programs > > > > > strong chess programs > > > > > ... > > > > > > If we only search on two keywords: > > > > > chess programs > > > > > programs chess > > > > > > We get back phrases that are loosely related: > > > > > chess strategy > > > > > chess strategies > > > > > chess pawn > > > > > chess tournament > > > > > chess move > > > > > championship chess > > > > > chess federation > > > > > chess tactics > > > > > chess rules > > > > > online chess programs > > > > > chess programs fritz > > > > > chess downloads > > > > > chess freeware > > > > > ... > > > > > > The Keyword Tool returns appropriate PHRASE results for those two > > > > > keywords so I am wondering if I'm missing a parameter to narrow down > > > > > the results or if maybe the RelatedToKeywordSearchParameter is looking > > > > > at the keywords as a group rather than as individual keywords. > > > > > > Here's the working SOAP call: > > > > > <SOAP-ENV:Envelope> > > > > > <SOAP-ENV:Header> > > > > > <RequestHeader> > > > > > <authToken></authToken> > > > > > <clientEmail></clientEmail> > > > > > <developerToken></developerToken> > > > > > <userAgent></userAgent> > > > > > <validateOnly>false</validateOnly> > > > > > </RequestHeader> > > > > > </SOAP-ENV:Header> > > > > > <SOAP-ENV:Body> > > > > > <get> > > > > > <selector> > > > > > <searchParameters xsi:type="RelatedToKeywordSearchParameter"> > > > > > <keywords xsi:type="Keyword"> > > > > > <text xsi:type="string">chess programs</text> > > > > > <matchType xsi:type="string">PHRASE</matchType> > > > > > </keywords> > > > > > <keywords xsi:type="Keyword"> > > > > > <text xsi:type="string">programs chess</text> > > > > > <matchType xsi:type="string">PHRASE</matchType> > > > > > </keywords> > > > > > <keywords xsi:type="Keyword"> > > > > > <text xsi:type="string">chess program</text> > > > > > <matchType xsi:type="string">PHRASE</matchType> > > > > > </keywords> > > > > > <keywords xsi:type="Keyword"> > > > > > <text xsi:type="string">program chess</text> > > > > > <matchType xsi:type="string">PHRASE</matchType> > > > > > </keywords> > > > > > </searchParameters> > > > > > <searchParameters xsi:type="LanguageTargetSearchParameter"> > > > > > <languageTargets xsi:type="LanguageTarget"> > > > > > <languageCode xsi:type="string">EN</languageCode> > > > > > </languageTargets> > > > > > </searchParameters> > > > > > <searchParameters xsi:type="KeywordMatchTypeSearchParameter"> > > > > > <keywordMatchTypes xsi:type="string">PHRASE</keywordMatchTypes> > > > > > </searchParameters> > > > > > <ideaType>KEYWORD</ideaType> > > > > > <requestType>IDEAS</requestType> > > > > > <requestedAttributeTypes>KEYWORD</requestedAttributeTypes> > > > > > <requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</ > > > > > requestedAttributeTypes> > > > > > <requestedAttributeTypes>NGRAM_GROUP</requestedAttributeTypes> > > > > > <paging> > > > > > <startIndex>1</startIndex> > > > > > <numberResults>400</numberResults> > > > > > </paging> > > > > > <localeCode>en_US</localeCode> > > > > > <currencyCode>USD</currencyCode> > > > > > </selector> > > > > > </get> > > > > > </SOAP-ENV:Body> > > > > > </SOAP-ENV:Envelope> > > > > > > Here's the same call but with only two keywords that returns results > > > > > that are not PHRASE related: > > > > > <SOAP-ENV:Envelope> > > > > > <SOAP-ENV:Header> > > > > > <RequestHeader> > > > > > <authToken></authToken> > > > > > <clientEmail></clientEmail> > > > > > <developerToken>lKzbm3OF6YVno48Wgx2nTw</developerToken> > > > > > <userAgent></userAgent> > > > > > <validateOnly>false</validateOnly> > > > > > </RequestHeader> > > > > > </SOAP-ENV:Header> > > > > > <SOAP-ENV:Body> > > > > > <get> > > > > > <selector> > > > > > <searchParameters xsi:type="RelatedToKeywordSearchParameter"> > > > > > <keywords xsi:type="Keyword"> > > > > > <text xsi:type="string">chess programs</text> > > > > > <matchType xsi:type="string">PHRASE</matchType> > > > > > </keywords> > > > > > <keywords xsi:type="Keyword"> > > > > > <text xsi:type="string">programs chess</text> > > > > > <matchType xsi:type="string">PHRASE</matchType> > > > > > </keywords> > > > > > </searchParameters> > > > > > > <searchParameters xsi:type="LanguageTargetSearchParameter"> > > > > > <languageTargets xsi:type="LanguageTarget"> > > > > > <languageCode xsi:type="string">EN</languageCode> > > > > > </languageTargets> > > > > > </searchParameters> > > > > > > <searchParameters xsi:type="KeywordMatchTypeSearchParameter"> > > > > > <keywordMatchTypes xsi:type="string">PHRASE</keywordMatchTypes> > > > > > </searchParameters> > > > > > <ideaType>KEYWORD</ideaType> > > > > > <requestType>IDEAS</requestType> > > > > > <requestedAttributeTypes>KEYWORD</requestedAttributeTypes> > > > > > <requestedAttributeTypes>GLOBAL_MONTHLY_SEARCHES</ > > > > > requestedAttributeTypes> > > > > > <requestedAttributeTypes>NGRAM_GROUP</requestedAttributeTypes> > > > > > > <paging> > > > > > <startIndex>1</startIndex> > > > > > <numberResults>400</numberResults> > > > > > </paging> > > > > > <localeCode>en_US</localeCode> > > > > > <currencyCode>USD</currencyCode> > > > > > </selector> > > > > > </get> > > > > > </SOAP-ENV:Body> > > > > > </SOAP-ENV:Envelope> -- 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-...@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.