Hi Dave, 

You can refer to the AddProductPartitionTree 
<https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/ShoppingCampaigns/AddProductPartitionTree.php>
 sample 
in PHP for code samples of adding a product partition tree. You will need 
to use the ProductOfferId 
<https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService.ProductOfferId>
 as product dimension 
<https://developers.google.com/adwords/api/docs/guides/shopping#product_dimensions>
 in 
this case. Also, please note that the tree must always remain complete, so 
any mutate operation that would make a tree invalid must be part of the 
same request as an operation that fixes it again. To be valid, all child 
nodes of a subdivision must have a caseValue of the same type, and every 
subdivision must contain an "other" node.

If you are facing any issues while trying this out, could you please enable 
logging <https://github.com/googleads/googleads-php-lib#logging> and share 
the SOAP logs for this operation? Please use *reply privately to author* while 
sharing the logs.

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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/b1d5e685-5c1d-4fe2-a1d6-3adb26561f9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • New API ... David Courtney
    • Re:... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... David Courtney
      • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
    • Re:... David Courtney
      • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum

Reply via email to