title: Facebook Marketing API Adset Filtering
body: <p>I am using the Facebook Marketing API and making a call to get the adsets belonging to an adaccount (<a href="https://developers.facebook.com/docs/marketing-api/reference/ad-account/adsets/" rel="nofollow noreferrer">https://developers.facebook.com/docs/marketing-api/reference/ad-account/adsets/</a>). My issue is that for one of my ad accounts, there are to many adsets available and as such the call is either taking long or has to many pages. Is there a way that i can possiblly add on date filtering to the request so that it will filter out all those adsets outside of the specified dates?</p>
  
  <p>This is the request i am making with a dummy act id:</p>
  
  <pre><code>act_12345678?fields=account_id,name,currency,business{id},adsets{id,name,campaign{id,name,start_time,stop_time,spend_cap,status,insights.date_preset(lifetime){spend}},start_time,end_time,adset_schedule,billing_event,lifetime_budget,budget_remaining,daily_budget,lifetime_imps,status,configured_status,optimization_goal,is_autobid,insights.date_preset(lifetime).as(lifetime_insights){spend}, insights.time_range({'since':'1990-01-01', 'until':'2018-04-26'}).as(insights_to_date){spend}}
  </code></pre>