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.

<<attachment: GetKeywordIdeas.php>>

  • Error using Targ... marketingdev
    • Re: Error u... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: Err... marketingdev
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
          • ... marketingdev

Reply via email to