Hello,
Thanks for reaching out. Can you please clarify if you are using the Ads or AdWords API? I see you have linked the Workspace Admin SDK. If you are using the Ads API, please see
this page for more information for retrieving refresh and access tokens with cURL.
Regards,
Matt
Google Ads API Team

ref:_00D1U1174p._5004Q2JC0KO:ref