Is it possible to set a negative keyword using the AdGroupCriterionService?

2013-02-20 Thread Alan Coleman
Hello everyone, I'd like to set a negative keyword in an adgroup. Can I do this using the AdGroupCriterionService? If so where do I set the field to negative? I've been reading through the NegativeAdGroupCriterion but the documentation indicates that criterionUse NEGATIVE is read only.

Re: Is it possible to set a negative keyword using the AdGroupCriterionService?

2013-02-20 Thread Oliver
Here is a sample code in Java. Basically, you don't need to set NEGATIVE explicitly since by creating a NegativeAdGroupCriterion you're effectively saying it's a negative keyword: Keyword keyword = new Keyword(); keyword.setText(.); keyword.setMatchType(..);