Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-09-03 Thread Google Ads API Forum Advisor Prod
Hi Inilien, Thanks for all the feedback! I'm really glad you were able to get past the issue you were having. I completely agree that we should make these details clear in our documentation. I'm pretty sure all of this functionality is working as expected, so I'll work on some updates to our do

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-09-01 Thread Inilien Inilien
Also, if I have AdGroup with root node without children and want to add children to it, then I need to remove current root node and create new one (since `listing_group.type` is immutable field and update operation is prohibited). But the order of operations in this case is also crucial - the `

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-09-01 Thread Inilien Inilien
Turns out that for deletion there is the same problem: If I am trying to remove parent and child nodes in the same mutate request and if in my `operations` list I specify parent first, then I will get ` LISTING_GROUP_DOES_NOT_EXIST` error for child remove operation. I assume this is happening be

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-09-01 Thread Inilien Inilien
Hi Ben. I've finally found time to compare differences in implementations. Turns out that the reason for errors I was getting is the order of operations in array which I give as parameter to the `mutate_ad_group_criteria` method. Originally, when I make the API call, the `root` node is on the l

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-30 Thread Google Ads API Forum Advisor Prod
Hi Inilian, Apologies for the delayed response. That PR you found is still under review and definitely not final, so that's why there are style issues and misnamed variables. However I'm glad that you were able to use it to make a successful request. Are there any differences between the code

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-27 Thread Inilien Inilien
gle Groups' one. Not sure > about other email providers) > > > On Tuesday, August 27, 2019 at 12:22:07 PM UTC+3, Inilien Inilien wrote: >> >> >> >> -- Forwarded message - >> From: Google Ads API Forum Advisor Prod >> Date:

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-27 Thread Inilien Inilien
, 2019 at 11:05 PM > Subject: Re: cannot create shopping ProductGroup tree in one batch. > Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error > To: inil...@gmail.com > > > Hi Inilien, > > I'll respond to your questions inline below: > >1. My advice

Fwd: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-27 Thread Inilien Inilien
-- Forwarded message - From: Google Ads API Forum Advisor Prod Date: Mon, Aug 26, 2019 at 11:05 PM Subject: Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error To: inil...@gmail.com Hi Inilien, I'll respo

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-23 Thread Inilien Inilien
Hi Ben. the issue here is that one of the AdGroupCriterion in your request needs to > have a case_value field that is not set Sorry, but I thought I already tried that. Here are my protobuf messages and responses https://groups.google.com/d/msg/adwords-api/MKoKH8xVn-k/0q3JVm2nAgAJ (I don't ha

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-21 Thread Google Ads API Forum Advisor Prod
Hi Inillien - Thanks for this question and for sending over all of this detailed information. I'm the maintainer of our Python client library so should be able to help with this issue. Unfortunately we don't have an example for adding a product listing group tree in Python, but that will hopefu

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-20 Thread Inilien Inilien
Sorry, just to be sure that we are on the same page, I would like to remind that I am using Python client library `google-ads` I appreciate the java code you created very much but sadly it is of little use to me ((( I compared the protobuf messages for operations you created with that Java cod

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-20 Thread Google Ads API Forum Advisor Prod
Hello, Thank you for trying out various scenarios. I have made a few changes to the code to add the ListingCustomAttribute with a UNIT and OTHERS node. Could you please take a look and let me know if you encounter any issues? I have attached the corresponding SOAP logs for your reference. Rega

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-20 Thread Inilien Inilien
Hmm.. If I understood you correctly, the main hypothesis is that the `case_field` of my create operation which should create the "Other" node is wrong. I have tried several different variants of setting it: *attempt 1*: remove `index` from `listing_custom_attribute` [create { status: ENABLED

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-19 Thread Google Ads API Forum Advisor Prod
Hello, Thank you for checking this. Let me explain this in detail. Based on your logs shared, you are creating a SUBDIVISION which will introduce the new level in tree. Here you are creating two units with index: INDEX0. This is still missing the Others node. Each subdivision must always be com

Re: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-17 Thread Inilien Inilien
Thanks for your reply. Sadly I cannot overcome the issue. I do not see any difference (related to the "Others" case problem) between my protobuf messages and the link to the guide you posted (in fact I used the same guide and the fuller version of that code

RE: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-15 Thread Google Ads API Forum Advisor Prod
Hello, The error LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE indicates that the Others case is missing in the tree. Each subdivision must always be completely partitioned, so it must contain a node representing Other which has an "empty" case_value of the correct type. This child is usually

RE: cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-15 Thread Google Ads API Forum Advisor Prod
Hello, The error LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE indicates that the Others case is missing in the tree. Each subdivision must always be completely partitioned, so it must contain a node representing Other which has an "empty" case_value of the correct type. This child is usually

cannot create shopping ProductGroup tree in one batch. Getting LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE error

2019-08-15 Thread Inilien Inilien
I am using Python google-ads module and Google Ads API v2 (Beta) In my test account's shopping campaign I am trying to create 3 ProductGroups in an empty AdGroup. I can successfully create single root level AdGroupCriterion with listing_group type: UNIT but when I am trying to create 3 AdGroup