How to update MembershipLifeSpan of already created UserList

54 views
Skip to first unread message

Lemnisk Referral

unread,
Mar 28, 2022, 12:07:45 PM3/28/22
to Google Ads API and AdWords API Forum
Hi,
I want to update MembershipLifeSpan of userList but i am not able to find any method which does that. Can someone please help with the steps?
Kind Regards

Google Ads API Forum Advisor

unread,
Mar 29, 2022, 3:15:49 AM3/29/22
to lemnisk...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to us.

You can use the UserListService's mutate method to pass an UPDATE operation, containing the updated details of your userlist . Let me know if this helps.

Best regards,
Google Logo
Heidi
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsBMX:ref

Ajit Trivedi

unread,
Mar 29, 2022, 5:22:20 AM3/29/22
to Google Ads API and AdWords API Forum
Hi,
Thank you for helping out, but I still did not get the ans that i am looking for . Let's say i have already created a userList with some memberShipLifeSpan of 50 and now i want to update the memberShipLifeSpan of the same userList to 100. How can I do this? i am using java library. I do not see any method that is available to update the memberShipLifeSpan of already created userList.
Thanks

Google Ads API Forum Advisor

unread,
Mar 29, 2022, 9:35:57 PM3/29/22
to lemnisk...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for your reply.

We currently do not have an example specific to what you are looking for. However, as mentioned by Heidi, you can pass a UserList object with the updated details such as for the membership_life_span attribute, unto the UserListOperation, and use the UPDATE operation for the request to apply the changes.

Should you require further assistance with the implementation in Java, you may reach out instead to the Java client library owners via this link.

Best regards,

Google Logo
Peter Laurence
Google Ads API Team
 


ref:_00D1U1174p._5004Q2YsBMX:ref
Reply all
Reply to author
Forward
0 new messages