Eugene
Eugene

Reputation: 11280

Facebook webhook for Ads (Marketing API)

Is it possible to make a facebook webhook for event of approving the ad. When you create an ad, it's in pending review status that can take some undefined time. I need to call some actions right after the ad is approved.

There are facebook webhooks for apps/pages/users. But what about Ads?

Upvotes: 4

Views: 5850

Answers (2)

andyrandy
andyrandy

Reputation: 74014

There are no webhooks for Ads, webhooks only exist for Pages and Users. Here are all the possibilities: https://developers.facebook.com/docs/graph-api/webhooks

Edit:

My bad, there ARE webhooks for Ads: https://developers.facebook.com/docs/marketing-api/guides/lead-ads/retrieving#webhooks

Upvotes: 4

Daniel
Daniel

Reputation: 135

Actually @luschn, there are webhooks for certain Marketing API features.

Such as: https://developers.facebook.com/docs/marketing-api/guides/lead-ads/webhooks/v2.5

Upvotes: 7

Related Questions