RE: How to update UserListMembershipStatus to CLOSED on UserList

2022-09-02 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Alex,

Thank you for reaching out to us.

You may refer to this code sample and check this documentation as the 
membership status field that you need is present here. However, in creating the 
user list, you can update it in a similar way.

Best regards,

Heidi
Google Ads API Team
ref:_00D1U1174p._5004Q2duesH:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/v0QVh0RHL74W00WVZCaEsdSmOUtBZ1sHGqiw%40sfdc.net.


How to update UserListMembershipStatus to CLOSED on UserList

2022-09-02 Thread 'Alex Vezeau' via Google Ads API and AdWords API Forum
Using JAVA GOOGLE ADS API V10

I see that when we remove a data segment (UserList) from the web interface, 
the data segment is removed and the membership status is changed to 
CLOSED.  I would like to do the same thing using the API.  I was able to 
remove the user list, but the membership status stays at open.  

Could you point me to code or example on how I could update the membership 
status of a data segment (UserList). 

Classes currently used : 
UserListOperation
UserListOperation.setRemove
UserListServiceClient.mutateUserLists

Thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/6903d5ba-664a-453f-8388-78f80375c039n%40googlegroups.com.