Internal error when trying to remove existing ad group critieria

32 views
Skip to first unread message

Shehan Jayasinghe

unread,
Jun 18, 2023, 10:01:20 AM6/18/23
to Google Ads API and AdWords API Forum
We get this message when trying to remove ad group criteria

ud {
  errors: [
    _d { error_code: [p], message: 'An internal error has occurred.' }
  ]
}

p { internal_error: 2 }

request ID is zQu6rDDLZLl5SCGdXd_XIw

We are on v13 (just recently upgraded from v12 -> v13) 
This campaign was created while on v12

Shehan Jayasinghe

unread,
Jun 19, 2023, 12:14:03 AM6/19/23
to Google Ads API and AdWords API Forum
Apologies, this does not occur when trying to delete ad group criteria. It happens when trying to create a website-visitor user list.
We have migrated to flexible rule user lists. We're currently unable to create a user list due to this issue

Shehan Jayasinghe

unread,
Jun 19, 2023, 12:29:54 AM6/19/23
to Google Ads API and AdWords API Forum
Fixed it by adding the following when creating the user list

  exclusive_operands: [{}]

complete structure

 userLists = [{
                        name: data.name,
                        membership_life_span: data.membership_lifespan ?? 365,
                        membership_status: enums.UserListMembershipStatus.OPEN,
                        rule_based_user_list: {
                            prepopulation_status: data.pre_populate ? enums.UserListPrepopulationStatus.REQUESTED : enums.UserListPrepopulationStatus.UNSPECIFIED,
                            flexible_rule_user_list: {
                                inclusive_rule_operator: enums.UserListFlexibleRuleOperator.OR,
                                inclusive_operands: [{
                                    rule: {
                                        rule_type: enums.UserListRuleType.OR_OF_ANDS,
                                        rule_item_groups: [{
                                            rule_items: [{
                                                name: 'url__',
                                                string_rule_item: {
                                                    operator: enums.UserListStringRuleItemOperator.CONTAINS,
                                                    value: data.website
                                                }
                                            }]
                                        }]
                                    }
                                }],
                                exclusive_operands: [{}]
                            }
                        }
                    }];

Google Ads API Forum Advisor

unread,
Jun 20, 2023, 12:05:16 PM6/20/23
to she...@digitalmediasolutions.com.au, adwor...@googlegroups.com

Hi,

Welcome to the Google Ads API Forum Channel. I hope you're doing great today.

It appears that you have already resolved your concern. If you still need further assistance for the same issue, let us know the details and we'll be glad to assist. However, if you have a new concern, kindly create a separate thread in this forum so we can better track the issue.

This message is in relation to case "ref:_00D1U1174p._5004Q2mV2ql:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages