title: How to download facebook report using Insights API Asynchronous Jobs?
body: <p>Hi I'am new to facebook marketing API. I want to download account complete report in csv format for which I am using Insights API Asynchronous Jobs , Using which I am able to get "report_run_id" and after that I made api request for <a href="https://www.facebook.com/ads/ads_insights/export_report/?report_run_id=XXXXX&amp;name=reports&amp;format=csv" rel="nofollow noreferrer">this link</a> .Its giving wrong response. Can anybody help me how can download report in csv format.code which i tried is: </p>
  
  <pre><code>OkHttpClient client = new OkHttpClient();    
  Request request = new Request.Builder()
    .url("https://www.facebook.com/ads/ads_insights/export_report/?report_run_id=279445242544715&amp;name=reports&amp;format=csv")
    .get()
    .build();
  
  Response response = client.newCall(request).execute();
  if(response.isSuccessful()){
   String resposes=response.body().string();
  }
  </code></pre>