I am using the python client library and want to use the API to change the 
status of a CrmBasedUserList from OPEN to CLOSED since the remove operator 
isn't supported.

I am submitting the following as my list of operations where list_id is of 
type integer:

[
    {
        "operator": "SET",
        "operand": {
            "status": "CLOSED",
            "id": list_id
        }
    }
]

I am getting the following error as a response:

[UserListError.USER_LIST_MUTATE_NOT_SUPPORTED @ operations[0].operand]

Am I missing something in the operand? I have reviewed the documentation 
<https://developers.google.com/adwords/api/docs/reference/v201708/AdwordsUserListService.CrmBasedUserList#top_of_page>
 and 
'id' is the only required field for the set operator.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscr...@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+unsubscr...@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/90d3e06d-d818-4b94-8bf6-391f1de985df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • set CrmBasedUse... Stephanie Vance
    • Re: set Cr... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: se... Stephanie Vance
        • Re... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
          • ... Stephanie Vance

Reply via email to