But how do we update a partition tree? For example my tree is subdivide by brands. If my store begins selling a new brand, how would I update my portion tree to include it? I'm having trouble finding any documentation on this.
My scripts are written in Python.
Thanks :-)
Luis Xander Talag (AdWords API Team)
unread,
Nov 20, 2018, 12:46:39 AM11/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi Nellle,
Kindly refer to the AddProductPartitionTree code example in Python. The diagram shown here is a sample which shows how to use product groups in your campaigns. You could also check the help center article for more details. Any node that is not being further subdivided will be a UNIT.
If the node is being further subdivided, that should be a SUBDIVISION. Each subdivision should always be completely partitioned by including a Others node (this will have everything else in that category). Also, you need to make sure that the tree is complete after you modify the product partition tree (see modifying product partition trees section for more information).
Let me know if you have further clarifications.
Thanks,
Luis
AdWords API Team
Nellle Rickchards
unread,
Nov 20, 2018, 10:58:07 AM11/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hello,
The AddProductPartitionTree works fine my campaign does not have a product group. However, It fails if I wanted to UPDATE the product group by adding a new unit or subdivision. I want to know how to update a PartitionTree (for example: to add a new product line that we did not sell when the product group was created).
Thanks for the help.
Luis Xander Talag (AdWords API Team)
unread,
Nov 20, 2018, 8:57:28 PM11/20/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWords API and Google Ads API Forum
Hi Nellle,
Can you please provide the complete SOAP request and response logs so I can further investigate your concern?If you have not yet enabled logging, you may refer to this guide for Python on how to do so.