Hi Jia,
Thank you for reaching out. I would recommend using
segments.geo_target_country instead of segments.geo_target_state in order to get the metrics at the country level.
If you are still seeing a discrepancy, please share your client customer ID and a screenshot of the UI
via Reply privately to author so I can further investigate the issue.
Regards,
Mitchell
Google Ads API Team

ref:_00D1U1174p._5004Q217rhJ:ref