报告:昨天从2天前带回数据的时间段 [英] Reporting: Time period yesterday bringing back data from 2 days ago
问题描述
我正试着弄清楚为什么我的报告要求"昨天"的时间段。似乎是显示2天前的数据,当时早上第一件事就是在下午返回预期的天数数据。
I am trying to get my head around why my report requests for a time period of "Yesterday" seem to be showing data from 2 days ago when run first thing in the morning but by the afternoon are returning the expected days data.
例如。我在今天上午4:15(21/08)发布了广告效果报告,并在标题中提供了以下详细信息
e.g. I ran an Ad Performance report at 4:15 a.m. this morning (21/08) and got the following details in the header
"报告名称:广告效果报告"
"报告时间:8/19/2018"
"时区:(GMT + 10:00)堪培拉,墨尔本,悉尼< b $ b&b" ;上次结束可用日期:8/20/2018 8:45:00 AM(GMT)" b
"上次完成可用时间:8/20/2018 8:45:00 AM(GMT )"
"报告汇总:每日"
"报告过滤器:"
"潜在不完整数据:true"
"行:4"
"Report Name: Ad Performance Report"
"Report Time: 8/19/2018"
"Time Zone: (GMT+10:00) Canberra, Melbourne, Sydney"
"Last Completed Available Day: 8/20/2018 8:45:00 AM (GMT)"
"Last Completed Available Hour: 8/20/2018 8:45:00 AM (GMT)"
"Report Aggregation: Daily"
"Report Filter: "
"Potential Incomplete Data: true"
"Rows: 4"
但是现在在下午7:20运行相同的报告时,获取以下版本,报告日期具有值我希望能看到。
But having just run the same report now when it is 7:20 pm get the following version with the report date having the value I would expect to see.
"报告名称:广告效果报告"
"报告时间:8/20/2018<
"时区:(格林威治标准时间+10:00)堪培拉,墨尔本,悉尼< b $ b"最后完成的可用日期:8/21 / 2018 8:45:00 AM(GMT)" b
"最后完成可用时间:8/21/2018 8:45:00 AM(GMT)"
"报告汇总:每日"
"报告过滤器:"
"潜在不完整数据:true"
"行:2"
"Report Name: Ad Performance Report"
"Report Time: 8/20/2018"
"Time Zone: (GMT+10:00) Canberra, Melbourne, Sydney"
"Last Completed Available Day: 8/21/2018 8:45:00 AM (GMT)"
"Last Completed Available Hour: 8/21/2018 8:45:00 AM (GMT)"
"Report Aggregation: Daily"
"Report Filter: "
"Potential Incomplete Data: true"
"Rows: 2"
我知道需要在请求昨天报告等之前离开几个小时但是当我整个上午尝试几次时,我仍然得到2天前的报告数据。我目前没有使用ReturnOnlyCompleteData这是否与
有关。
I am aware of the need to leave several hours before requesting yesterday report etc but when I try several times throughout the morning I still get the report data for 2 days ago. I am not currently using ReturnOnlyCompleteData is this has any bearing on it.
我的api帐户中是否有一个设置会影响它所认为的"昨天"的日期。或许我不知道?
Is there a setting in my api account that influences what day it perceives as "yesterday" perhaps that I am unaware of?
谢谢
推荐答案
您好。
您可以使用
ReportTimeZone 属性。来自文档:
You can use the ReportTimeZone property. From the docs:
如果您不选择时区,则报表服务默认使用PacificTimeUSCanadaTijuana。在2017年9月2日上午2点在EasternTimeUSCanada指定的"昨天"时间段内没有
请求的报告将被解释为8/31/2017的请求。同时请求"昨天"并将时区设置为EasternTimeUSCanada的报告将被解释为
9/1/2017的请求。
我希望这有帮助!
这篇关于报告:昨天从2天前带回数据的时间段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!