tap-facebook icon indicating copy to clipboard operation
tap-facebook copied to clipboard

Filter Ads/Campaigns by updated_time?

Open KAllan357 opened this issue 6 years ago • 0 comments

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>
        }

KAllan357 avatar Feb 27 '18 19:02 KAllan357