Excluding a specific product in a ProductPartitionTree

81 views
Skip to first unread message

vmun...@fanatics.com

unread,
Sep 6, 2017, 5:57:38 AM9/6/17
to AdWords API Forum
Hi,

I am new to Adwords API. I've figured out how to create a new Partition tree, but now I would like to move a product from a non-excluded childNode into an excluded node. I could'nt find this manipulation in ProductPartitionTree API.


Eg., Say, I have a Tree

  Root -> New (Product - 123, 0.50$)
           -> Old (Product - 432, 0.20$)
           -> Excluded


I would like to move the product 123 (from New) to the excluded group. How can I achieve this?

Sreelakshmi Sasidharan (AdWords API Team)

unread,
Sep 6, 2017, 1:58:01 PM9/6/17
to AdWords API Forum
Hi, 

The products in a product group is defined by the attributes provided in Merchant Center and you cannot change them from one product group to another in AdWords. To exclude a specific product, you could add the product by productId/OfferId and set it to exclude instead of setting it as biddable. This sample in Java shows how to create a product partition for a given AdGroup. To exclude the product, you could add the node with ProductOfferId case value and set it to be excluded. Samples in other languages can also be found here

Thanks,
Sreelakshmi, AdWords API Team
Reply all
Reply to author
Forward
0 new messages