Search code examples
google-ads-api

Can you move items in a product partition Tree?


I am new to the adwords API. Can I move items within product groups in an ad-group?

For example,

Root -> ABC (products - 123,433) -0.50$
     -> ACC (products - 111) . - 0.75$
     -> Excluded

Can I move the product from 123 to excluded group?


Solution

  • 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.