我一直在为
处理Facebook图形请求https://developers.facebook.com/docs/marketing-api/reference/ad-account/reachestimate/
我面临的唯一问题是如何向其中添加targeting_specs参数:
/* make the API call */
new GraphRequest(
AccessToken.getCurrentAccessToken(),
"/{ad-account-id}/reachestimate",
null,
HttpMethod.GET,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
/* handle the result */
}
}
).executeAsync();
我尝试使用bundle,但是它给出了错误
需要json编码