Hi, we are having an issue where after we create an user list with name of 
'Foo' and then successfully delete it, we are then unable to make another 
user list with the same name of 'Foo'.

Here's an example of the request/response error we run into when creating a 
user list with the same name as the one we deleted previously:

Request:
Method: /google.ads.googleads.v15.services.UserListService/MutateUserLists
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "REDACTED",
  "x-goog-api-client": "gl-python/3.10.14 grpc/1.47.0 gax/2.11.0 
gccl/22.1.0 pb/4.21.7",
  "x-goog-request-params": "customer_id=REDACTED"
}
Request: customer_id: "REDACTED"
operations {
  create {
    name: "Foo"
    description: "All users that have visited Foo"
    membership_status: OPEN
    membership_life_span: 30
    rule_based_user_list {
      flexible_rule_user_list {
        inclusive_rule_operator: AND
        inclusive_operands {
          rule {
            rule_item_groups {
              rule_items {
                name: "event"
                string_rule_item {
                  operator: EQUALS
                  value: "page_view"
                }
              }
            }
          }
          lookback_window_days: 7
        }
      }
    }
  }
}

Response:

Fault: errors {
  error_code {
    user_list_error: NAME_ALREADY_USED
  }
  message: "Name is already being used for another user list for the 
account."
  trigger {
    string_value: "Foo"
  }
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "name"
    }
  }
}
request_id: "PsYv4uLC_UBhizFv-4ubHQ"

When we attempt to retrieve all user lists via the below query, the "Foo" 
user list also does not show up:

SELECT
              user_list.id,
              user_list.resource_name,
              user_list.name,
              user_list.description,
              user_list.membership_life_span,
              user_list.membership_status
            FROM user_list

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/ae80a3a9-c2fa-4140-ad04-86310a3854c9n%40googlegroups.com.
  • De... Kevin Yang
    • ... Kevin Yang
      • ... Prashant Patidar
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to