Hi,

For those keyword criteria that are created and associated to a campaign, 
the correct service to do this would be the CampaignCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201802/CampaignCriterionService>.
 
To REMOVE the said keywords, you should use the 
CampaignCriterionService.mutate() 
<https://developers.google.com/adwords/api/docs/reference/v201802/CampaignCriterionService#mutate>
 method 
and just use the said service's CampaignCriterionOperation 
<https://developers.google.com/adwords/api/docs/reference/v201802/CampaignCriterionService.CampaignCriterionOperation>
 and 
other related fields, instead of those that are related to the 
AdGroupCriterionService as seen in the sample code.

Let me know if this helps.

Best regards,
Peter
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 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/2cef5da5-09ce-4aca-a566-eda3d35c8e9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to