0
こんにちは、私はFacebookのマーケティングAPIに初めてです。 Insight API非同期ジョブを使用している「csv」形式のアカウント完全レポートをダウンロードしたいのですが、「report_run_id」を取得することができます。その後、this linkのAPIリクエストが間違っています。誰も私が試したのCSV format.codeでレポートをダウンロードすることができますどのように私を助けることができます:Insights API非同期ジョブを使用してFacebookのレポートをダウンロードするには?
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://www.facebook.com/ads/ads_insights/export_report/?report_run_id=279445242544715&name=reports&format=csv")
.get()
.build();
Response response = client.newCall(request).execute();
if(response.isSuccessful()){
String resposes=response.body().string();
}