Hi, I've recently setup a test account and am trying to retrieve keyword stats using the targetingIdeaService. The script runs correctly when the RequestType is set to IDEAS. However, when RequestType is changed to STATS, I receive the error:
Fatal error: Uncaught exception 'Google\AdsApi\AdWords\v201710\cm\ApiException' with message '[TargetingIdeaError.INVALID_SEARCH_PARAMETERS @ selector.searchParameters[0]; trigger:'CategoryProductsAndServicesSearchParameter']' in C:\www-lib\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php on line 39 Is it not possible to use the CategoryProductsAndServicesSearchParameter when requesting STATS information? Example code is attached. Relevant lines 57 and 82. Thanks for any advice. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fe0b2f23-3336-4af7-8527-3be05adad803%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
<<attachment: GetKeywordIdeas.php>>