Hi, As pointed out in the earlier post, conflicting criterion setting is causing this error. You could try the AdGroupCriterionService.get() <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService#get> on that AdGroup and check for the criterionUse <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.AdGroupCriterion#criterionUse> to see if the targeting that you are trying to set is already set as negative criterion. If so, the workaround would be to remove that and add the right targeting.
You could check our sample <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/targeting/AddDemographicTargetingCriteria.java> in Java which adds both biddable and negative criterion. The samples in other client libraries can be found here <https://developers.google.com/adwords/api/docs/clientlibraries> aswell. Please let me know if you have any additional questions. Thanks, Sreelakshmi, 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/c6a26282-3c90-4239-be70-5054cf3b379e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
