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

How does a company develop and own a facebook application

Our company needs to automate creation and maintaining Facebook Ad campaigns. As Ads API is restricted to use only by applications, we dicided to develop one. Access to ability to develop was requested to facebook team, after what they congratulated…
Yuriy Nazarenko
  • 83
  • 1
  • 1
  • 8
0
votes
3 answers

Central hub to track all marketing channel data?

I own a business and I advertise in Google adwords, Bing ads, Facebook and few other places. All these are paid ads. My question is this; Is it possible for me to build a system which can connect to all these services via API or any other way and…
0
votes
1 answer

Cannot Add People to Custom Audience

I can successfully create a blank custom audience, but when I try to add people I am unsuccessful. It is weird because I get success messages back from facebook, but when I go to power editor to view, the audience says "No File Uploaded". Even after…
darrendev
  • 322
  • 2
  • 8
0
votes
2 answers

javascript - make facebook page post

I am not using the Javascript SDK because that is client-side whereas I'm making a server-side call. I want to make a page post so that I can make an ad creative with it. I can do the call perfectly fine in the Graph API Explorer tool, but I cannot…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
1 answer

How can I acces Facebook ad information from Adverts Manager with the Ads API?

I have several ads in my Facebook Ads-account which are constructed with the Power Editor. For these ads I also make use of custom audiences, I was wondering if it is possible to extract the 13-character Custom Audience ID from the different…
Michael
  • 1,281
  • 1
  • 17
  • 32
0
votes
1 answer

add users to custom audience says schema is not provided - fb ads api

When I try to hit the custom audience endpoint to add users, I think I provide the correct parameters according to the docs, but it says that I did not provide the schema attribute to payload. payload: { schema: EMAIL_SHA256, data:…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
2 answers

Clarification on meaning of message "This creative type is no longer supported", and how to fix

The message is pretty self-explanatory, except that I'm not sure what "type" this creative is, since there is no "type" parameter, or "objective" parameter, or something like that. What does the phrase "this creative type" refer to? Perhaps it is…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
3 answers

getting an exception while creating a Facebook mobile ad

I'm trying to create a mobile ad using Facebook Ads API. I send a post request to: graph.facebook.com/act_XXX/adgroups with the parameters: name: x bid_type: CPC bid_info: {"CLICKS":2} conversion_specs:…
user3623176
  • 69
  • 2
  • 6
0
votes
1 answer

facebook ads api click tracking tag

I want to use facebook's click tracking tag support in the ads api for external website ads. Here is related documentation. https://developers.facebook.com/docs/reference/ads-api/click-tags/ What is the expected behavior when the user clicks on an…
0
votes
1 answer

Can I get a Facebook Reach estimate from the api without paying for an ad?

How can I get Facebook Reach estimate programmatically and do I need to pay for an ad or have a funding source associated with my ad account to make the call to the reach estimate end point?
SuperCat
  • 33
  • 1
  • 7
0
votes
0 answers

facebook canvas app install ad not getting published

We are facing some issues while publishing Canvas App Install Ads using facebook ads api. We are getting this error while submitting the Ad. Ad Creative has been successfully created. Ad Specs: { "adset_id":"XXXXXXXXXXX", "name":"e2e canvas app…
Rohit Batra
  • 674
  • 4
  • 18
0
votes
1 answer

using a test mobile app in order to reference its ID

I am trying to test a Facebook Ads Management application, for advertising for mobile apps specifically. I don't have a real mobile app but need a mobile app registered on facebook and in ios and android app stores in order to reference its facebook…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
1 answer

How to get Suggested Country & Reach for Page in Lookalike Audience?

I have a query for Lookalike Audience. When i create a Lookalike Audience from Facebook (or power editor) after selecting a page I get a Country automatically selected (after some inspection i found out that FB returns & selected the…
Rohit Batra
  • 674
  • 4
  • 18
0
votes
1 answer

How should files be represented in a POST?

I'm using Python requests and trying to upload an image to Facebook Ads API server. I can put the image in the body using data requests.post(endpoint, data={'pic.jpg': open('pic.jpg', 'rb')}) and then when I print the body of the request, it looks…
tscizzle
  • 11,191
  • 15
  • 54
  • 88
0
votes
3 answers

Does python requests support @ notation for file upload?

I ask because the examples in the Facebook Ads API (https://developers.facebook.com/docs/reference/ads-api/adimage/#create) for creating an Ad Image all use curl, but I want to do it with python requests. Or if someone can answer the more specific…