Saturday, 16 July 2016

Removing members from a Crm user list with user list service's mutateMembers?

Hello,

I'm trying to understand how to add a user list and fill it with members. I've already managed to add members to a list by following the example code.
But, I can't find out how to remove members from the said list. I've tried sending the exact same request using the REMOVE/ SET operators but I received an unknown error (Added below).
The API documents claim that the remove/set operator is supported. Any Idea whats is wrong? 

    response = user_list_service.mutateMembers([mutate_members_operation])
  File "build/bdist.linux-x86_64/egg/googleads/common.py", line 323, in MakeSoapRequest
    for arg in args])
  File "build/bdist.linux-x86_64/egg/googleads/common.py", line 235, in _PackForSuds
    return [_PackForSuds(item, factory) for item in obj]
  File "build/bdist.linux-x86_64/egg/googleads/common.py", line 232, in _PackForSuds
    new_obj[key] = _PackForSuds(obj[key], factory)
  File "build/bdist.linux-x86_64/egg/googleads/common.py", line 232, in _PackForSuds
    new_obj[key] = _PackForSuds(obj[key], factory)
  File "build/bdist.linux-x86_64/egg/googleads/common.py", line 237, in _PackForSuds
    _RecurseOverObject(obj, factory)
  File "build/bdist.linux-x86_64/egg/googleads/common.py", line 255, in _RecurseOverObject
    copy_of_obj = tuple(obj)
TypeError: 'type' object is not iterable


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords 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+unsubscribe@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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/dddb140e-bc7f-4e99-a5ad-b9bd59d63e84%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment