Friday, November 19, 2021

Digest for adsense-api@googlegroups.com - 2 updates in 1 topic

Mustafa Demir <demirp55@gmail.com>: Nov 17 07:06PM -0800

I'm very new to this stuff and my coding knowledge is pretty weak.
I want to show my daily estimated earnings on the Raspberry Pi screen. Just
like the youtube stats show in this video.
 
https://www.youtube.com/watch?v=09OjXKzsNvY
 
But I couldn't find how to write the code. How can I use these metrics with
python? Is there a detailed guide? As I said, my coding knowledge is very
poor, I really need a guide.
Ad Sense API <adsenseapi@forumsupport.google>: Nov 18 03:46PM

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
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com.