Hi Eric,
I suspect that the issue is you can't change the CaseValue for a node,
since that's part of the identity of the object and would essentially mean
changing its ID (and by extension, the IDs of the nodes below it). You'll
likely have to remove that node (thus deleting the entire subtree
Sergio,
Any chance you could post your code (even if it's Ruby) to edit the
CaseValue of a partition? I can't seem to find a combination that works for
me without throwing an exception.
Thanks in advance,
Eric
On Thursday, August 14, 2014 10:13:04 AM UTC-4, road11 wrote:
>
> Sergio,
>
> Thank
Thanks for this, Sergio. It worked for me; just delete it the same way you
would a keyword. Way easier than what I was trying to do.
Eric
On Thursday, August 14, 2014 12:26:08 PM UTC-4, Sérgio Gomes (Shopping API
Team) wrote:
>
> Hi Eric,
>
> I'm afraid I ran my tests in a different programming
Hi Eric,
I'm afraid I ran my tests in a different programming language, namely Ruby.
In any case, it's a simple case of constructing a mutate request for the
AdGroupCriterion, with
operation: "REMOVE"
operand: a BiddableAdGroupCriterion with the adGroupId set to the ad group
ID in question, an
Sergio,
Thank you for your kind response. Is there any way you could please post
your C#.Net code (or VB.Net, for that matter) that you are using to get
this done? No matter what I throw at it, I keep getting an error message
saying I am not allowed to perform this operation for a Shopping camp
Hi Eric,
Yes, I'm deleting the default subdivision partition. The ID is shared among
all ad groups, as you say, but remember that by deleting an ad group
criterion you're deleting inside a specific ad group
(AdGroupCriterion.mutate takes both the ad group ID and the criterion ID),
so you won't
Sergio,
Thanks for your response. In all of my trees, I have only 3 partitions: the
default subdivision partition, the sku partition that I bid on (type UNIT),
and the "everything else" partition, which I've set up to be Excluded,
making it a NegativeAdGroupCriterion, which is also a UNIT type.
Hi Eric,
I'm afraid I'm having trouble replication your issue locally. I've set up a
partition tree with a NegativeAdGroupCriterion and had no trouble deleting
the whole thing by just deleting the base node.
Perhaps the tree you're testing this with is in an inconsistent state?
Could you try c
Viewing previous posts on this topic, I've decided it would be easier just
to delete my partition tree and create a new one. However, I get an error
when I try. I've created operations of type REMOVE in the
ProductPartitionHelper.cs class like so (very similar to the ...
public void Cre