【发布时间】:2016-02-09 18:06:49
【问题描述】:
我使用谷歌分析 api .net 。我正是使用这些示例代码here。 当我使用 Oauth 2.0 时,我没有任何问题,而且一切都很好。但是当我想使用服务帐户身份验证时,我在这里得到 null(x 为 null)
var x = DaimtoAnaltyicsReportingHelper.Get(service, "78110423", "10daysAgo", "today", "ga:sessions", options);
错过了什么?
(我已经创建了 p12 文件并有服务帐户电子邮件)
【问题讨论】:
标签: c# asp.net-mvc google-analytics-api