RE: Modifying existing Product Partition trees

2019-06-17 Thread Google Ads API Forum Advisor Prod
Hi everyone, Thank you Kevin for the additional information. For bulk updates on your ProductPartitions, you can use the BatchJobService and you can refer to this section for the considerations in order to successfully execute your requests. Best regards, Peter Google Ads API Team

Re: Modifying existing Product Partition trees

2019-06-17 Thread Kevin Weitzner
You can - but due to the nature of how product trees exist, you have to ensure every mutate results in a valid resulting tree, else the call will fail. You can use a similar method to 'remove' product groups. Note - due to a size limit, you may not be able to perform too many changes at a

RE: Modifying existing Product Partition trees

2019-06-17 Thread Google Ads API Forum Advisor Prod
Hi, Could you confirm if you are indeed using the old AdWords API? If yes, you will need to specify the ProductPartition's Id in the your AdGroupCriterionService.mutate() SET request and include the fields you wish to modify. In the event that you wish to ADD or REMOVE a node to a subdivision,

Re: Modifying existing Product Partition trees

2019-06-15 Thread CDG
hi Kevin, Thank you for your answer. , I am currently able to create tree content and add it to the Google advertising product group through examples and your responses. I want to ask is, is there any way to modify the created tree? Kevin Weitzner於 2019年6月13日星期四 UTC+8上午12時45分33秒寫道: > > Do you

Re: Modifying existing Product Partition trees

2019-06-12 Thread Kevin Weitzner
Do you still need help with this? Here is some example in code from one of my python scripts adgroup_criterion_service = client.GetService( 'AdGroupCriterionService', version='v201809') selector = { 'fields':['ParentCriterionId'], 'predicates':[ {

RE: Modifying existing Product Partition trees

2019-06-10 Thread Google Ads API Forum Advisor Prod
Hi, Based on the error, your request for creating a subdivision is failing because there is already an existing product partition. I would recommend that you first use the AdGroupCriterion.GetAdGroupCriterion method to see whether the partition already exists before trying to create one. You

Modifying existing Product Partition trees

2019-06-09 Thread CDG
Hello there I am using the python example to create Product Partition trees Now I want to update the tree, but I always get the error. -- 'trigger': None, 'errorString': 'AdGroupCriterionError.PRODUCT_PARTITION_ALREADY_EXISTS', 'ApiError.Type': 'AdGroupCriterionError', 'reason':