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

Distinguish between adwords, organic visits, facebook organic and facebook ads in my admin system

I'm trying to track leads from adwords, google organic visits, facebook organic and facebook ads in my admin system for reporting purposes. Adwords shows me the conversions/leads and analytics shows me the google organic goals/leads, but I'm also…
0
votes
1 answer

How to get only active Ad Sets of a Facebook account

I'm struggling to get a list of ad sets which are currently active. I'm using the following to get a list of ad sets: ...account ID/adcampaigns?fields=campaign_status This returns all ACTIVE and PAUSED ad sets. How can I filter only the active ones?…
makke
  • 21
  • 2
0
votes
2 answers

Cant Create Facebook Ad via Ads API

I am trying to create a Facebook AD via their PHP SDK. The problem lies in the creation of the ad itself. If I comment out the last piece, its creates the adset. When I run this code, I get the error "a Parent ID is required" try { …
tytyguy
  • 340
  • 1
  • 4
  • 15
0
votes
1 answer

How to manage more than 25 Facebook ad accounts per user?

we are developing an app which will allow an admin to get managerial permissions to access users' advertising accounts on Facebook. But it looks like there is a limit to 25 accounts only. Ads Management Basic Access lets your app access the…
0
votes
0 answers

Should I be able to get my user's Facebook adgroups with a general_user role for the adaccount

My web app authenticates the user and retrieves her advertising accounts with her user token: /me?fields=id,name,adaccounts After I received the ad account ids I am trying retrieve the adgroups for one of them: /act_xxxxxxxxxxxxxxx/adgroups but I…
0
votes
1 answer

Create a Product Audience with Facebook Power Editor

According to Facebook Product Audience documentation, one can create an audience to target people who, for example, have added a product to basket but not purchased it. This can be done through product_audiences endpoint…
yves amsellem
  • 7,106
  • 5
  • 44
  • 68
0
votes
1 answer

Load the creative information with the adgroup not just the creative id

I am trying to figure out if anyone has a better way to load facebook adgroups with the creative information. So far the only way I have been able to find is, load all the adgroups using the api point here: /act_{account_id}/adgroups I pass the…
Silvio
  • 32
  • 9
0
votes
0 answers

For Facebook Marketing API Basic and Standard access, can the cap for number of custom audiences be increased?

We are building an internal tool that will buy Facebook Ads programmatically - focusing mainly on email-based custom audiences. We will be building/associating one custom audience for each ad set that we create. We estimate that we will need more…
upc
  • 1
  • 1
0
votes
1 answer

Manage ads for app users

My web app is helping small businesses create content for their business pages. I want to add the ability for my users to promote their posts. most of my users don't have an ads account. I can think of two options: ask them to create an ads account…
Amit W
  • 1
0
votes
1 answer

Facebook Ads API Invalid Parameter issue

I'm trying to create an ad using the Facebook Ads API. So, far I've already created the Ad Set, Ad Creative and Campaign but, when I use the following code to create an ad group, I'm receiving Invalid Parameter exception. Please suggest me if I've…
shr3jn
  • 605
  • 1
  • 10
  • 21
0
votes
1 answer

Facebook ads for Android callback on ad click

I use Facebook ads (via the latest FB SDK for Android) in my Android app. Ads are working perfectly but there is one problem: customer whants to add additional tracking on ad clicks, so I need to get some callbacks when user clicks the ad. Does…
Alex
  • 1,319
  • 3
  • 15
  • 33
0
votes
1 answer

"call_to_action_type field in creative is required in this ad" returned while creating ads using marketing api

When I use adcreatives endpoint with object_story_spec parameter to create ads or using object_story_id parameter following instructions in this link : I got this error message: {"error":{"message":"Invalid …
Xiaoning He
  • 3
  • 1
  • 2
0
votes
1 answer

How to get audience_size in Interest plus Country query

Hi i'm still new in Facebook-ads-api I know this is a noob question, I want to get the audience_size for the Interest in a specific country. on the API sample it can only generate the whole world audience_size of an Interest use…
margibs
  • 1
  • 1
0
votes
0 answers

Facebook Creative works in Graph Explorer but not in application?

We're working on ad creation in our application, and I was wondering if anybody was experiencing what we're seeing. I can take write a URL to create a Link Ad in the Graph Explorer, and it will create it. If I paste that same URL into a test page on…
0
votes
1 answer

How to target Facebook users with products they viewed without purchasing

I am trying to work out this issue for some weeks now. I even contacted Facebook but they said to contact Stack Overflow. How are you successfully targeting Facebook visitors with the same product after they viewed it and left from your website? For…
Swayam
  • 25
  • 7