Getting error UserListError.INVALID_TYPE when trying to modify a Rule-based user list

44 views
Skip to first unread message

Gavin Rifkind

unread,
Mar 3, 2015, 4:31:49 AM3/3/15
to adwor...@googlegroups.com
Good day
I am trying to modify a Rule-based user list using the API.
For user lists that were created using the API, it words fine.
For user lists that were created manually via the AdWords GUI, I am getting the exception UserListError.INVALID_TYPE

What I have seen when using the "get" is that the user lists created with the API have
               listType = RULE_BASED
               UserList.Type = ExpressionRuleUserList

whereas the user lists created manually have
               listType = null
               UserList.Type = UserList

I have tried to set these fields when doing the modify operation, but that does not help.

Is there any work around for this?

Josh Radcliff (AdWords API Team)

unread,
Mar 3, 2015, 4:54:44 PM3/3/15
to adwor...@googlegroups.com
Hi,

At this point rule-based lists created through the UI and the API use a different underlying structure, so you'll only be able to edit them in the context in which they were created. In other words, you can only edit lists created via the UI using the UI, and you can only edit lists created via the API using the API.

Cheers,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages