tap-facebook
tap-facebook copied to clipboard
Deleted/Archived Ads are not included
I believe you have to add something like this:
Apply a filtering for all delivery_info states. Then you get all campaigns / adsets / ads, even they were deleted or archived.
'filtering': [{ "field": "ad.delivery_info", "operator": "IN", "value": ["active", "archived", "completed", "limited", "not_delivering", "not_published", "pending_review", "permanently_deleted", "recently_completed", "recently_rejected", "rejected", "scheduled", "inactive"] }] or
'filtering': [{ "field": "adset.delivery_info", "operator": "IN", "value": ["active", "archived", "completed", "limited", "not_delivering", "not_published", "pending_review", "permanently_deleted", "recently_completed", "recently_rejected", "rejected", "scheduled", "inactive"] }] or
'filtering': [{ "field": "campaign.delivery_info", "operator": "IN", "value": ["active", "archived", "completed", "limited", "not_delivering", "not_published", "pending_review", "permanently_deleted", "recently_completed", "recently_rejected", "rejected", "scheduled", "inactive"] }]