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 
<https://developers.google.com/google-ads/api/docs/samples/add-shopping-product-listing-group-tree>
 as 
a reference). I have a single root with 2 children one of which doesn't 
have `value` field in its `case_value` field which should make it the 
"Other" node.

Just to be sure, I also have tried to make my operations more like in the 
Java example:

[create {
   resource_name: "customers/5936312994/adGroupCriteria/82410873572~-1"
   status: ENABLED
   listing_group {
     type: SUBDIVISION
   }
 }, create {
   status: ENABLED
   ad_group {
     value: "customers/5936312994/adGroups/82410873572"
   }
   cpc_bid_micros {
     value: 10000000
   }
   listing_group {
     type: UNIT
     case_value {
       listing_custom_attribute {
         index: INDEX0
       }
     }
     parent_ad_group_criterion {
       value: "customers/5936312994/adGroupCriteria/82410873572~-1"
     }
   }
 }, create {
   status: ENABLED
   ad_group {
     value: "customers/5936312994/adGroups/82410873572"
   }
   cpc_bid_micros {
     value: 10000000
   }
   listing_group {
     type: UNIT
     case_value {
       listing_custom_attribute {
         value {
           value: "1000-2000"
         }
         index: INDEX0
       }
     }
     parent_ad_group_criterion {
       value: "customers/5936312994/adGroupCriteria/82410873572~-1"
     }
   }
 }]

but it still doesn't work - the same 3 errors:

errors {
   error_code {
     ad_group_criterion_error: 
LISTING_GROUP_SUBDIVISION_REQUIRES_OTHERS_CASE
   }
   message: "Subdivided listing groups must have an \"others\" case."
   trigger {
     string_value: "ProductPartition{id=TempCriterionId{id=1}, 
bidSimulatorStatus=null, partitionType=SUBDIVISION, parentCriterionId=null, 
productGroup=null, productGroupObsoleteStatus=null, caseValue=null, 
decisionPath=[], salesCountry=null, merchantId=null, 
hasPromotedSuggestion=null}"
   }
 }
 errors {
   error_code {
     ad_group_criterion_error: LISTING_GROUP_DOES_NOT_EXIST
   }
   message: "Listing group referenced in the operation was not found in the 
ad group."
   trigger {
     string_value: "TempCriterionId{id=1}"
   }
   location {
     field_path_elements {
       field_name: "operations"
       index {
       }
     }
     field_path_elements {
       field_name: "create"
     }
     field_path_elements {
       field_name: "listing_group"
     }
     field_path_elements {
       field_name: "parent_ad_group_criterion"
     }
   }
 }
 errors {
   error_code {
     ad_group_criterion_error: LISTING_GROUP_DOES_NOT_EXIST
   }
   message: "Listing group referenced in the operation was not found in the 
ad group."
   trigger {
     string_value: "TempCriterionId{id=1}"
   }
   location {
     field_path_elements {
       field_name: "operations"
       index {
         value: 1
       }
     }
     field_path_elements {
       field_name: "create"
     }
     field_path_elements {
       field_name: "listing_group"
     }
     field_path_elements {
       field_name: "parent_ad_group_criterion"
     }
   }
 }



On Thursday, August 15, 2019 at 9:26:55 PM UTC+3, adsapiforumadvisor wrote:
>
> 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 
> referred to as Other because it represents "all other values" for 
> that ListingDimensionInfo. Please refer to this guide 
> <https://developers.google.com/google-ads/api/docs/shopping-ads/create-listing-groups>
>  for 
> more information. I have attached the sample logs from my testing as a 
> reference. Could you please take a look and let me know if you encounter 
> any issues?
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UEJA9R:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cdb21d6f-642c-4be2-8985-bb11a049e36e%40googlegroups.com.

Reply via email to