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
9
votes
1 answer

How Do We Call loadAd Method of NativeBannerAd More Than Once?

I'm just trying to manage fail scenarios of ads in my app. So, after onError triggered due to some reason(e.g no network) I just called loadAd method of NativeBannerAd like below. But app crashed with called more than once error. …
blackkara
  • 4,900
  • 4
  • 28
  • 58
9
votes
2 answers

Post Job Offers through the Facebook API

Does anyone know if it is possible to post job offers through the FB API? I am asking in context of this article https://facebook.com/business/news/take-the-work-out-of-hiring I searched for something in the FB documentation, but couldn't find…
Harry Mishinev
  • 113
  • 1
  • 5
9
votes
6 answers

Does Facebook Deferred Deep Linking on iOS work, and how to test it before publishing the app on Store?

I have a problem with Facebook Deferred Deep Linking on iOS. DEEP LINKING WORKS, BUT DEFERRED DEEP LINKING DOESN'T WORK. I have read a lot about this problem and still cannot find the solution. I have set up deep linking and it works. When I also…
Vladimir88dev
  • 733
  • 1
  • 10
  • 19
9
votes
5 answers

how to get insights for all campaigns in single query + Facebook marketing api

I want to write query in Python, I want all campaigns performance details in single request. how to convert below graph api request in Python Query? //act_/campaigns?fields=insights.fields(actions_results) I'd tried using below…
9
votes
1 answer

Match facebook campaign objective with insights actions types

Facebook campaigns have an objective among those listed here (PAGE_LIKES, VIDEO_VIEWS, etc). Facebook insights list users actions among those listed here (like, video_view, etc, but some are missing, unlike for example). The problem is: objective…
9
votes
3 answers

Facebook iOS SDK- Mobile App Install Tracking not working

I'm using Facebook SDK version 4.5.1 in my application. The APP ID, URL scheme, App display name etc have been incorporated into the info.plist correctly. We have Authentication as well as Share features inside the app all of which are working…
Xcoder
  • 1,762
  • 13
  • 17
9
votes
3 answers

Facebook Ads API Error - Not enabled for usage

So I have been trying to create an app that uses the Facebook Ads API to get ad costs and stats. I have created an app and added my ad account ids to the app settings but still get the error: "error":{"message":"(#274) The ad account is not enabled…
Mindy Horvy
  • 91
  • 1
  • 2
9
votes
1 answer

How to CURL a Facebook ad report

I want to download a Facebook ad report onto my server using CURL because sadly I dont have access to their Ad API and probably never will do. I successfully logged in to Facebook using CURL (I got an email from Facebook saying my account had been…
Jake
  • 3,326
  • 7
  • 39
  • 59
9
votes
1 answer

Is there a way to retrieve all targetable cities in the Ads API?

The autocomplete API allows us to retrieve lists of all countries, regions, and locales by leaving out the query string and setting the result limit to a large number, but this feature isn't available at the city level. Is there a way that we can…
jaswu
  • 105
  • 5
8
votes
2 answers

Creating a Facebook Ad Account Sandbox account and unlocking ads_read - (AKA: Getting through the getting started tutorial from facebook)

I apologise in advance if this question has been asked elsewhere or if it's a stupid question, but I'm desperate! My goal Create a POC which connects to a facebook sandbox ad account and tests what features are exposed in the API, such as uploading…
Søren Ullidtz
  • 1,504
  • 1
  • 15
  • 26
8
votes
2 answers

Facebook audience network ad status stuck on requesting ads

i am using Facebook audience network I've created an Android app and integrated native and interstitial ads ... Now the problem is that placement status is on requesting ads for both native and interstitial but fill rate and impressions are null…
Tabish
  • 390
  • 3
  • 12
8
votes
3 answers

Facebook Ads Sdk doesn't allow to post ad via API. Subcode: 1487930

I've read a lot about facebook ads and stuff, using GUI it allow to do what I'm doing and for some reason on sdk it doesn't. I get this suberror code on Facebook ads sdk subcode 1487930. The message says: You Must Select an Object to Promote, the…
8
votes
1 answer

Test Facebook Ads API - sandbox?

We would like to develop an app based on Facebook Ads API but I'm wondering how we can test it? Does Facebook have some kind of sandbox for ads api as well?
user3795267
  • 97
  • 1
  • 2
7
votes
2 answers

Facebook Codeless Event - iOS app does not connect to Events Manager

I'm trying to get Facebook Codeless Event to work, but I can't seem to connect my app to Events Manager. Followed instruction from this article: https://developers.facebook.com/docs/app-events/codeless-app-events/#ios After updating Facebook Core…
7
votes
2 answers

How to further filter Facebook Graph API query on Graph API Explorer for my ad account?

I'm trying to get the ad spend and mobile app installs for my app using the Facebook Graph API v2.11 for marketing. In the Graph API Explorer, when I try /act_
1
2
3
57 58