Hi,

I've created and deleted a user list via the API if I then want to create a 
new user list with the same name I get an error that the name is already 
being used. 

The UI doesn't show any user lists. 

The API returns no existing user lists:

{
  "service": "google.ads.googleads.v5.services.GoogleAdsService",
  "method": "Search",
  "messages": [
    {
      "message_origin": "client",
      "raw_message": "*****",
      "message": {
        "1": "*****",
        "2": "SELECT user_list.id, user_list.name FROM user_list ORDER BY 
user_list.id"
      },
      "timestamp": "2021-03-08T10:24:51.774218+01:00"
    },
    {
      "message_origin": "server",
      "raw_message": "Kh4KDHVzZXJfbGlzdC5pZAoOdXNlcl9saXN0Lm5hbWU=",
      "message": {
        "5": {
          "1": [
            "user_list.id",
            "user_list.name"
          ]
        }
      },
      "timestamp": "2021-03-08T10:24:52.165304+01:00"
    }
  ],


but if I want to create a new one reusing the name I get

{
  "service": "google.ads.googleads.v5.services.UserListService",
  "method": "MutateUserLists",
  "messages": [
    {
      "message_origin": "client",
      "raw_message": "*****",

      "message": {
        "1": "*****",
        "2": {
          "1": {
            "4": {
              "1": "test.csv"
            },
            "8": {
              "1": "30"
            },
            "19": {
              "2": "2"
            }
          }
        }
      },
      "timestamp": "2021-03-08T10:29:17.794712+01:00"
    }
  ],
  "error": {
    "code": "InvalidArgument",
    "message": "Request contains an invalid argument."
  },


"metadata_response_trailers": {
  "google.ads.googleads.v5.errors.googleadsfailure-bin": [
    "\np\n\u0003\ufffd\u0004\u000c\u0012AName is already being used for another 
user list for the 
account.\u001a\u0002*\u0000\"\"\u0012\u000e\n\noperations\u0012\u0000\u0012\u0008\n\u0006create\u0012\u0006\n\u0004name"
  ],
  "request-id": [
    "S9z-kLX4WEp7bLhZRGZ9Dg"
  ]
}


Why is that? Does it take some time before the previous user list is 
deleted? Why is no user list shown in the UI or returned via the API if one 
with the same name already exists?

Kind regards,

Sebastian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/38f75e7e-4a19-4d5c-bf98-e7f3795ac710o%40googlegroups.com.

Reply via email to