Re: ideaTextMatchesSearchParameter - included not functioning as expected
Hi Will, Unfortunately the problem is still present in v201101, however there is a workaround you can use. If you include an empty element in your request then the values will be interpreted correctly: $ideaTextMatchesSearchParameter->excluded = array(''); Best, - Eric -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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
Re: ideaTextMatchesSearchParameter - included not functioning as expected
Hmm, seems I replied to Author by mistake! We are still experiencing this issue using the include functionality of the IdeasTextMatchesSearchParameter, the exclude functionality appears to be working perfectly but the include does not at all. Can you confirm if we update from v201008 API to v201101 that this include functionality has been fixed? I don't want to sanitise all of our code base unnecessarily. Thanks! Will -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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
Re: ideaTextMatchesSearchParameter - included not functioning as expected
Hi William, I tried testing this with my own account, it does appear that the TargetingIdeaService is ignoring the IdeaTextMatchesSearchParameter at the moment. I'll open an issue with the core engineering team and see if they can track down the cause. Best, - Eric Koleda, AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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
ideaTextMatchesSearchParameter - included not functioning as expected
Hey I'm having troubles using code similar to this: # Create paging class $paging = new Paging(); $paging->startIndex = 0; $paging->numberResults = 25; # Create selector class $selector = new TargetingIdeaSelector(); $selector->requestType = 'IDEAS'; $selector->ideaType = 'KEYWORD'; $selector->requestedAttributeTypes = array('KEYWORD', 'GLOBAL_MONTHLY_SEARCHES', 'AVERAGE_TARGETED_MONTHLY_SEARCHES'); $selector->paging = $paging; $this->_includeWords = array('promotional'); $ideaTextMatchesSearchParameter = new IdeaTextMatchesSearchParameter(); $ideaTextMatchesSearchParameter->included = $this->_includeWords; $parameters[] = $ideaTextMatchesSearchParameter; $keyword = new Keyword(); $keyword -> text = 'promotional pens'; $keyword -> matchType = 'EXACT'; $this->_keywords = array($keyword); $relatedToKeywordSearchParameter = new RelatedToKeywordSearchParameter(); $relatedToKeywordSearchParameter->keywords = $this->_keywords; $parameters[] = $relatedToKeywordSearchParameter; $this->_types = array('EXACT'); # Create Keyword Match Types $keywordMatchTypeSearchParameter = new KeywordMatchTypeSearchParameter(); $keywordMatchTypeSearchParameter->keywordMatchTypes = $this->_types; $parameters[] = $keywordMatchTypeSearchParameter; $countryClass = new CountryTarget(); $countryClass->countryCode = 'GB'; $this->_countries = array($countryClass); # Create Country Target Search Parameter $countryTargetSearchParameter = new CountryTargetSearchParameter(); $countryTargetSearchParameter->countryTargets = $this->_countries; $parameters[] = $countryTargetSearchParameter; $selector->searchParameters = $parameters; $this->_targetingService->get($selector); You'd expect the above code to include only matches that include the word "Promotional" however "personalised pencils" is being returned - am I doing something wrong here? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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-api@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