Hi Juan,
Unfortunately, we don't have any examples on how to add it using any language. Just like with other criteria, you will need to set the fields specific to the criteria. For ad schedules, you will need to set fields such as start_hour and end_hour. If you are facing any difficulties, you can share your logs so that I can take a closer look.
Regards,
Anthony
Google Ads API Team