There is no CriterionUse enum of "excluded", just biddable and negative. 
 Can you be more explicit about how this is accomplished via the API?

Thanks for the reply.

On Sunday, May 21, 2017 at 10:03:34 PM UTC-7, Nigel Copley wrote:
>
> Hi
>
> You simply change "biddable" to "excluded" not "negative" 
>
> On Friday, May 19, 2017 at 10:33:43 PM UTC+1, Jean-Guy Speton wrote:
>>
>> 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
>>
>>
> Click Perform Ltd, Registered in England and Wales – 8669721.
> Trading Address: 6 Edison Buildings, Electric Wharf, Coventry, CV1 4JA
>
> Internet communications are not secure and therefore Click Perform does 
> not accept legal responsibility for the contents of this message. Although 
> Click Perform operates anti-virus programs, it does not accept 
> responsibility for any damage whatsoever that is caused by viruses being 
> passed.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/368bc38c-5a58-4fde-97af-9e6d4b1171c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to