Hi Karl,
Thanks for posting your concern.
I would like to clarify first that it is not possible to create graph using API as highlighted in your post.
Moving forward, could you confirm if you want to generate report using
Google Ads API or
AdWords API?
If you will use AdWords API, then you can create a report using
Account Performance Report as the metrics that have shown in the screenshot can be retrieve by the said report.
If Google Ads API will be used to create report, then you can use the
customer report and you may refer to this
document to read more details on how to generate report on Google Ads API.
Let me know if you have further questions.
Regards,
 |
| Ernie John Blanca Tacata |
| Google Ads API Team |
|
|
| |

ref:_00D1U1174p._5004Q268TXC:ref