Hey Bharani, thanks for the answer. I am creating everything via Python Scripts. I defined a product scope for one campaign and now the products are no longer automatically attached to the adgroups. Could you give some explanation on how product scope and product partioning relate to one another?
I tried to create two subdivisions - first on ProductCustomAttribute (CUSTOM_ATTRIBUTE_1) and thereafter on ProductBrand. I attached the soap log. On Friday, 5 April 2019 21:48:59 UTC+2, googleadsapi-forumadvisor wrote: > > Hello Ben, > > From the error, it looks like the subdivision creation is failing as there > is already a product partition. The subsequent nodes seems to fail as the > subdivision creation failed. Could you please confirm if you were creating > the ad group via Google Ads UI? If so, you will need to first remove the > default product partition and then retry to create your new product > partition. If you want to do this in a new ad group, you could create one > via the API and then use the code sample > <https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/shopping/add_product_partition_tree.py> > that > you shared to create the product partition. Please give this a try and let > me know if you face any issues. > > If you're using the custom labels you will need to specify the xsi_type as > ProductCustomAttribute. Please refer to this > <https://developers.google.com/adwords/api/docs/samples/python/shopping-campaigns#set-a-product-scope-for-a-campaign> > sample > as a reference. You may refer to this guide > <https://developers.google.com/adwords/api/docs/guides/shopping#modifying_existing_productpartition_trees> > on > how to update existing partitions. > > Let me know if you have any other questions. > > Regards, > Bharani, Google Ads API Team > > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > Also find us on our blog and discussion group: > https://ads-developers.googleblog.com/search/label/google_ads_api > https://developers.google.com/adwords/api/community/ > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > > Was your question answered? Please rate your experience with us by taking > a short survey. > If not -- reply to this email and tell us what else we can do to help. > > Take Survey > <https://support.google.com/google-ads/contact/survey_transactional?caseid=0-5303000025980&hl=en&ctx=1> > > Also find us on our blog and discussion group: > http://googleadsdeveloper.blogspot.com/search/label/adwords_api > https://developers.google.com/adwords/api/community/ > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/8b5e5a8d-0b54-4e9b-856a-6e2ab6baa35b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
