Hello
I'm having an issue with the way we retrieve ad data related to Facebook posts. Here's the process we follow:
When a lead clicks the CTA on a Facebook post, the post’s URL is sent to our services through Twilio, whit the post url we have the post id.
We then fetch the corresponding ad as follows:
Issue: Sometimes the ad creative ID is present in the list of ads returned by the Ads API, but other times it's missing. I have two questions about this:
Why does the ad creative ID sometimes not appear in the list of ads, even though we follow the same process?
Is there an easier way to find the announcement related to a specific post?
For your reference, here is the documentation we are using:
Post API endpoint -> https://developers.facebook.com/docs/graph-api/reference/post Ad Creative API endpoint -> https://developers.facebook.com/docs/marketing-api/reference/ad-creative Ads API endpoint -> https://developers.facebook.com/docs/marketing-api/reference/ad-account/ads
Thank you in advance for your assistance. Looking forward to your response.
Best regards, Mauricio