Facebook webhook for Ads (Marketing API) - facebook

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?

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

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

Related

Independently subscribe to Instagram and Facebook Page webhooks?

I know it is possible to subscribe to webhooks (for a Meta/Facebook App) for a specific Facebook page by using https://graph.facebook.com/{pageId}/subscribed_apps?subscribed_fields={fields}&access_token={token} but how does this work for Instagram pages? The only text I have found about it states the following:
Note: You cannot use the subscribed_fields parameter to configure or subscribe to Webhooks for Instagram. You must use your app dashboard to subscribe to Instagram Webhooks (from https://developers.facebook.com/docs/graph-api/reference/page/subscribed_apps/)
But it sounds a bit weird that a customer using our App cannot connect their Instagram page to our App and have webhooks delivered, without me as an App-owner doing manual stuff in the app dashboard.
Am I missing something?
No need to subscribe instagram page you should just go to instagram entry on the developer facebook account webhooks and then subscribe to a field that you want to receive notifications . your facebook page should be associated to your instagram business account .
N.B For the feed of instagram we have only comments field

Webhook event for Facebook sponsored message

I am using Facebook's Marketing API to create sponsored message as described here:
https://developers.facebook.com/docs/marketing-api/guides/messenger/#sponsored
After creating the ad, Facebook reviews the ad and then after approval ad gets sent to page audience. I want to know when my ad gets approved or rejected through webhook. Is it possible? Is there a way to receive webhook events for this?
There are some ad account related webhooks in Graph API. These will send events when your ad:
is in_process status
goes out of in_process status
has some issues with it
Please read up more on the official documentation:
https://developers.facebook.com/docs/graph-api/webhooks/reference/ad-account/

Instagram Insight Webhook

Currently, I have a webhook subscribed to Instagram story_insights on my Facebook app. The Facebook app has a bunch of Facebook Business pages tied to Instagram Business accounts. Following the steps here I have successfully set the webhook to work with test data from Facbeook; however, the webhook is never fired when a story ends/is deleted.
I am unsure how else to approach this. Has anyone encountered this issue before?

Facebook graph api - webhooks for comments on ads

We're using facebook graph api webhooks right now to get notified about someone commenting something on our page.
Right now we're running several ad campaigns, NOT boosting post, something we've created through Ads Manager, and want to get notified when someone comments an ad.
Is it anyhow possible? I've tried to google, read docs on webhooks or browse through webhooks list - without any luck
Thanks!

Retrieving Facebook check-ins to a particular Facebook page using Facebook webhooks subscription

I have used Facebook webhooks to retrieve check-ins for a particular Facebook page that I have created. I have implemented an endpoint to receive the webhooks notifications. I was able to get the messages and posts by test users through the webhooks. However I cannot get any check-ins done for the page. Is there any special permissions or way to get the page check-ins?