iTunesConnect Autoingest以获得财务收益报告 [英] iTunesConnect Autoingest for financial earnings reports

查看:150
本文介绍了iTunesConnect Autoingest以获得财务收益报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间以来,苹果公司一直使用AutoIngest.class工具来下载iTunes Connect销售和趋势报告.

Apple has for some time had a tool, AutoIngest.class for downloading iTunes Connect sales and trend reports.

是否有类似的工具(或对其进行了改进的使用)来提取财务报告(更具体地说,是付款和财务报告"页面上的收入"报告),而无需每个月/每个区域手动下载它们?

Is there is a similar tool (or modified use of it) to pull the financial reports (more specifically the Earnings report from the "Payments and Financial Reports" page) without manually downloading them for every month/region?

推荐答案

编辑2017年1月:根据在下载具有新.jar.properties文件的Reporter.zip,并将登录名添加到属性文件之后,您可以使用以下等效命令下载与以前相同的文件:

After downloading the Reporter.zip with new .jar and .properties files, and adding your login to the properties file, you can then download the same file as previously using this equivalent command:

java -jar Reporter.jar p=Reporter.properties m=Normal Finance.getReport 80000000, CA, Financial, 2014, 05

一些警告:

  • 属性文件必须位于当前目录中
  • 请注意,vendor_id
  • 上不再需要前导00
  • 现在的输出为Successfully downloaded 80000000_0214_CA.txt.gz,而不仅仅是80000000_0214_CA.txt.gz(如果您正在编写脚本)
  • the properties file must be in current directory
  • note the leading 00 is no longer needed on the vendor_id
  • the output is now Successfully downloaded 80000000_0214_CA.txt.gz instead of just 80000000_0214_CA.txt.gz (in case you're scripting this)

我在下面留下了较旧的信息,以帮助人们过渡.

I left the older info below to help people transition.

(结束编辑)

是的,Apple提供的相同的自动工具也将下载财务报告.您可以找到指南此处,它表明该命令是通过以下方式运行的:

Yes, the same autoingest tool provided by Apple will also download financial reports. You can find the guide here, which states that the command is run with:

java Autoingestion <properties_filename> <vendor_id> <region_code>
<report_type> <fiscal_year> <fiscal_period>

请注意,语法与用于销售报告的语法不同.例如.提供供应商ID时,请在供应商ID号之前添加两个前导零.

Notice that the syntax is different from using it for sales reports. E.g. when providing the vendor ID, include two leading zeroes before your vendor ID number.

因此,我可以使用此命令运行该文件,以名义上检索5月2014年加拿大的财务报告(<我的供应商编号被遮盖):

Thus, I can run it with this command to nominally retrieve the financial report for Canada for 2014 for May (my vendor number obscured):

java Autoingestion login.properties 0080000000 CA DRR 2014 05

请注意,fiscal_period提前3个月(

Note that the fiscal_period is 3 months ahead (more info), so providing 2014 05 will download the financial report for 02 (February). The resulting file will reflect the actual month sold. I.e. this is the output of the command:

80000000_0214_CA.txt.gz
File Downloaded Successfully

因此,截止到6月底(06)为止,我可以运行以下命令:

Thus, as of right now, near the end of June (06), I can run this command:

java Autoingestion login.properties 0080000000 AU DRR 2014 08

并下载5月份的销售额:

and download the May sales:

80000000_0514_AU.txt.gz
File Downloaded Successfully

此功能可以跨年度界限使用. IE.提供2015 03会给我2014年12月的财务报告.(感谢@smacdonald对此信息的评论).

This works as you'd expect across year boundaries. I.e. providing 2015 03 will give me the financial report for Dec 2014. (Thanks to the comment by @smacdonald for this info).

我希望这可以避免其他人感到困惑!我在寻找StackOverflow的答案,这个问题似乎最相关...

I hope this saves someone else some confusion! I was looking in StackOverflow for the answer and this question seemed most relevant...

有点相关,我在 https://github.com/eggheadgames/上开源了一个工具app_earnings ,它会添加从相关的ITunesConnect页面复制粘贴的货币数据,然后将这些文件以单一货币处理为每个应用的收入,而与销售国家/地区无关.现在,该工具可以处理Google Play,Amazon和Apple的报告.

Slightly related, I have open sourced a tool at https://github.com/eggheadgames/app_earnings that adds the currency data copy-pasted from the relevant ITunesConnect page and then processes these files into per-app earnings in a single currency, regardless of country of sale. Right now the tool handles Google Play, Amazon and Apple reports.

这篇关于iTunesConnect Autoingest以获得财务收益报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆