Hi, 

Yes, by removing all child nodes and then setting the root node as unit 
along with the bid should reset the root node to "All Products". We don't 
have a sample for this particular case, but you could refer to this 
<https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201702/shopping/add_product_partition_tree.py>
 
sample which creates a product partition. I am attaching a sample SOAP 
request log for your reference. You could also refer to this 
<https://developers.google.com/adwords/api/docs/guides/shopping#modifying_existing_productpartition_trees>
 
document about modifying existing product partition trees. The 
AdGroupCriterionService is one of the supported operations 
<https://developers.google.com/adwords/api/docs/guides/batch-jobs#supported_operations>
 
via the BatchJobService so you should be able to perform this operation via 
the batch job. 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d2f41824-aa65-4445-933a-f29069b81594%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: UpdateRootNode
Description: Binary data

  • removing... mccc
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to