How can I check Delivery Status of campaign on Facebook Marketing API

馋奶兔 提交于 2019-12-07 04:12:41

问题


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.


回答1:


Effective_status gives you the effective status of this campaign. For Campaign object, effective_status value can be one of these

ACTIVE, PAUSED, DELETED, PENDING_REVIEW, DISAPPROVED, PREAPPROVED, PENDING_BILLING_INFO, CAMPAIGN_PAUSED, ARCHIVED, ADSET_PAUSED

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.



来源:https://stackoverflow.com/questions/42130309/how-can-i-check-delivery-status-of-campaign-on-facebook-marketing-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!