Hi Bobby,

The match type specified in the RelatedToKeywordsSearchParameter only
influences the way that keywords ideas are generated, but it doesn't
restrict the match type of the returned ideas.  If you only want to
have certain match types returned you must use the
KeywordMatchTypeSearchParameter as well:

  
http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.KeywordMatchTypeSearchParameter.html

Best,
- Eric Koleda, AdWords API Team

On Jan 22, 11:33 am, Bobby <bo...@4cinc.com> wrote:
> I'm making a web service call to the Keywords tool with the matchType
> of BROAD specified. However, I am returned duplicate keywords of all
> different matchTypes. This is obviously a problem given Google
> penalizes you for having duplicate keywords.
>
> Here's my log:
>
> Request:
> ...
>   <SOAP-ENV:Body>
>     <ns2:get>
>       <ns2:selector>
>         <ns2:searchParameters
> xsi:type="ns2:RelatedToKeywordSearchParameter">
>           <ns2:keywords>
>             <ns1:text>papo knights</ns1:text>
>             <ns1:matchType>BROAD</ns1:matchType>
>           </ns2:keywords>
>         </ns2:searchParameters>
>         <ns2:ideaType>KEYWORD</ns2:ideaType>
>         <ns2:requestType>IDEAS</ns2:requestType>
>         <ns2:requestedAttributeTypes>KEYWORD</
> ns2:requestedAttributeTypes>
>         <ns2:paging>
>           <ns1:startIndex>0</ns1:startIndex>
>           <ns1:numberResults>20</ns1:numberResults>
>         </ns2:paging>
>       </ns2:selector>
>     </ns2:get>
>   </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
>
> and here's the response:
> ...
> <soap:Body>
>     <ns2:getResponse xmlns="https://adwords.google.com/api/adwords/cm/
> v200909" xmlns:ns2="https://adwords.google.com/api/adwords/o/v200909";>
>       <ns2:rval>
>         <ns2:totalNumEntries>477</ns2:totalNumEntries>
>         <ns2:entries>
>           <ns2:data>
>             <ns2:key>KEYWORD</ns2:key>
>             <ns2:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:type="ns2:KeywordAttribute">
>               <ns2:Attribute.Type>KeywordAttribute</
> ns2:Attribute.Type>
>               <ns2:value>
>                 <Criterion.Type>Keyword</Criterion.Type>
>                 <text>papo figures</text>
>                 <matchType>PHRASE</matchType>
>               </ns2:value>
>             </ns2:value>
>           </ns2:data>
>         </ns2:entries>
>         <ns2:entries>
>           <ns2:data>
>             <ns2:key>KEYWORD</ns2:key>
>             <ns2:value xmlns:xsi="http://www.w3.org/2001/XMLSchema-
> instance" xsi:type="ns2:KeywordAttribute">
>               <ns2:Attribute.Type>KeywordAttribute</
> ns2:Attribute.Type>
>               <ns2:value>
>                 <Criterion.Type>Keyword</Criterion.Type>
>                 <text>papo figures</text>
>                 <matchType>BROAD</matchType>
>               </ns2:value>
>             </ns2:value>
>           </ns2:data>
>         </ns2:entries>
>
> any ideas?

-- 
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.

Reply via email to