Google Play 收益报告工具

使用 Google 登录,加载收益报告,并将结算结果下载为 Excel。

// about

工具介绍

专为 Android 应用开发者打造的 Google Play 财务结算分析工具。快速汇总每月销售额、平台手续费、退款、税费和最终实际入账金额,并导出 Excel。

如何使用

  1. 连接您的 Google 账号或设置云存储 URI。
  2. 选择要查看与计算的年份和月份文件。
  3. 点击“处理”查看结算预览,并一键下载 Excel 文件。

人们为何使用此工具

  • 数秒内自动合并多个月份的 Google Play 销售额压缩包 (ZIP)。
  • 清晰分类显示总销售额、Google 扣费、退款额和扣税详情。
  • 可直接导出用于财务报税和记账的规范 Excel 汇总表。

常见问题解答 (FAQ)

我的 Google Play 财务数据安全吗?

绝对安全!所有解析均在当前会话中加密进行,绝不会向第三方透漏。

支持上传哪些格式的报告?

支持从 Google Play Console 导出的标准月度收益 ZIP 报告文件。

能导出为 Excel 表格吗?

是的,可以免费导出排版整洁的 Excel (.xlsx) 报表。

指南 · 收益 · 约 3 分钟

Google AdSense 与 Google Play 的付款机制:预估收入与最终收入、汇率和记账

一旦开始收到 Google 的收入,很快就会出现“为什么后台金额和银行到账对不上?”的疑问。了解收入如何确认和支付,每月对账就会轻松得多。

AdSense 后台实时显示的金额是预估收入。月份结束后,Google 会剔除无效流量并审核数据,最终收入通常在次月月初计入余额。因此预估金额和最终金额可能略有差异。

10 月 1–31 日   产生预估收入(后台)
11 月上旬       10 月收入确认 → 计入余额
11 月 21 日前后  余额 ≥ 门槛时发出付款
数日后          款项到达银行
AdSense 预估收入与最终收入的区别、每月付款时间表与付款门槛、付款被暂停的常见原因,以及外币收入如何记账。
阅读指南 →
用 AI 自己做

用 AI 亲手打造这个工具

想要自己的版本?把下面的任务提示词粘贴到 AI 聊天中,或将技能文件保存到 AI 编程助手。其中包含我们开发此工具时整理的功能、边界情况和测试用例。

提示词和技能以英文提供,AI 工具在任何语言环境下都能很好地理解。

AI 任务提示词

直接粘贴到 Claude、ChatGPT、Gemini 等 AI 聊天中即可。

You are an experienced full-stack web developer. Build a web tool called "Google Play 收益报告" that meets the requirements below.

## Goal

Build a web tool that signs in with Google, reads Google Play earnings reports from Cloud Storage and exports monthly totals of sales, fees, refunds, taxes and payouts to Excel.

## Core features

- Google OAuth sign-in with the devstorage.read_only scope
- List the Play Console report bucket (gs://pubsite_prod_...)
- Download and parse yearly earnings ZIP/CSV files
- Totals by transaction type, month and currency
- Export to Excel (.xlsx)

## Inputs

- Google sign-in
- Bucket URI and year

## Outputs

- Monthly settlement summary
- Excel file

## Edge cases and handling rules

- Explain missing bucket permissions
- Handle CSV encoding and delimiter differences
- Aggregate refunds (negative rows) and tax rows separately
- Stream large files

## Implementation requirements

- Requires a server-side implementation. Request read-only scopes and use report files only temporarily during the session.
- State the purpose of data use on the OAuth consent screen and in the privacy policy.
- Make the UI responsive and easy to use on mobile; label every input and keep everything keyboard accessible.
- Add a Copy button for results and show clear, friendly error messages for invalid input.
- Keep the core logic in functions separate from the UI so it can be unit-tested.

## Definition of done (test cases)

- Monthly totals from a sample CSV match a manual calculation
- Refunds reduce sales
- Clear error for a bucket without access

First outline your implementation plan in at most five lines, then write the complete code, and finally explain how to check the test cases above.

技能 (SKILL.md)

在 Claude Code 等 AI 编程助手中保存为 .claude/skills/build-google-play-earning/SKILL.md,以后开发或修改此工具时可重复使用。

---
name: build-google-play-earning
description: Use when building or changing a Google Play 收益报告 tool. Build a web tool that signs in with Google, reads Google Play earnings reports from Cloud Storage and exports monthly totals of sales, fees, refunds, taxes and payouts to Excel.
---

# Build: Google Play 收益报告

## Goal

Build a web tool that signs in with Google, reads Google Play earnings reports from Cloud Storage and exports monthly totals of sales, fees, refunds, taxes and payouts to Excel.

## Workflow

1. Review the required features, inputs and outputs below and ask about anything missing first.
2. Implement the core logic as pure functions separate from the UI.
3. Check the logic against the test cases in the verification list.
4. Build a responsive UI with an input form, a result area and a Copy button.
5. Reproduce each edge case listed under Rules and refine the error messages.

## Core features

- Google OAuth sign-in with the devstorage.read_only scope
- List the Play Console report bucket (gs://pubsite_prod_...)
- Download and parse yearly earnings ZIP/CSV files
- Totals by transaction type, month and currency
- Export to Excel (.xlsx)

## Inputs

- Google sign-in
- Bucket URI and year

## Outputs

- Monthly settlement summary
- Excel file

## Rules

- Explain missing bucket permissions
- Handle CSV encoding and delimiter differences
- Aggregate refunds (negative rows) and tax rows separately
- Stream large files
- Requires a server-side implementation. Request read-only scopes and use report files only temporarily during the session.
- State the purpose of data use on the OAuth consent screen and in the privacy policy.

## Verification

- [ ] Monthly totals from a sample CSV match a manual calculation
- [ ] Refunds reduce sales
- [ ] Clear error for a bucket without access

交给 AI 时的小技巧

  • 在第一行写明技术栈(如 React、Vue 或纯 HTML),生成的代码会更贴合你的项目。
  • 在接受代码前,请让 AI 运行列出的测试用例并展示结果。
  • 不要把真实密码、客户数据或 API 密钥粘贴到提示词中,请用示例值代替。