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

2019-09-01 Thread Inilien Inilien
`remove` operation should be specified first and creation of root - second (with children after that). It really would be nice if bulk operations did not require strict order. On Sunday, September 1, 2019 at 3:41:26 PM UTC+3, Inilien Inilien wrote: > > Turns out that for deletion there

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

2019-09-01 Thread Inilien Inilien
node) or reorder operations in a reverse breadth-first search order. Once again I do not know if this is a bug or a feature but providing information about this in documentation would be very helpful. On Sunday, September 1, 2019 at 1:47:05 PM UTC+3, Inilien Inilien wrote: > > Hi Ben. &g

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-27 Thread Inilien Inilien
ure out the difference now... Just wanted you to know that the protobuf messages seem to be correct (at least the ones with the `listing_brand` case_value) On Tuesday, August 27, 2019 at 1:28:44 PM UTC+3, Inilien Inilien wrote: > > Hi Ben. > > You wrote: > > Have you tried call

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

2019-08-27 Thread Inilien Inilien
these messages is different from Google 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: Mon, Aug 26

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 respond to

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-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 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-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

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

cannot create shopping product groups tree in one batch

2019-08-15 Thread Inilien Inilien
I am using Python google-ads library for Google Ads API v2 (Beta) Using test account I am trying to create 3 product Groups in an empty AdGroup. I have been able to successfully create root single ProductGroup with type `UNIT` but cannot create `SUBDIVISION` ones. Here are my AdGroupCriterionOper