gplay-reports-download
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGoogle Play Reports Download
Google Play 报告下载
Use this skill when you need to list or download financial reports (earnings, sales, payouts) or statistics reports (installs, ratings, crashes, store performance, subscriptions) from Google Play Console.
当你需要从Google Play Console列出或下载财务报告(收益、销售、付款)或统计报告(安装量、评分、崩溃数据、商店表现、订阅)时,使用此技能。
How reports work
报告工作机制
Google Play Console reports are not available via the REST API. They are stored as CSV/ZIP files in Google Cloud Storage (GCS) buckets:
- Bucket name:
pubsite_prod_rev_<developer_id> - Financial reports: ,
earnings/,sales/prefixespayouts/ - Statistics reports: ,
stats/installs/,stats/ratings/,stats/crashes/,stats/store_performance/prefixesstats/subscriptions/
The service account must have access to the GCS bucket (this access is granted automatically when the service account is added to Play Console with appropriate permissions).
Google Play Console报告无法通过REST API获取,它们以CSV/ZIP文件的形式存储在Google Cloud Storage (GCS)存储桶中:
- 存储桶名称:
pubsite_prod_rev_<developer_id> - 财务报告:、
earnings/、sales/前缀payouts/ - 统计报告:、
stats/installs/、stats/ratings/、stats/crashes/、stats/store_performance/前缀stats/subscriptions/
服务账号必须拥有GCS存储桶的访问权限(当服务账号被添加到Play Console并分配适当权限时,该访问权限会自动授予)。
Prerequisites
前置条件
- A service account configured via
gplay auth login - The developer ID (found in Play Console URL or settings)
- For financial reports: permission
VIEW_FINANCIAL_DATA - For stats reports: permission
VIEW_APP_INFORMATION
- 已通过配置服务账号
gplay auth login - 开发者ID(可在Play Console网址或设置中找到)
- 财务报告:需权限
VIEW_FINANCIAL_DATA - 统计报告:需权限
VIEW_APP_INFORMATION
Finding your developer ID
查找开发者ID
The developer ID is the numeric ID in your Play Console URL:
https://play.google.com/console/developers/<developer_id>/...开发者ID是Play Console网址中的数字ID:
https://play.google.com/console/developers/<developer_id>/...Financial reports
财务报告
List available financial reports
列出可用的财务报告
bash
undefinedbash
undefinedList all financial reports
List all financial reports
gplay reports financial list --developer <id>
gplay reports financial list --developer <id>
Filter by type
Filter by type
gplay reports financial list --developer <id> --type earnings
gplay reports financial list --developer <id> --type sales
gplay reports financial list --developer <id> --type payouts
gplay reports financial list --developer <id> --type earnings
gplay reports financial list --developer <id> --type sales
gplay reports financial list --developer <id> --type payouts
Filter by date range
Filter by date range
gplay reports financial list --developer <id> --from 2026-01 --to 2026-06
gplay reports financial list --developer <id> --from 2026-01 --to 2026-06
Combine filters
Combine filters
gplay reports financial list --developer <id> --type earnings --from 2026-01 --to 2026-03
undefinedgplay reports financial list --developer <id> --type earnings --from 2026-01 --to 2026-03
undefinedDownload financial reports
下载财务报告
bash
undefinedbash
undefinedDownload earnings for a specific month
Download earnings for a specific month
gplay reports financial download --developer <id> --from 2026-01 --type earnings
gplay reports financial download --developer <id> --from 2026-01 --type earnings
Download to a specific directory
Download to a specific directory
gplay reports financial download --developer <id> --from 2026-01 --type earnings --dir ./reports
gplay reports financial download --developer <id> --from 2026-01 --type earnings --dir ./reports
Download a range of months
Download a range of months
gplay reports financial download --developer <id> --from 2026-01 --to 2026-06 --type sales
undefinedgplay reports financial download --developer <id> --from 2026-01 --to 2026-06 --type sales
undefinedFinancial report types
财务报告类型
| Type | Description | Filename pattern |
|---|---|---|
| Revenue and earnings data | |
| Sales transaction reports | |
| Payment disbursement reports | |
| 类型 | 描述 | 文件名格式 |
|---|---|---|
| 收入与收益数据 | |
| 销售交易报告 | |
| 付款发放报告 | |
Statistics reports
统计报告
List available statistics reports
列出可用的统计报告
bash
undefinedbash
undefinedList all stats reports for a developer
List all stats reports for a developer
gplay reports stats list --developer <id>
gplay reports stats list --developer <id>
Filter by package name
Filter by package name
gplay reports stats list --developer <id> --package com.example.app
gplay reports stats list --developer <id> --package com.example.app
Filter by type
Filter by type
gplay reports stats list --developer <id> --type installs
gplay reports stats list --developer <id> --type installs
Filter by date range and package
Filter by date range and package
gplay reports stats list --developer <id> --package com.example.app --type installs --from 2026-01 --to 2026-06
undefinedgplay reports stats list --developer <id> --package com.example.app --type installs --from 2026-01 --to 2026-06
undefinedDownload statistics reports
下载统计报告
bash
undefinedbash
undefinedDownload installs report
Download installs report
gplay reports stats download --developer <id> --package com.example.app --from 2026-01 --type installs
gplay reports stats download --developer <id> --package com.example.app --from 2026-01 --type installs
Download to a specific directory
Download to a specific directory
gplay reports stats download --developer <id> --package com.example.app --from 2026-01 --type crashes --dir ./reports
gplay reports stats download --developer <id> --package com.example.app --from 2026-01 --type crashes --dir ./reports
Download a range of months
Download a range of months
gplay reports stats download --developer <id> --package com.example.app --from 2026-01 --to 2026-06 --type ratings
undefinedgplay reports stats download --developer <id> --package com.example.app --from 2026-01 --to 2026-06 --type ratings
undefinedStatistics report types
统计报告类型
| Type | Description | Filename pattern |
|---|---|---|
| Install/uninstall data | |
| Rating distribution | |
| Crash occurrence data | |
| Store listing performance | |
| Subscription metrics | |
| 类型 | 描述 | 文件名格式 |
|---|---|---|
| 安装/卸载数据 | |
| 评分分布 | |
| 崩溃发生数据 | |
| 商店列表表现 | |
| 订阅指标 | |
Flags reference
参数参考
Financial commands
财务命令参数
| Flag | Required | Description |
|---|---|---|
| Yes | Developer ID |
| No (list: default | Report type: |
| No (list) / Yes (download) | Start month |
| No | End month |
| No | Output directory (default |
| No | Output format: |
| No | Pretty-print JSON output |
| 参数 | 是否必填 | 描述 |
|---|---|---|
| 是 | 开发者ID |
| 否(列表命令默认 | 报告类型: |
| 否(列表命令)/ 是(下载命令) | 起始月份 |
| 否 | 结束月份 |
| 否 | 输出目录(默认 |
| 否 | 输出格式: |
| 否 | 格式化输出JSON |
Stats commands
统计命令参数
| Flag | Required | Description |
|---|---|---|
| Yes | Developer ID |
| No (list) / Yes (download) | Package name filter |
| No (list: default | Stats type: |
| No (list) / Yes (download) | Start month |
| No | End month |
| No | Output directory (default |
| No | Output format: |
| No | Pretty-print JSON output |
| 参数 | 是否必填 | 描述 |
|---|---|---|
| 是 | 开发者ID |
| 否(列表命令)/ 是(下载命令) | 包名筛选 |
| 否(列表命令默认 | 统计类型: |
| 否(列表命令)/ 是(下载命令) | 起始月份 |
| 否 | 结束月份 |
| 否 | 输出目录(默认 |
| 否 | 输出格式: |
| 否 | 格式化输出JSON |
Output format
输出格式
List output
列表输出
json
{
"developer": "12345",
"bucket": "pubsite_prod_rev_12345",
"reports": [
{"name": "earnings/earnings_202601_12345.zip", "size": 1234, "updated": "2026-02-01T00:00:00Z"}
]
}json
{
"developer": "12345",
"bucket": "pubsite_prod_rev_12345",
"reports": [
{"name": "earnings/earnings_202601_12345.zip", "size": 1234, "updated": "2026-02-01T00:00:00Z"}
]
}Download output
下载输出
json
{
"developer": "12345",
"type": "earnings",
"from": "2026-01",
"to": "2026-01",
"dir": "./reports",
"files": [
{"name": "earnings/earnings_202601_12345.zip", "path": "reports/earnings_202601_12345.zip", "size": 1234}
]
}json
{
"developer": "12345",
"type": "earnings",
"from": "2026-01",
"to": "2026-01",
"dir": "./reports",
"files": [
{"name": "earnings/earnings_202601_12345.zip", "path": "reports/earnings_202601_12345.zip", "size": 1234}
]
}Common workflows
常见工作流
Monthly financial review
月度财务审核
bash
undefinedbash
undefinedList last month's earnings
List last month's earnings
gplay reports financial list --developer <id> --type earnings --from 2026-01 --output table
gplay reports financial list --developer <id> --type earnings --from 2026-01 --output table
Download all financial reports for Q1
Download all financial reports for Q1
gplay reports financial download --developer <id> --from 2026-01 --to 2026-03 --type earnings --dir ./q1-reports
undefinedgplay reports financial download --developer <id> --from 2026-01 --to 2026-03 --type earnings --dir ./q1-reports
undefinedApp performance monitoring
应用性能监控
bash
undefinedbash
undefinedCheck install trends
Check install trends
gplay reports stats list --developer <id> --package com.example.app --type installs --from 2026-01
gplay reports stats list --developer <id> --package com.example.app --type installs --from 2026-01
Download crash data for analysis
Download crash data for analysis
gplay reports stats download --developer <id> --package com.example.app --from 2026-01 --type crashes --dir ./crash-data
undefinedgplay reports stats download --developer <id> --package com.example.app --from 2026-01 --type crashes --dir ./crash-data
undefinedCI/CD automated report collection
CI/CD自动化报告收集
bash
undefinedbash
undefinedDownload all report types for archival
Download all report types for archival
for type in earnings sales payouts; do
gplay reports financial download --developer $DEV_ID --from $(date -d "last month" +%Y-%m) --type $type --dir ./monthly-reports
done
undefinedfor type in earnings sales payouts; do
gplay reports financial download --developer $DEV_ID --from $(date -d "last month" +%Y-%m) --type $type --dir ./monthly-reports
done
undefinedTroubleshooting
故障排除
| Error | Cause | Fix |
|---|---|---|
| Service account not configured | Run |
| No GCS bucket access | Ensure service account is invited in Play Console with appropriate permissions |
| Wrong developer ID or no reports | Verify developer ID from Play Console URL |
| Empty reports list | No reports for the date range | Check |
| 错误 | 原因 | 解决方法 |
|---|---|---|
| 未配置服务账号 | 运行 |
| 无GCS存储桶访问权限 | 确保服务账号已被邀请至Play Console并分配了相应权限 |
| 开发者ID错误或无报告 | 从Play Console网址验证开发者ID |
| 报告列表为空 | 该日期范围内无报告 | 检查 |