Is there any way to get ads in specific time range using graph API. I need to get ads from the last week.
Right now I'm doing this:
/act_{ad_account_id}/ads?limit=25&time_rang[since]=$date_from&time_range[until]=$date_now
But this is not working, it's returning ads even from outside the specified time range.
You can filter on updated_since, and request the created date in the result, which your code can then use to include or exclude.
act_{account ID}/ads?fields=created_time&updated_since=1485925200