Adsense api 为什么AdSense web界面和API报告的数字不同?

Adsense api 为什么AdSense web界面和API报告的数字不同?,adsense-api,Adsense Api,我已经设法让API工作,但它报告的数字总是比AdSense web(或移动应用程序)界面报告的数字低一点 这是API资源管理器的响应: "kind": "adsense#report", "totalMatchedRows": "1", "headers": [ { "name": "EARNINGS", "type": "METRIC_CURRENCY", "currency": "EUR" }, { "name": "CLICKS", "typ

我已经设法让API工作,但它报告的数字总是比AdSense web(或移动应用程序)界面报告的数字低一点

这是API资源管理器的响应:

 "kind": "adsense#report",
 "totalMatchedRows": "1",
 "headers": [
  {
   "name": "EARNINGS",
   "type": "METRIC_CURRENCY",
   "currency": "EUR"
  },
  {
   "name": "CLICKS",
   "type": "METRIC_TALLY"
  }
 ],
 "rows": [
  [
   "7.58",
   "17"
  ]
 ],
 "totals": [
  "7.58",
  "17"
 ],
 "averages": [
  "7.58",
  "17"
 ],
 "startDate": "2019-10-07",
 "endDate": "2019-10-07"
}
例如,两天前(2019-10-07),web界面显示了24次点击,预计收入为7,65欧元,当我调用API时,当天显示了17次点击,收入为7,58欧元


每隔一天,数字就会低于网络界面上的数字。

我找到了答案。如果您省略了“useTimezoneReporting”参数,那么它将默认为远离我的PST时区。当您将此参数设置为“true”时,它将根据AdSense帐户时区生成数字


现在一切正常。

UI和API之间的数字应该是相同的。(只是澄清一下,您没有使用AdMob UI,对吗?)不,我没有使用AdMob。我也在iOS上使用AdSense应用程序,它显示的数字与网络上的数字相同。只有API显示了错误的数字。