Hi, The EntityNotFound.INVALID_ID <https://developers.google.com/adwords/api/docs/reference/v201607/AdGroupCriterionService.EntityNotFound#reason> error occurs when the specified id of the entity (in your case, id of the old keyword) is either not accessible in the account specified as the clientCustomerId or the id does not exist. To avoid possible errors when removing a keyword, you may want to use the AdGroupCriterionService.get <https://developers.google.com/adwords/api/docs/reference/v201607/AdGroupCriterionService#get> operation to make sure that the id do exist in the account or not. The GetKeywords.php <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201607/BasicOperations/GetKeywords.php> shows how to do this (PHP client library example code).
Best, Joyce, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. 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/b5962891-fa72-4f5e-8748-d3fce021a37e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
