facebook-ads-api

Get metrics from Facebook Ads API

孤街浪徒 提交于 2019-11-30 15:26:09
I am not able get the below metrics from Facebook API. How can I calculate the these metrics, which appear in Facebook's own ads interface, from the Facebook Ads API: Reach Social reach Frequency, CPC, CPM. Vasil Karpachev When you have the Ad group ID, you have to issue an API call: https://graph.facebook.com/<AD-GROUP_ID>/stats Then you get answer like this: { "id": "<AD-GROUP_ID>/stats/0/.....", "impressions": 31, "clicks": 0, "spent": 0, "social_impressions": 0, "social_clicks": 0, "social_spent": 0, "unique_impressions": 0, "social_unique_impressions": 0, "unique_clicks": 0, "social

Facebook pixel events call from server

淺唱寂寞╮ 提交于 2019-11-30 04:02:24
I have absolutelly the same question as dan here - Facebook conversion pixel with "server to server" option . There was written, that there was no way, but it was 2013, so I hope something changed. So, is there any way to call facebook pixel events (e.g. CompleteRegistration) from server side now? I can describe situation in more details. Imagine, that user visits our site, where fb pixel tracks 'PageView' of course. When user passes form and sends his phone number, we call 'Lead' event. But then we need to track one more event , when our manager successfully confirmes this user! Of course, it

Facebook's ads api exception 294 - Managing advertisements requires the extended permission ads_management, and a participating API key

久未见 提交于 2019-11-30 01:57:04
问题 My campaign is running on FB and I want to extract daily data with the help of Ads API. I'm using facebook ads api and I'm facing this problem every time { "error": { "message": "(#294) Managing advertisements requires the extended permission ads_management, and a participating API key", "type": "OAuthException", "code": 294 } } I have created one app XYZ and using this created I created an ad campaign. With Graph API Explorer I generated Access Token. and I give permissions also. 回答1: You

Is there any way to get a list of users for a custom audience?

风流意气都作罢 提交于 2019-11-29 15:21:59
Getting other details is easy, but there doesn't seem to be any API accessible way to get a list of users (or even approximate users) for the audience. You can add them, and delete them (?!) but not enumerate all the users in the list. Is that truly the case, or am I missing something? According to the documentation here: https://developers.facebook.com/docs/reference/ads-api/custom-audience-targeting/ you should be able to see an approximate count. There is no way to get the users back from the custom audience list by design. For the audiences you never upload raw contact data. You always

Facebook pixel events call from server

放肆的年华 提交于 2019-11-29 01:16:36
问题 I have absolutelly the same question as dan here - Facebook conversion pixel with "server to server" option . There was written, that there was no way, but it was 2013, so I hope something changed. So, is there any way to call facebook pixel events (e.g. CompleteRegistration) from server side now? I can describe situation in more details. Imagine, that user visits our site, where fb pixel tracks 'PageView' of course. When user passes form and sends his phone number, we call 'Lead' event. But

Facebook Ads API: (#10) You do not have sufficient permissions to perform this action

自作多情 提交于 2019-11-27 07:00:41
问题 I have facebook app with status Live and available to all users . When I login through this app on my site I get access_token for my facebook user. And with this access_token I can read with Ads API next methods (for my own ad campaigns): /me/adaccounts /act_<AD_ACCOUNT_ID>/agroups But when someone else login on my site (and confirms all permissions) and I get his/her access_token I can't perform second api call. I get this error (#10) You do not have sufficient permissions to perform this

Creating and managing a Facebook app from a Business Account [closed]

爷,独闯天下 提交于 2019-11-26 00:38:07
问题 Can I create or manage a Facebook app via a \'business\' account? When I try to access https://developers.facebook.com/apps when logged in as a business account it redirects me back to my homepage and won\'t let me create an app. Context: A business / advertising account (sometimes called a \'gray account\') is a special, now-deprecated type of account Facebook provided to advertisers to manage their Ads and Pages before Business Manager launched - the primary reason people want to use a