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
55
votes
2 answers

Creating and managing a Facebook app from a Business Account

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 /…
Igy
  • 43,710
  • 8
  • 89
  • 115
37
votes
8 answers

How to fix Duplicate Facebook pixel ID error?

Added facebook pixel like they showed here here Now getting an error: fbevents.js:9 Facebook Pixel Error: Duplicate Pixel ID: some-pixel-id Cannot understand what causes this error. Even when I run the code from their example with removed pixel…
Eugene Monakov
  • 515
  • 1
  • 5
  • 9
34
votes
3 answers

Facebook conversion event callback

I cant find in the documentation if there is any callback functionality in the conversion tracking (https://developers.facebook.com/docs/ads-for-websites/tag-api) In order to track an event you just need to call: window._fbq = window._fbq ||…
DomingoSL
  • 14,920
  • 24
  • 99
  • 173
31
votes
2 answers

FB Ads API status , effective_status and the ads actual status

From the ads api doc it says effective_status enum {ACTIVE, PAUSED, DELETED, PENDING_REVIEW, DISAPPROVED, PREAPPROVED, PENDING_BILLING_INFO, CAMPAIGN_PAUSED, ARCHIVED, ADSET_PAUSED} The effective status of the ad. The status could be…
almaruf
  • 750
  • 7
  • 21
20
votes
6 answers

How to resolve Error = 1001 "No Fill" using Facebook Audience Network in android

I have an Android version of my app and integrated FAN into my Application. It worked for some months but now it's displaying "NO FILL" Error Domain=com.facebook.ads.sdk Code=**1001 "No fill"** UserInfo={NSLocalizedDescription=**No fill**,…
InsaneCat
  • 2,115
  • 5
  • 21
  • 40
17
votes
2 answers

Facebook pixel events call from server

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…
lenden
  • 800
  • 2
  • 14
  • 38
17
votes
2 answers

Can't create Facebook Ad creative with a facebook app in a development mode

I am working on a FB app for creating Facebook Ads. In the past I was able to debug the whole FB Ad creation process in a development mode but suddenly I started getting this error that I was not able to find documentation…
Petr Volny
  • 539
  • 3
  • 12
16
votes
1 answer

Insufficient Installation History in facebook advert

We found 1 error. Insufficient Installation History: Your account does not have enough install history to start using billing event for mobile app install ads. Please visit https://developers.facebook.com/docs/reference/ads-api/cost-per-action-ads/…
akhil batlawala
  • 1,066
  • 1
  • 10
  • 30
14
votes
1 answer

How to break down insights by day via Facebook api

I want to get the daily insights data so I try to use the below edge to request record by record (day by day). If there is data for 30 days, I have to request 30…
Nooni
  • 141
  • 1
  • 4
12
votes
1 answer

Facebook ads deferred deep linking not working in android App Link Data is null always

I am integrated facebook deferred deep linking for ads, For new installs App Link Data is always null Manifest file changes done.
Prakash
  • 149
  • 7
12
votes
2 answers

How facebook measure app installs - Android/IOS

Facebook ads has a feature that it can knows how many apps are installed from advertising in facebook https://developers.facebook.com/docs/ads-for-apps/mobile-app-ads#advanced I know google provide referrer/campaign feature to detect which…
Ikarus
  • 1,169
  • 4
  • 14
  • 28
11
votes
2 answers

How to get FB Ad Account Id via API?

With new facebook ads API. How do I find all the ad account ID's associated with a user? I see all the documentation about how to get details about an Account (given id). But I can not find how to get a User's ad account id (via…
user2720797
  • 111
  • 1
  • 1
  • 4
11
votes
3 answers

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

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…
manish nautiyal
  • 2,556
  • 3
  • 27
  • 34
10
votes
3 answers

retrieve async ads insights results from FB ads API with pagination

I am using facebook-python-ads-sdk to make async calls for FB insights API as described. params = { "time_increment": 1, "level": "ad", "date_preset": "last_28d", "breakdowns": "hourly_stats_aggregated_by_advertiser_time_zone", …
Dejell
  • 13,947
  • 40
  • 146
  • 229
10
votes
1 answer

Advanced Matching with New Facebook Pixel in Javascript Web App

I have a single page javascript application, in which I am trying to implement Advanced Matching with the New Facebook Pixel to give us better attribution on our Ads. We currently init the FB pixel when the app is first loaded, then fire standard…
1
2 3
57 58