Is there any suggestions here?

On Wednesday, August 18, 2021 at 10:17:53 AM UTC+10 asharm...@agl.com.au 
wrote:

> Hi Team,
>
> I am trying to delete all existing users from an existing custom audience 
> (user list) before adding new set of users.
>
> I am using below code:
>
> using (var userListService =
>                 
> (AdwordsUserListService)_adWordsUser.GetService(AdWordsService.v201809.AdwordsUserListService))
>             {
>                 //set the partial Failure as true
>                 userListService.RequestHeader.partialFailure = true;
>
>                 var mutateMembersOperation = new MutateMembersOperation
>                 {
>                     operand = new MutateMembersOperand
>                     {
>                         userListId = long.Parse(customAudienceId),
>                         membersList = null,
>                         removeAll = true
>                     },
>                     @operator = Operator.REMOVE
>                 };
>                 
>                 var mutateMembersResult = await 
> userListService.mutateMembersAsync(
>                     new MutateMembersOperation[]
>                     {
>                         mutateMembersOperation
>                     });
>             }
>
> My question is: 
> Do I need to wait for all existing users to be deleted from the existing 
> custom audience (user list) before adding new set of users ?
>
> Thanks,
> Abhinav
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b5dec5e4-2caa-4d86-8531-49bd1943b67en%40googlegroups.com.
  • Delete all... 'asharm...@agl.com.au' via AdWords API and Google Ads API Forum
    • RE: D... Google Ads API Forum Advisor
    • Re: D... 'asharm...@agl.com.au' via AdWords API and Google Ads API Forum
      • R... 'asharm...@agl.com.au' via AdWords API and Google Ads API Forum
        • ... Google Ads API Forum Advisor

Reply via email to