I've been having a hell of a time trying to find code examples for keywordMatchTypes for php here is the main part of my code... can someone please help me. I want to only pull one type of keyword match i.e EXACT not all three (BROAD, PHRASE, EXACT) i've looked at http://code.google.com/apis/adwords/v2009/docs/reference/TargetingIdeaService.KeywordMatchTypeSearchParameter.html but I just can't figure it out.. I'm sure in helping me you will help many others. No it's going to be like two lines of code but for the last three days i could not get it working. Thanks in advance.
// Log SOAP XML request and response. $user->LogDefaults(); $keywordService = $user- >GetTargetingIdeaService(); $keyword = new Keyword(); $keyword->text = "auto"; $keyword->matchType = "EXACT"; $keywordMatchTypes = new KeywordMatchTypeSearchParameter(); $keywordMatchTypes->keywordMatchTypes ='EXACT'; $languageService= new LanguageTarget(); $languageService->languageCode='en'; $languageService->TargetType='us'; $countryService= new CountryTargetSearchParameter(); $countryService->countryTargets='AT'; $keyword_array = array($keyword); $keywordMatchType = new KeywordMatchTypeSearchParameter(); $keywordMatchType->keywordmatchTypes = 'EXACT'; $relatedToKeywordSearchParameter = new RelatedToKeywordSearchParameter($keyword_array, $countryService,$languageService); $targetingIdeaSelector = new TargetingIdeaSelector(); $targetingIdeaSelector->searchParameters = array( $relatedToKeywordSearchParameter ); $targetingIdeaSelector->ideaType = 'KEYWORD'; $targetingIdeaSelector->requestType = 'IDEAS'; $targetingIdeaSelector- >requestedAttributeTypes=array ( 'KEYWORD','AVERAGE_TARGETED_MONTHLY_SEARCHES','COMPETITION'); $targetingIdeaSelector->paging = new Paging(0,5); -- 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.