Search code examples
facebookfacebook-graph-apiwebhooksfacebook-marketing-api

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?


Solution

  • 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