Is there any way to delete user list via google AdWords API?
I was trying to do it this way:
def delete_userList(self, userListId):
mutate_members_operation = {
'operand': {
'userListId': userListId,
'membersList': []
},
'operator': 'REMOVE'
}
return self.userListService.mutate([mutate_members_operation])
and this:
def clear_userList(self, userListId):
mutate_members_operation = {
'operand': {
'userListId': str(userListId),
'removeAll': 'true'
},
'operator': 'REMOVE'
}
return self.userListService.mutateMembers([mutate_members_operation])
but nothing has worked as expected