Hello

I try create a AdGroupCriterion, but the api response is:

status { code: 3 message: "Ad group is invalid due to the listing groups it 
contains., at 
mutate_operations[0].ad_group_criterion_operation.create.listing_group" 
details { type_url: 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure" 
value: "\n\242\001\n\003\200\002j\022:Ad group is invalid due to the 
listing groups it 
contains.\032\013\020\373\377\377\377\377\377\377\377\377\001\"R\022\025\n\021mutate_operations\030\000\022\036\n\034ad_group_criterion_operation\022\010\n\006create\022\017\n\rlisting_group"
 
} } [2023-01-19, 16:59:55 UTC] {process_batch_factory.py:192} INFO - ERROR 
[2023-01-19, 
16:59:55 UTC] {process_batch_factory.py:193} INFO - N/A [2023-01-19, 
16:59:55 UTC] {process_batch_factory.py:194} INFO - ERROR 2 [2023-01-19, 
16:59:55 UTC] {process_batch_factory.py:195} INFO - operation_index: 1 
status { code: 3 message: "Ad group is invalid due to the listing groups it 
contains., at 
mutate_operations[1].ad_group_criterion_operation.create.listing_group" 
details { type_url: 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure" 
value: "\n\242\001\n\003\200\002j\022:Ad group is invalid due to the 
listing groups it 
contains.\032\013\020\373\377\377\377\377\377\377\377\377\001\"R\022\025\n\021mutate_operations\030\001\022\036\n\034ad_group_criterion_operation\022\010\n\006create\022\017\n\rlisting_group"
 
} } [2023-01-19, 16:59:55 UTC] {process_batch_factory.py:192} INFO - ERROR 
[2023-01-19, 
16:59:55 UTC] {process_batch_factory.py:193} INFO - N/A [2023-01-19, 
16:59:55 UTC] {process_batch_factory.py:194} INFO - ERROR 2 [2023-01-19, 
16:59:55 UTC] {process_batch_factory.py:195} INFO - operation_index: 2 
status { code: 3 message: "Dimension type of listing group must be the same 
as that of its siblings., at 
mutate_operations[2].ad_group_criterion_operation.create.listing_group.case_value"
 
details { type_url: 
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure" 
value: "\n\277\001\n\003\200\002m\022IDimension type of listing group must 
be the same as that of its 
siblings.\032\013\020\377\377\377\377\377\377\377\377\377\001\"`\022\025\n\021mutate_operations\030\002\022\036\n\034ad_group_criterion_operation\022\010\n\006create\022\017\n\rlisting_group\022\014\n\ncase_value"
 
} } 

My Batch operations are:

{ create { resource_name: 
"customers/3084423348/adGroupCriteria/144928363826~-1" status: ENABLED 
listing_group { type_: SUBDIVISION } } } , ad_group_criterion_operation { 
create { resource_name: 
"customers/3084423348/adGroupCriteria/144928363826~-3" status: ENABLED 
listing_group { type_: UNIT case_value { product_item_id { value: 
"114985415" } } parent_ad_group_criterion: 
"customers/3084423348/adGroupCriteria/144928363826~-1" } cpc_bid_micros: 
60000 } } , ad_group_criterion_operation { create { resource_name: 
"customers/3084423348/adGroupCriteria/144928363826~-5" status: ENABLED 
listing_group { type_: UNIT case_value { product_condition { } } 
parent_ad_group_criterion: 
"customers/3084423348/adGroupCriteria/144928363826~-1" } cpc_bid_micros: 
60000 } }

I
Thanks,
Ernesto

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c4e6b2ac-48e5-4cb8-9974-1e1241e01e5en%40googlegroups.com.
  • Er... Ernesto De Unanue
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to