R:DoubleClick Campaign Manager Reporting API数据下载

时间:2017-03-22 13:58:51

标签: r api double-click

我们尝试从DoubleClick Campaign Manager Reporting API下载数据 我找到的唯一脚本是https://github.com/WillemPaling/RDoubleClick

#Install using:
library(devtools)
install_github("WillemPaling/RDoubleClick")

#Basic commands to get started:
##Authorise with the API
client.id <- "yourclientid.apps.googleusercontent.com"
client.secret <- "yourclientsecret"

DCAuth(client.id,client.secret)

到目前为止一切正常,认证也没问题 但是:运行时

##Get available profiles (to find your profile ID)
profiles <- userprofiles.list()

 profiles <- userprofiles.list(client.id,client.secret)

R产生错误

Error in fromJSON(api.request(req.url)) :
could not find function "api.request"
Called from: fromJSON(api.request(req.url))
Browse[1]>

R Error message

其他人是否遇到过这些问题?我错过了任何已知的解决方案?谢谢你的帮助!

0 个答案:

没有答案