Hi Jia, My apologies as we currently do not have a sample code or XML for what you wish to achieve. However, in your request, it appears that you also need to include the removeAll <https://developers.google.com/adwords/api/docs/reference/v201809/AdwordsUserListService.MutateMembersOperand#removeall> field in your request in order to remove your members from your userlist.
Best regards, Peter AdWords API Team On Friday, November 16, 2018 at 4:01:10 PM UTC+8, jia zheng wrote: > > When I send the following request, > <v:mutate xmlns="https://adwords.google.com/api/adwords/rm/v201802"> > <v:operations> > <v1:operator>REMOVE</v1:operator> > <v:operand xsi:type="LogicalUserList"> > <v:id>736723026</v:id> > </v:operand> > </v:operations> > </v:mutate></x:Body></x:Envelope> > > return > > [{"faultcode":["soap:Client"],"faultstring":["[OperatorError.OPERATOR_NOT_SUPPORTED > > @ operations[0]]"],"detail":[{"ApiExceptionFault":[{"$":{"xmlns":" > https://adwords.google.com/api/adwords/cm/v201802","xmlns:ns2":" > https://adwords.google.com/api/adwords/rm/v201802"},"message":["[OperatorError.OPERATOR_NOT_SUPPORTED > > @ > operations[0]]"],"ApplicationException.Type":["ApiException"],"errors":[{"$":{"xmlns:xsi":" > http://www.w3.org/2001/XMLSchema-instance > ","xsi:type":"OperatorError"},"fieldPath":["operations[0]"],"fieldPathElements":[{"field":["operations"],"index":["0"]}],"trigger":[""],"errorString":["OperatorError.OPERATOR_NOT_SUPPORTED"],"ApiError.Type":["OperatorError"],"reason":["OPERATOR_NOT_SUPPORTED"]}]}]}]}] > > > When I send the following request, > <v:mutateMembers> > <v:operations> > <v:operator>REMOVE</v:operator> > <v:operand xmlns:ns8="https://adwords.google.com/api/adwords/rm/v201802"> > <v:userListId>736723029</v:userListId> > </v:operand> > </v:operations> > </v:mutateMembers></x:Body></x:Envelope> > > return > > [{"faultcode":["soap:Client"],"faultstring":["[OperatorError.OPERATOR_NOT_SUPPORTED > > @ operations[0], RequiredError.REQUIRED @ operations[0].operator]"], > "detail":[{"ApiExceptionFault":[{"$":{"xmlns":" > https://adwords.google.com/api/adwords/cm/v201802","xmlns:ns2":" > https://adwords.google.com/api/adwords/rm/v201802"}, > "message":["[OperatorError.OPERATOR_NOT_SUPPORTED @ operations[0], > RequiredError.REQUIRED @ > operations[0].operator]"],"ApplicationException.Type":["ApiException"], > "errors":[{"$":{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance > ","xsi:type":"OperatorError"},"fieldPath":["operations[0]"],"fieldPathElements":[{"field":["operations"], > > "index":["0"]}],"trigger":[""],"errorString":["OperatorError.OPERATOR_NOT_SUPPORTED"],"ApiError.Type":["OperatorError"],"reason":["OPERATOR_NOT_SUPPORTED"]}, > {"$":{"xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance > ","xsi:type":"RequiredError"},"fieldPath":["operations[0].operator"], > > "fieldPathElements":[{"field":["operations"],"index":["0"]},{"field":["operator"]}],"trigger":[""],"errorString":["RequiredError.REQUIRED"],"ApiError.Type":["RequiredError"],"reason":["REQUIRED"]}]}]}]}] > > How do I delete an audience? Can you give an example of XML? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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/ad9d0cda-6a77-40da-88a9-c34388b981d6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
