title: Facebook marketing API all adsets that ended 10 days back v2.8
body: <p>I'm trying to get all adsets that have an end_time  between today and 10 days back. </p>
  
  <p>In the docs I found this field, end_time which I think is correct, right?. </p>
  
  <p><a href="https://developers.facebook.com/docs/marketing-api/reference/ad-campaign" rel="nofollow noreferrer">Docs</a></p>
  
  <p>However. How do I format this as a request? </p>
  
  <p>If this where a campagin it would have the syntax</p>
  
  <pre><code>'time_range={"since":"2015-03-01","until":"2015-03-31"}'
  </code></pre>
  
  <p>Here is my current code example.</p>
  
  <pre><code>graph.facebook.com/v2.8/act_xxxx/adsets?access_token=xxx&amp;fields=name,effective_status,end_time&amp;end_time=['since':'2015-03-01','until':'2015-03-31']
  </code></pre>