Hello Atif,
Thank you for reaching out. Please refer to this guide for the steps to be followed while making an API call using C# client libraries. This will guide you to generate and specify the credentials correctly in your config file. The error "Failed to refresh Access Token" is observed when your refresh token is probably expired. There is likely an issue with your OAuth Credentials. Could you please try to generate a new set of credentials by following this guide and see if that fixes the issue? If you are still having an issue, please provide the complete request and response logs along with the email address used to generate the credentials using Reply privately to author so that I can further investigate the issue.
Regards,
Nikisha Patel, Google Ads API Team