报告聚合未按预期工作 [英] Report Aggregation Not Working As Expected

查看:70
本文介绍了报告聚合未按预期工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我目前正在尝试检索  给定帐户ID的AccountPerformanceReportRequest,使用' ReportTimePeriod :: ThisMonth '
作为报告时间,'
ReportAggregation :: Monthly "作为聚合。使用PHP示例中的代码一切顺利,但是当我检查CSV时,即使是
,尽管报告会在报告标题中说"
报告聚合:每月",  数据实际汇总,并且每天没有按预期方式行。

I am currently trying to retrieve a AccountPerformanceReportRequest for a given account ID, using 'ReportTimePeriod::ThisMonth' as report time, and 'ReportAggregation::Monthly' as aggregation. It all goes well using the code from the examples for PHP, but when I check the CSV, even though the report will say 'Report Aggregation: Monthly' in the report header, the data is actually summarized, and there is no rows per day as expected.

我做错了什么?

请参阅Gist,了解发送的编码报告请求的print_r版本,并收到报告。 

See Gist for the print_r version of the encoded report request that is sent, and the report received. 

https://gist.github.com/danielwsm/1d662874775f2dde7b66eee77b18b43d

https://gist.github.com/danielwsm/1d662874775f2dde7b66eee77b18b43d

推荐答案

您好。

如果您要查找每日汇总而非每月汇总的数据,请使用ReportAggregation :: Daily。我查看了您发布的示例,看起来使用了Daily,但这似乎与您上面发布的内容不符。你最近有一个带有时间戳的
ReportRequestId吗?支持可以帮助调查这些细节。如果您有任何疑问,请与我们联系。

If you are looking for data that is aggregated daily instead of monthly, please use ReportAggregation::Daily. I checked the example you posted, and it appears that Daily was used, but that doesn't seem to match what you posted above. Do you have a recent ReportRequestId with timestamp? Support could help investigate with those details. Please let me know if you have any questions.

致以最好的问候,

Eric


这篇关于报告聚合未按预期工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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