douyinWEB/docs/ADSENSE_API.md
eric 0dc70fdded Document YouTube YPP revenue API research (Analytics monetary scope).
Clarify AdSense doc is site ads only; channel earnings use yt-analytics-monetary.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 20:50:29 -05:00

15 lines
805 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# AdSense 收益数据 API 调研(仅分析,未接入)
> **YouTube 频道 YPP 创收请看 [YPP_REVENUE_API.md](./YPP_REVENUE_API.md)。**
> 本文只针对 **网站 AdSense**(`adsense.googleapis.com`),与 YPP 频道分成不是同一条 API。
结论:站点 AdSense **可以**用 [AdSense Management API](https://developers.google.com/adsense/management/getting_started) 拉预估收益(`accounts.reports.generate` + `ESTIMATED_EARNINGS`)。本仓库未接入。
| 项 | 说明 |
|----|------|
| 端点 | `https://adsense.googleapis.com` |
| 拉收益 | [`accounts.reports.generate`](https://developers.google.com/adsense/management/reference/rest/v2/accounts.reports/generate) |
| OAuth | `adsense` / `adsense.readonly` |
注意:报表是 **estimated**,不是到账流水。