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 m
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':[
{
'field':'AdGroupI
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 s
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,
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 time
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
ref:_00D1U117