tap-facebook
tap-facebook copied to clipboard
Filter Ads/Campaigns by updated_time?
I think this might be possible, so I'm leaving this here to check back at some point for an improvement.
The current logic retrieves all Ads/Campaigns and checks their updated_time against the bookmark value. If they pass the test, they are yielded.
It seems like this document describes that you could simply filter on the request - https://developers.facebook.com/docs/marketing-api/ad-rules-getting-started:
{
"field": "Ad.updated_time",
"operator": "GREATER_THAN",
"value": <bookmark value in epoch seconds int>
}