简体   繁体   中英

Facebook get post by ads campaign_id

I'm first time here. I can't find any answers in net. My question is about Facebook API.

I have ads campaign_id, can I get all posts which have any connection to this campaign? I try to use boosted_object_id, but, I think this is not right decision. Why? I've read that this field returns all object which have connections with my campaign, but it not a posts only. Don't really understand what this request returns

Try querying Campaign -> Ads -> Creative -> Story ID.

So your call can look something like:

act_1234567890/campaigns?fields=ads{creative{effective_object_story_id}}

OR

act_1234567890/campaigns?fields=ads{creative{object_story_id}}

Doc available here: https://developers.facebook.com/docs/marketing-api/reference/ad-creative/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM