issue GoogleAdsService user_list NAME_ALREADY_USED

184 views
Skip to first unread message

Ian Wills

unread,
Aug 2, 2022, 2:32:23 PM8/2/22
to Google Ads API and AdWords API Forum
I'm having an issue similar to https://groups.google.com/g/adwords-api/c/tCJst60Q9SI/m/DxO39l-zBAAJ . I have been creating and deleting many user_list's / segments for testing. There seems to be a user_list that does not show up in the query search for all user_list's , and it doesn't dhow up in the UI, but I still get a NAME_ALREADY_USED error when trying to create the user_list (ian test exchange - Complete List - 2). The below query is returning all 32 audiences that are in the UI.
I am using the .NET/C# library. 


string query2 = "SELECT user_list.id, user_list.name, user_list.size_for_display, user_list.size_for_search " +  "FROM user_list";

(Inner Exception #0) {
  "StatusCode": 3,
  "Details": "Request contains an invalid argument.",
  "RequestId": "Ywz5W_9MV8qJhCf1JwQNqQ",
  "Failure": {
    "errors": [
      {
        "errorCode": {
          "userListError": "NAME_ALREADY_USED"
        },
        "message": "Name is already being used for another user list for the account.",
        "trigger": {
          "stringValue": "ian test exchange - Complete List - 2"
        },
        "location": {
          "fieldPathElements": [
            {
              "fieldName": "operations",
              "index": 0
            },
            {
              "fieldName": "create"
            },
            {
              "fieldName": "name"
            }
          ]
        }
      }
    ],
    "requestId": "Ywz5W_9MV8qJhCf1JwQNqQ"
  }
googleAds.png

Google Ads API Forum Advisor

unread,
Aug 2, 2022, 4:25:57 PM8/2/22
to ian.w...@gmail.com, adwor...@googlegroups.com

Hi Ian,

Thanks for reaching out to the Google Ads API Forum.

I can see that you’ve encountered the NAME_ALREADY_USED error. This error indicates that when you tried to create the user_list (ian test exchange - Complete List - 2), this name is already being used for another user list for the account.

However, for us to check better, could you provide the complete logs in the format of the request and response logs, as seen in their respective links?

For you to enable complete logs on your end for the client library, logging can be enabled by navigating to the Client libraries > Your client library (ex Java) > Logging documentation, which you can access from this link. You may provide the requested logs via reply privately to author option.

Regards,

Google Logo
Yasar
Google Ads API Team
 


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