CampaignPerformanceReportRequest上的Monthly Aggregation和ReturnOnlyCompleteData [英] Monthly Aggregation and ReturnOnlyCompleteData on CampaignPerformanceReportRequest

查看:55
本文介绍了CampaignPerformanceReportRequest上的Monthly Aggregation和ReturnOnlyCompleteData的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
$


我正在使用  CampaignPerformanceReportRequest从相当大的自定义日期范围(即2017-06-01到2018-06-11)收集帐户指标



关于聚合如何工作的思考过程是它在每个范围之间进行汇总和分组。 



当使用每日聚合并且ReturnOnlyCompleteData为true时,预期请求正常工作。

当使用每月聚合并且ReturnOnlyCompleteData为true时,预期请求不起作用。在前一个帖子中,它解释了ReturnOnlyCompleteData的含义,只有在数据存在时才会返回,否则会出错。由于本月结束
尚未完成,这是有道理的。 



当使用每月汇总并且ReturnOnlyCompleteData为false时,预期结果将是关于该数据可用的完整数据,然后返回完成月份的部分数据2018-06-01 - > 2018-06-11。 

请求完成,但前一年的数据变得有偏差,并且没有反映出与使用每日汇总时相同的响应。 



我可以使用每日汇总,但我不需要这样精细的数据,而且每月汇总的响应时间似乎要低得多。 



是还有另一种解决这个问题的方法吗?或者我误解了聚合和ReturnOnlyCompleteData的组合使用? 



谢谢,



最大

Hi!

I am using CampaignPerformanceReportRequest to gather account metrics from a fairly large custom date range ie 2017-06-01 to 2018-06-11

My thought process on how aggregation would work is that it summarizes and groups them between each range. 

When utilizing daily aggregation and ReturnOnlyCompleteData being true the intended request works fine.
When utilizing monthly aggregation and ReturnOnlyCompleteData being true the intended request does not work. In a previous thread it explained the meaning of ReturnOnlyCompleteData to only return if the data exists otherwise it will error. Since the end of the month has not finished this makes sense. 

When utilizing monthly aggregation and ReturnOnlyCompleteData being false the expected outcome would be to give complete data on that of which is available and then return partial data for the month that is complete 2018-06-01 -> 2018-06-11. 
The request completes though data a previous year before becomes skewed and does not reflect the same response as when using daily aggregation. 

I could use daily aggregation though I do not need such granular data and response times seem significantly lower within monthly aggregation. 

Is there another way of approaching this problem? Or am I misunderstanding the combined use of aggregation and ReturnOnlyCompleteData? 

Thanks,

Max

推荐答案

Hi Max,

Hi Max,

如果自定义的结束日期,则ReturnOnlyCompleteData必须设置为False日期范围设置为今天的日期。您能指定一下每月聚合和ReturnOnlyCompleteData返回的数据在您的情况下是如何偏差的吗?您是指
TimePeriod列,它只显示该月的第一个日期?谢谢。  

ReturnOnlyCompleteData must be set to False if the end date of the custom date range is set to today's date. Could you please specify how the data returned with monthly aggregation and ReturnOnlyCompleteData is skewed in your case? Are you referring to the TimePeriod column which only shows the first date of the month? Thank you.  

Alice


这篇关于CampaignPerformanceReportRequest上的Monthly Aggregation和ReturnOnlyCompleteData的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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