Hello,
If you are using AdWords API, you can try using the
TrafficEstimatorService to retrieve traffic estimates for proposed or existing campaigns, ad groups, and keywords, including estimated stats. To see what TrafficEstimatorService corresponds to in the Google Ads API, you can refer
here.
Let me know if you have additional questions.
Regards,
Danica, Google Ads API Team

ref:_00D1U1174p._5004Q23HOit:ref