我正在关注link
我已成功获得此结果:
{
"errors": null,
"response": {
"jobId": "628cf1c0cd1c5d8a6c1765f618b7a0be34c50bc1564618",
"status": "submitted",
"jobResponse": null
}
}
ant尝试了GET调用来检查作业的状态,正如他们所要求的那样
但我得到错误按摩:
<?xml version="1.0" encoding="UTF-8"?>
-
Please provide valid credentials. OAuth oauth_problem="unable_to_determine_oauth_type", realm="yahooapis.com"
我在做错了什么?
我甚至尝试添加访问令牌
答案 0 :(得分:0)
这是测试作业完成时的网址:
String urlToCheckIfDownloadReady = "https://api.admanager.yahoo.com/v1/rest/reports/custom/" + jobId + "?access_token=" + refreshToken + "&advertiserId=" + config.mccCustomerId;
if status = completed
从Json响应中获取jobResponse而不是下载