Listing all user lists returns nothing but creating new user complaints about name already being used.

188 views
Skip to first unread message

Sebastian Rickelt

unread,
Mar 8, 2021, 4:43:51 AM3/8/21
to AdWords API and Google Ads API Forum
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

Google Ads API Forum Advisor Prod

unread,
Mar 8, 2021, 9:08:41 PM3/8/21
to seba...@movio.co, adwor...@googlegroups.com
Hi Sebastian,

Thank you for posting your concern.

To have a deeper analysis to your issue, could you provide the following details for the user_list report and creating user list with the error via Reply privately to author option?
If you haven't enabled the logging of the API transactions for the specific client library that you are using, then please refer to the specific guide below:
Regards,
Google Logo
Ernie John Blanca Tacata
Google Ads API Team
 


ref:_00D1U1174p._5004Q2DLyk4:ref
Reply all
Reply to author
Forward
0 new messages