Re: Error using TargetingIdeaService STATS with CategoryProductsAndServicesSearchParameter
Hi, Thanks for the suggestions (confirms I was on the right track with the code attached at the start of the thread). To return to my original question regarding CategoryProductsAndServicesSearchParameter and STATS returning an error, I have taken another look at how the Keyword Planner works. It appears that product/service doesn't change the stats values which are returned per keyword (eg. Avg. Monthly Searches). This explains why CategoryProductsAndServicesSearchParameteris is invalid when using STATS. Thanks for your help with this. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/9c3c8fe7-cb7b-40ba-b910-ec073f6e45d4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Error using TargetingIdeaService STATS with CategoryProductsAndServicesSearchParameter
Hi Vincent, One last question for clarity. Is it possible to use the AdWords API to retrieve stats for an exact keyword match? This would be similar to the initial results of the Keyword Planner where the stats are shown for the 'Your product or service' keywords - see attached. I'm asking just in case this is achievable using a different service in the AdWords API (as opposed to using the TargetingIdeaService). Thanks again. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/de200e27-c25c-4f2a-9d40-bb528e491c43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Error using TargetingIdeaService STATS with CategoryProductsAndServicesSearchParameter
Hi, I recently created an AdWords test account and am using the TargetingIdeaService and CategoryProductsAndServicesSearchParameter to retrieve keyword information. I'm using the STATS setting as I want to get results for exact keyword matches (not ideas). This works correctly when set to IDEAS, however when I use STATS I get the follwoing error message: 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 Example code is attached. Relevant lines are 57 and 82. Is it not possible to use the CategoryProductsAndServicesSearchParameter when requesting STATS? 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/6800af49-cd84-4bb5-bee0-c80532606cbd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. <>
Error when using TargetingIdeaService to get STATS
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. <>