Hello George,
Thank you for reaching out to us.
In the Google Ads API's perspective, you can use the keyword_view to retrieve keyword metrics and utilize the cost_micros field. However, please note that this view doesn't allow you to segment the results in hourly basis. You can check the available segment fields on that view for more details.
Regards,
Reminder: Share your feedback about the Google Ads (AdWords) API! Take the 2021 Google Ads API and AdWords API Annual Survey
 |
| Mark Kevin Albios |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q2RwxDj:ref