Questions tagged [facebook-ads-api]

The Facebook Ads API (aka Marketing API) is used by application developers to create, manage and measure ad campaigns that run on Facebook.

The Facebook Marketing API (previously referred to as Ads API) is an interface into Facebook to create ads, manage campaigns, and measure the performance of a campaign. The Facebook Marketing API has various levels of access, some of which may require an application and review process. See Facebook's Marketing APIs access documentation for more details.

The Facebook Marketing API is a subset of the Facebook Graph API where requests and responses are sent over HTTP and the responses are usually returned as JSON.

The Facebook hosted documentation is available here: Facebook Marketing API Documentation

867 questions
6
votes
1 answer

Minimum installations for using CPA in Mbile App Install ads

When I try to create mobile app install using CPA I get the following error (Exception - #1487579) Your account does not have enough install history to start using cost per action (CPA) bidding for mobile app install ads. Please visit…
Tal Yaari
  • 463
  • 6
  • 15
5
votes
0 answers

This mediation group is still serving ads, but there are one or more issues affecting its performance. Expand this mediation group for more details

After implementing Facebook Ad unity on Admob, I am getting this message in the Mediation Group: This mediation group is still serving ads, but there are one or more issues affecting its performance. Expand this mediation group for more…
Tulon
  • 4,011
  • 6
  • 36
  • 56
5
votes
2 answers

Facebook Native Ads not showing, error "1011 - Display Format Mismatch"

I want to implement the Facebook Audience Network "Native Ads" and display them in a RecyclerView at every Nth position in the list. I already got the regular banners running in the same app and have no problems there. However, the native ads don't…
5
votes
1 answer

Facebook Server-side Conversion Tracking

I am wondering if it is possible to track conversions based on the information Facebook provides. (FBID, @facebook.com email) The only option I see is this https://developers.facebook.com/docs/marketing-api/app-event-api And I am still not sure if…
Chad Cache
  • 9,668
  • 3
  • 56
  • 48
5
votes
3 answers

Facebook Ad API Error

I am getting error while creating Creative using the FB Ads PHP SDK $parent_id as a parameter of constructor is being deprecated, please try not to use this in new code. The code was working before the 2.9 and 2.10 update. The Code I am using to…
Stacy Thompson
  • 688
  • 1
  • 10
  • 26
5
votes
2 answers

Facebook Marketing API how to retrieve Ads Action Stats

I've been fighting with the Facebook Marketing API in the last days. I simply want to retrieve the cost_per_action_type but matched with the campaign's objective. I've discovered this:…
5
votes
1 answer

Can't access Facebook campaigns

I'm unable to get a list of my campaigns using Facebook Graph API Response for /me/adaccounts { "data": [ { "account_id": "123456789000001234", "id": "act_123456789000001234" } ], "paging": { "cursors": { …
Jan Sommer
  • 3,698
  • 1
  • 21
  • 35
5
votes
1 answer

Boosting a Facebook post via API and having it reflect in the FB UI

When a Facebook post is boosted via the Facebook UI, a handy little "View results" button and little bar chart of boosted vs. organic reach is shown. When boosting via the API, I can't get this to show up. Is this display exclusively for boosts via…
ceejayoz
  • 176,543
  • 40
  • 303
  • 368
5
votes
1 answer

How to access "Saved Audiences" with the Facebook Ad API?

I'm trying to access "Saved Audiences" that were created with the Power Editor via the Ad API. I've tried https://graph.facebook.com//act_/?fields=customaudiences" but that returns nothing. What am I doing wrong?
user6236094
  • 141
  • 6
5
votes
2 answers

How to generate Facebook Marketing API access token to use it in Windows application

I am using Facebook as advertising platform to promote my application on Apple and Google stores. I would like to make windows service which will download daily report(s) about advertising status of my marketing campaign running one Facebook,…
5
votes
1 answer

Will Facebook ads app install work without Facebook SDK Integration in the app?

I want to track number of app install via Facebook ads app install. I have registered my app at Facebook Developer(http://developers.facebook.com/), completed App Settings Page and App Detail Page. Will it work without integrating Facebook SDK in…
Gaurang Makwana
  • 216
  • 2
  • 9
5
votes
1 answer

Facebook Ads API - e-mails and hashes in a Custom Audience

I upload a csv of 212 emails through Facebook's Power Editor, and after some seconds I can see that 200 users are in the audience. I upload a csv of the sha256 hashes of those same 212 emails through Facebook's Power Editor to a different Custom…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
5
votes
2 answers

Facebook Mobile Ad App Installs not showing up in campaign reports

I have successfully implemented the Facebook SDK and AppEvents to report installation of my Android app. I have verified that it registers the last install data in the dashboard, and I see thousands of fb_mobile_activate_app events in my App Events…
RealCasually
  • 3,593
  • 3
  • 27
  • 34
5
votes
2 answers

How to retrieve facebook user's ads account id?

In my app I want to create Facebook ads on behalf of a user. How do I discover via API if he has a FB Ads account and what's his Ads account id?
RocketR
  • 3,626
  • 2
  • 25
  • 38
5
votes
2 answers

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

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…
Jon Moses
  • 138
  • 6