Hi, Mustafa.
That sounds like an awesome project! We have a Python client library that can be used to call the AdSense Management API. The best place to start is our
Python examples folder. You can follow the steps in the README to set up the Python client library, and then you can use the
generate_report.py example for your use case (it already has ESTIMATED_EARNINGS as one of the metrics that is fetched).
If you run into any issues, let me know, and I can help you get unstuck.
 |
Donovan McMurray |
AdSense API Team |
|
|
|

ref:_00D1U1174p._5004Q2RABe1:ref