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.