Hello,
Thank you for reaching out. Unfortunately, we do not have sample code for creating userLists in Python, but we do have code samples available
here in Java for you to use as reference. Additionally, you can find the available UserListOperations
here. You can also refer to our Remarketing and Audience Targeting guide
here for more details. For our Customer Match guide, you can refer
here.
If you have any additional questions or if you run into any issues during your implementation, let us know.
Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q23IGjG:ref