Thank you for your reply,

Unfortunately, I cannot send the SOAP request and the request fails prior 
to actually sending it to the server. 
As can be seen from the error log I attached, this is some sort of error in 
the package while trying to build the request and not with the reply from 
the server.

I updated the package to the latest version but I'm still getting the same 
result.

I'm attaching the code i'm using, which is basically a copy of the API 
example in python. This code works when using the ADD operator instead of 
REMOVE.
    mutate_members_operation = {
        'operand': {
            'userListId': list_id,
            'dataType': 'EMAIL_SHA256',
            'members': hashed_emails
        },
        'operator': 'REMOVE'
    }
    try:
        set_adwords_client(account_id)
        user_list_service = get_service(Services.ADWORDS_USER_LIST_SERVICE)
        response = 
user_list_service.mutateMembers([mutate_members_operation])

Thanks!


On Monday, July 18, 2016 at 5:53:34 AM UTC+3, Joyce Lava wrote:
>
> Hi,
>
> To better analyze the issue you encountered, I would need the SOAP request 
> and response. Could you please send them to me by clicking* reply 
> privately to author*?
>
> However, regarding the removal of members from the CrmBasedUserList 
> <https://developers.google.com/adwords/api/docs/reference/v201605/AdwordsUserListService.CrmBasedUserList>,
>  
> you will need to use MutateMembersOperation 
> <https://developers.google.com/adwords/api/docs/reference/v201605/AdwordsUserListService.MutateMembersOperation>
>  with 
> REMOVE operator and pass the list of members to be removed. These members 
> should be formatted according to the specified dataType 
> <https://developers.google.com/adwords/api/docs/reference/v201605/AdwordsUserListService.MutateMembersOperand#datatype>
> .
>
> Best Regards,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/8e75a8dd-f230-40db-b961-8dd29423f462%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to