How to get Ad id from Ad creative Facebook marketing API

1k Views Asked by At

I am using Facebook python business sdk for fetching Ad related data and the structure we have in database is identical to how facebook structured Ad related API. Following is the structure which was providing correct Ad creative objects

AdAccount -> Campaigns -> AdSet -> Ad -> AdCreative -> (Ad post id)

Now from previous 2-3 weeks there are some AdCreatives which are only available when fetched on Ad creative end-point via Ad Account and Ad id is not included in those I have two questions

-Can anyone help why some Ad creatives are missing when fetching on Ads and available on Ad accounts?

  • How to get Ad id if ad creatives are fetched via Ad Account?
0

There are 0 best solutions below