I’m doing a little app on Python about this. I was using the “effective_status” field but it shows just if it’s paused or not, and I want to check if the campaign is running or not.
Thanks.
I’m doing a little app on Python about this. I was using the “effective_status” field but it shows just if it’s paused or not, and I want to check if the campaign is running or not.
Thanks.
2
Answers
Effective_status gives you the effective status of this campaign.
For Campaign object, effective_status value can be one of these
If you read the effective_status field for adset level, it will tell you if the adset has CAMPAIGN_PAUSED or PAUSED.
EDIT:
You will need to combine this field with end_time to determine whether the ad set is completed.
You can filter ads by ad-recommendation field. That can solve some of the delivery issues notifications and act as a delivery field in addition with effective_status field https://developers.facebook.com/docs/marketing-api/reference/ad-recommendation/