We're using the PHP SDK 25.4.0, lib v201609.
We have an odd use case for one of our clients. We want to structure product campaigns based on product margins which is a function of the price of the product. However as prices change we wish to "move" products out of the current campaign into a different one by changing the criterion use of an existing biddable to negative in the campaign it is leaving (and would create a new biddable in the campaign in which it is being placed). If the price were to revert to earlier levels we'd want to flip the use on both product partitions so that the original criterion is again a biddable (after being a negative for some amount of time) and the second criterion gets flipped to negative.
I've tried simply SETting the new criterion use but that results in an error (AdGroupCriterionError.CANT_UPDATE_NEGATIVE). Note that this is a rather easy thing to accomplish in the UI but I can't see how it's accomplished via the API. Any pointers?
Thanks!
Jean-Guy