Hi Ananth,
Thanks for reaching out. Please refer to this code example on how to update the existing account budget. Please follow this guide on how to replace the budget of an existing campaign. Please let me know if you have any further concerns.
Thanks and regards,
Xiaoming, Google Ads API Team