Facebook ad attribution report per-user - facebook

My company launched several Facebook ads campaign to drive page likes. Once the campaigns have run for several days, Facebook was able to generate a report of the result of the campaign, showing the number of users that are reached by the campaign aggregated by various dimensions (gender, age, etc).
Given that FB is able to show such aggregate value, I imagine internally FB ads attribution already associated the FB accounts that were reached by said campaign. But no matter what kind of report I try to create, there seems to be no way to download this list of individual accounts that were reached by a campaign, either via API nor GUI.
Is there a way to get this list? Or is it deliberately made not possible due to some regulations or privacy policy?

Facebook deliberately made it this way. You can access the performance data as granular as the ad level, but no further than that. I think attribution solution companies that collaborate with FB have access to the user level information, so the data are definitely collected and stored.

Related

Instagram Graph API getting users geolocation without login and access token

I know that you want to suggest me private api or any scraper. I used them but they don`t return accounts geolocation. In my application I want to get instagram accounts geolocation, likes, comments, followers and follows in order to get engagement of account.
If you say it is not possible look TrendHero website it returns all information about users, followers rank, country information and other handy information which you can find in your insights (in instagram account) without users permissions.
My first impression, without caring to dive deep into the company you linked, is they are simply using scrapers. That's typically how those big contact databases are done.
The Instagram APIs simply don't provide the access they used to. That's how it is. Simply asserting there must be a way doesn't mean there actually is.
#WizKid Instagram can't actually prevent scraping. They just make a little fuss about it.

Manage data for multiple ads accounts by Facebook Marketing API

my team uses many Facebook Business Manager to manage multiple Ad Accounts. Usually our employees will check the Amount Spent and Bill manually in Facebook sites. But now the number of ad accounts increases, I would like to automate the tasks: syncing data from Facebook to our own database (for high manager to view).
I tried with my own Facebook Account (by my own facebook App), I can get the Amount Spent already. My questions are:
What is the API to get Amount Billed, I searched around but not yet found
Because the number of ad accounts is big, what will be the good approach? (I am thinking of create a sole app and let the advertisers authorize it, And use the token to call Graph API; 2nd way is: each facebook user create their own app, this will not need Facebook to approve the app).
Sorry for my bad English, I am really new to Facebook API, please help. Thank you very much.
You can get Budget,Spend... with Ad Set (lifetime_budget,daily_budget)
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign#fields
and get report Cpc,cpm... with Insight
https://developers.facebook.com/docs/marketing-api/reference/ad-campaign-group/insights/#fields

Facebook memorialization information within the Graph API?

I'm currently building a Social Media Dashboard where I'm doing a huge amount of data analysis for various social media providers. I'm now at the stage of doing analysis for a user's Facebook friends. One thing I'd like to do is analyse how many of a user's friends has passed (meaning their account has become a memorialized account). Does the Facebook Graph API offer any information about this?
I've done a fair amount of research on this topic, but I could only find information regarding the process of declaring an account memorialized:
From Facebook FAQ:
How do I report a deceased user or an account that needs to be
memorialized and deactivated or
deleted?
Memorializing the account:
Please report this information here so
that we can memorialize this person’s
account. Memorializing the account
restricts profile access to confirmed
friends only. Please note that in
order to protect the privacy of the
deceased user, we cannot provide login
information for the account to anyone.
We do honor requests from close family
members to close the account
completely.
Removing the account:
Immediate family
members may request the removal of a
loved one’s account. This will
completely remove the account from
Facebook so that no one can view it.
We will not restore the account or
provide information on its content
unless required by law. If you are
requesting a removal and are not an
immediate family member of the
deceased, your request will not be
processed, but the account will be
memorialized.
To make a request to memorialize or
remove a profile, please do so here.
If you have a special request
regarding a deceased user's account,
please use this form. Please note that
this form is only to be used for
accounts that have already been
memorialized.
Does anyone know if Facebook will ever add support for this within their API? A field called is_memorialized from a Graph API profile response would be enough for my needs at the moment.
Should I contact Facebook about this?

Facebook - public posts not appearing in Graph?

I am currently trying to get the posts for a specific user from Facebook's Graph API. I have done this numerous times before using a php script I have developed; but the problem this time seems to be on Facebook's end, not mine.
I am trying to get the posts from (replacing TOKEN with an access token):
https://graph.facebook.com/100001558773450/feed?access_token=TOKEN
The graph won't show any posts by the owner of that page but will show everyone else's posts, and as far as I can see the posts are marked as public, and there are no privacy settings set on the account that would stop it from adding the posts to the graph.
Any ideas?
Thanks,
Nick
Check that you have requested the manage_pages permission to give you full access to the page (if you need access as the "page owner").
Using the access_token you've got, according to this documentation there are three different things that you can select feed, statuses and posts.
I'd give those three a go from https://graph.facebook.com and if what you get back is what you require.
https://graph.facebook.com/100001558773450/feed?access_token=...
https://graph.facebook.com/100001558773450/statuses?access_token=...
https://graph.facebook.com/100001558773450/posts?access_token=...
You need to check the "profile" privacy settings (what to share with apps). But most importantly, this is against Facebook ToS!
You can't use a user profile to represent your business, you need to use Facebook pages instead!
More can found here:
Why should I convert my profile (timeline) to a Page?
Since profiles
(timelines) are for meant individual people, they aren't suited to
meet your business needs. Pages offer more robust features for
organizations, businesses, brands, and public figures, which you can
learn more about here.
Further, maintaining a profile (timeline) for anything other than an
individual person is a violation of Facebook's Statement of Rights and
Responsibilities. If you don’t convert your profile (timeline) to a
Page, you risk permanently losing access to the profile (timeline) and
all of your content.

Integrating Facebook into Google analytics

I want to add the 'Log in with Facebook' option to my website, however I'm unsure how to integrate the information gained when someone logs into my website with Facebook with my current Google Analytics.
Is it possible to link up a visit in Google Analytics with a user who has logged into the site with Facebook to enable me to see things like age, gender etc?
Any help you can give me on this would be much appreciated.
Thanks,
Ben
you may have to do this via a redirection or possibly a frame.
Google Analytics does nolt track individual users, it provides anonymized data. So at the top level, no you cannot do this. However, there are a few more things avaiable to you. One: Facebook provides facebook insights, their own tracking suite, that will give you demographic information on the users of a facebook app or fan page. You site will effectively become a facebook app when you use their user authenication, so you will be able to get insights tracking on you site. At the present moment, facebook insights and google analyitcs do not itegrate or share data. Facebook insight also provides anonymized data, so you will not be able to identify an individual through the tracking.
The final option is, now that you are tracking users through login, you can implement your own tracking info on your site to see what individual users are doing, and attempt to track their preferences.
Its also entirely legal (in the United States at least) to buy access to marketing data and use use your registered user name pool to get additional information.
If you wanted, you could set up a "funnel" in Google.
When a user logs in through Facebook, you could send them to a specific page and then track their progress from there...
http://www.google.com/support/analytics/bin/answer.py?answer=55515
So using this you could get the percentage of users who log in through Facebook... etc.
But to collect information other than that, you would have to get the correct permissions documented here eg. user_birthday (to get the user's Birthday) and query the Graph API from there, thus implementing your own tracking of users.
You can query the Graph API using the various SDKs that Facebook provide explained here.
First of all you should check out this Google document. It explains, how you set a custom unique user id via google analytics.
Further you've to send an event to google analytics (e.g. 'fb_login') via the callback function of your facebook login function.