Also just to add: I think the documentation says these nodes should have the parentCriterion ids the same as the root->id ?
ProductPartition root = new ProductPartition(); root.setPartitionType(ProductPartitionType.SUBDIVISION); root.setId(-1); ProductPartition node1 = new ProductPartition(); node1.setPartitionType(ProductPartitionType.UNIT); node1.setCaseValue(new ProductBrand(null, "Brand A")); node1.setParentCriterionId(root.getId()); ProductPartition node2 = new ProductPartition(); node2.setPartitionType(ProductPartitionType.UNIT); node2.setCaseValue(new ProductBrand()); node2.setParentCriterionId(root.getId()); https://developers.google.com/adwords/api/docs/guides/shopping ProductPartition node2 = new ProductPartition(); node2.setPartitionType(ProductPartitionType.UNIT); node2.setCaseValue(new ProductBrand()); node2.setParentCriterionId(root.getId()); -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/b8171816-1efa-4233-89a2-53e4066c60c7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
