is it possible to retrieve ads metrics and performance from facebook using the video ad id? - facebook

We are using this api https://developers.facebook.com/docs/marketing-api/reference/ad-account/advideos/
to upload a video to our ads manager on facebook.
the response from facebook is id.
now, if this video was selected to create an ads in facebook ads manager and there were campaign that is live or ends - we would like to get the video performance and metrics such as likes, impression, etc of that campaign.
So we are trying to get the ads performance by the videoAds Id.
we tried using video_insight api: https://developers.facebook.com/docs/graph-api/reference/video/video_insights/ (we have all the permissions) with no success.
even if we get the AdsCreative we can not connect it to the videoAds id we received when uploading the video to the facebook ads manager...

Related

How get all album images from my own facebook page

I am developing an android application that gets all photo albums from my Facebook page and show them. I want to do this without Facebook logging.
I tried using Facebook graph API USER TOKEN, but it limits API calls to 200 per hour. But my application will be used by large crowd.
I also tried using Facebook graph API APP TOKEN, but it asks for app review. For app review it needs to supply a screen-cast. How I create a screen-cast before creating the app or can you suggest a another way to do this

Using FaceBook Sdk in my Unity Game (Login and User's FB_id)

I've been working with integration of Facebook sdk in my unity game. In the first page I kept a fb login option and I'm trying to fetch the player's fb_id(with which I will be making an online leaderboard). I'am facing two problems.They are:
Only my apps developers, test-users and owner(me) can login only first time. If i clear my apps data I face a hash key validation problem. There will be a screenshot below.
I need the fb_ids of all users . But I am getting only the fb_ids of people who has roles (owner, developer and test users) . How can I get the fb_ids of all users?
NB: My game is published in google play and reviewed by Facebook with necessary permissions.
Google Play Link: https://play.google.com/store/apps/details?id=com.BLI.CatchTheBaby&hl=en
Facebook SDK does not allow you to get data of all users.
Their API returns only your friends ids,name etc. Here is an online tester of Graph API: https://developers.facebook.com/tools/explorer/
If you want to get all users FB IDs you have to store them on your online database like this: When user is doing his first login to Facebook from your app, you are sending returned id to database by some kind of webrequest. Then you can fetch data with all users IDs.

Is there any API for Facebook to get all the published ads?

I want to get all the published ads in the facebook searched by keywords or URL's, I know that you can get your own ads by giving campaign ID but Is there any API that will get all the ads not for current user but all user's ads?

Facebook Graph API: How can I retrieve the number of views of a video I shared from another profile using the Facebook Graph API?

I have a business manager account for my Facebook profile and I re-shared a video from another profile. How can I retrieve the number of views that my re-share accounted for through the Facebook Graph API?
If the video were posted directly to my profile rather than re-shared, I'd be able to use the /v2.8/{video-id}/video_insights method to retrieve the video stats, but that does not appear to be available for re-shares. The only insights that I can find for re-shares appears to be /v2.8/{post-id}/insights, but that does not include video views.
For example, here is a Facebook post by The Dodo where they are re-sharing a video by Discovery News.
This information can be retrieved by making a call to /v2.8/{post-id}/insights/post_video_views

How can I track performance of facebook mobile app ad campaigns

As we know, we can use marketing API of facebook to check our campaigns.
But these statistics are aggregated, can not understand my audiences of ads.
Whether there is API to fix this problem?
I just want to get device level info from every ads.
Like:
Get IDFA (advertising ID in iOS) have been installed Application by clicking My facebook ads.
User level data is not accessible due to user's privacy. However, you can get some aggregated numbers with more detail by using Facebook Analytics or the /app_insights endpoint. https://developers.facebook.com/docs/graph-api/reference/application/app_insights