Questions tagged [facebook-marketing-api]

enables access to Facebook’s advertising platform

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Is there a way to get the Applications Submitted metric using the Insights edge of the Facebook Graph API?

I am trying get the metric Applications Submitted seen in the image. I am using v18 of the Graph API directly with HTTP. I am using the Ad Account node with the Insights edge, but no matter what ...
ErevuDeveloper's user avatar
0 votes
0 answers
9 views

How i can get appointments data by calling facebook graph api?

While i am calling curl --location --globoff 'https://graph.facebook.com/v18.0/t_1499689317517496?fields=messages%7Bid%2Cmessage%7D&access_token=<access_token>' --header 'Cookie: fr=...
farukh saleem's user avatar
0 votes
1 answer
49 views

Facebook Insights API fails with "The start date of the time range cannot be beyond 37 months from the current date" but it is today

Look at this error in Meta Marketing API AdAccount Insights. It says start date cannot be beyond 37 month, but if you look at the date in bold, the date is yesterday. How can this happen? Based on ...
Jeff Oberlander's user avatar
0 votes
0 answers
25 views

API to get user data in a spcific area/zipcode with a interest

Can you provide guidance on obtaining user data based on a particular postal code and specific interests? for example user with a interest in basketball and in a postal code of 73001 The Facebook ...
Ajay Dev M's user avatar
0 votes
0 answers
14 views

Facebook Ad campain error for app installation

When i tried to create facebook ad campain for App install below error message shows every time. Missing or invalid field in promoted objects: For optimisation goal APP_INSTALLS, application_id needs ...
shaun dan's user avatar
0 votes
0 answers
23 views

How to accept facebook lead generation terms of service (TOS) through API?

We want to run ads on behalf of our clients. Our process involves sending a page access request to our client. Once they accept, we can run ads for their Facebook page using a system user. However, ...
hossein derakhshan's user avatar
1 vote
0 answers
30 views

How do I interpret Meta Marketing API Rate Limit responses?

I'm calling the Facebook marketing API on AdSets and AdInsights. It has rate limiting and I can't figure out the what the response parameters mean so I can logically handle with sleep calls. Three ...
Jeff Oberlander's user avatar
0 votes
0 answers
19 views

How to invite a user to join a business account via Facebook API?

I want to invite a user to join my facebook business account via facebook graph api v18. Based on facebook documentation I send a POST request to: `curl \ \-F "[email protected]" \ \-F &...
dbishani's user avatar
0 votes
0 answers
70 views

Meta Insights API - show Spend of all campaigns in USD

I've been trying to pull out the spend of each ad campaign using the Meta Insights API, but the spend comes out as the currency as stated in the account_currency field. When creating a report through ...
Dino Dinz's user avatar
0 votes
0 answers
24 views

Facebook API Sandbox account is asking for a valid payment method

I've already setup my Facebook sandbox account. I've tested posting to the sandbox page and everything works. However, when trying to add and Ad it requires me to "Add a valid payment method to ...
Marc Pacuri's user avatar
0 votes
0 answers
21 views

How to retrieve audiences used in ads using facebook marketing api?

I'm looking to create a report showing which of our saved_audience(s) is/are being used with our ads. Is there a way to see the audience name or id that corresponds to a specific ad? I've tried the ...
jasflores309's user avatar
1 vote
0 answers
30 views

Facebook Marketing API : Duplicate images in Carousel ads in /adcreatives?fields=asset_feed_spec endpoint

I want to retrieve all the images from the ad. If an ad has multiple placements, Facebook generates different hashes for all the images. I need all the distinct images. The ad includes a carousel with ...
Kashyap Chandarana's user avatar
0 votes
0 answers
76 views

Meta Marketing API: Reading Website URL from ads with Instagram or Facebook posts as Ad Creative

I am trying to keep track of URLs used on boosted posts in my ad account. The Marketing API documentation lays out the ability to attach calls to action with an existing post as creative: Use Posts As ...
Jason Gaskin's user avatar
0 votes
1 answer
41 views

How to Calculate Cumulative Unique Reach Over a Date Range in PowerBI Without Auto-summing?

I'm working with Facebook Ad reach data from the Facebook Marketing API and have a challenge representing the cumulative unique reach over a given date range in PowerBI. Here's the challenge: On Jan ...
Lax Mandis's user avatar
0 votes
0 answers
26 views

how to add a cta button to a live stream post through the facebook api

I want to add a CTA button to my Facebook video live stream post. After starting the live broadcast, I request this API interface https://graph.facebook.com/v17.0/<FACEBOOK_PAGE_ID>/feed { &...
cppgood's user avatar
1 vote
0 answers
29 views

Unable to push to Facebook custom audience with sandbox ad account

We are looking to test pushing custom audiences to the Marketing API. Below is the code used for the push with credentials omitted: access_token = '' FacebookAdsApi.init(access_token=access_token) ...
College Student's user avatar
1 vote
0 answers
110 views

(#100) Missing permissions while access facebook ads data using marketing api using facebook-business sdk

I created a facebook app with the required permission below to read all of my campaign ads data. Section of code: def get_facebook_campaign_data(app_id,app_secret,access_token,account_id,s_date,...
iamabhaykmr's user avatar
  • 1,871
0 votes
0 answers
95 views

Generating ad report in facebook MARKETING API or GRAPH API. [PAGE_NAME field ]

I am losing my mind. I have report in https://business.facebook.com under ad account. I am using breakdown called Page name. It shows page of the ad in Excel column (I think you get idea). Problem is ...
Nik395's user avatar
  • 11
0 votes
0 answers
44 views

What is the authorization for reach and frequency campaign?

I was tasked with fetching estimates for cost per click, impressions, reach, total spend, etc. I'm trying to use the reachfrequencyprediction API, but after I execute the request I get the following ...
Emanuele Lucchese's user avatar
2 votes
0 answers
61 views

How do I read comments on ads via Facebook Marketing API

I want to usa a system user to read comments on my ads via the Facebook marketing api. It works fine to read comments on a post that is published on a page, as long as I use the Facebook page access ...
dannepanne's user avatar
6 votes
0 answers
63 views

Can't read or create comments on facebook post once asset_feed_spec is preset on ad creative

I have an app that reads comments on ads from facebooks api, During testing we've noticed that when the user adds any variations to the ad this creates an asset_feed_spec on the adcreative, which then ...
Chris Bell's user avatar
0 votes
0 answers
109 views

List of interests from Facebook Marketing API

I am having difficulty obtaining a complete list of all interests available through the Facebook Marketing API (or Graph API) for use in my web application. Although I have tried using several ...
Szkaliii's user avatar
0 votes
0 answers
31 views

Facebook Ads reach estimate for a specific day

I run ad campaigns for my company on Facebook, and we were recently trying to understand how our ads were delivered, given the number of Facebook accounts in various demographics in the U.S. (i.e All ...
user81371's user avatar
0 votes
1 answer
54 views

Facebook Marketing Graph API stop time filtering

With this API call, act_xxx/campaigns?fields=name,start_time,stop_time,effective_status&limit=1000&filtering=[{"field": "effective_status","operator": "IN&...
andrew's user avatar
  • 21
3 votes
1 answer
183 views

What's the API method to retrieve the destination website URL of a Facebook ad?

(1) I need to extract the link inside a facebook ad. When creating a facebook ad , we need to fill in destination, where we need to fill website url, how can I get this value from some facebook api. ...
Vagish Dilawari's user avatar
0 votes
0 answers
24 views

Error on create adaccount for a child Business Manager with facebook's graph API

At the moment I am trying to create a system where you can create several business managers, each one associated with its own Adaccount. Documentation link: https://developers.facebook.com/docs/...
Ulrich NGAKUI NGAHA's user avatar
0 votes
0 answers
56 views

How to get a metric CompleteRegistration in the context of campaigns?

I'm trying to get the metric CompleteRegistration in the context of campaigns, but I'm only getting aggregated values by date. This is my code: from facebook_business.api import FacebookAdsApi from ...
Danya's user avatar
  • 1
0 votes
0 answers
117 views

Meta Marketing API: Instagram Profile URL in WEBSITE_CLICKS Objective

Reading through Meta's documentation they specify: "You should not create WEBSITE_CLICKS ads that link to your Facebook Page or Instagram profile. This can result in API error and it also creates ...
Stacia Sleight's user avatar
0 votes
0 answers
69 views

Meta Marketing API for "More Profile Visits" Objective - IG Boosted Post

We're trying to find API documentation to tie into the Boosted Post feature on Instagram for "More Profile Visits". All documentation I've found so far creates a traditional ad for link ...
Stacia Sleight's user avatar
0 votes
0 answers
225 views

How to use facebook catalog batch api properly?

I would like to bulk delete some products using facebook catalog api. Based on the reference i created a request like below: import json url="https://graph.facebook.com/v16.0/my_catalog_id/...
keymeans's user avatar
0 votes
1 answer
149 views

How to avoid the error : There have been too many calls from this ad-account. Wait a bit and try again. For more info,

I'm using the Facebook Marketing API to generate a list of all ads, ad names, objectives, and impressions for each day, given a list of ad set ids. (For those of you who don't know the hierarchy, each ...
Lax Mandis's user avatar
0 votes
0 answers
116 views

Flaky(Missing Permission) when calling get adaccount, upload custom audience for facebook-java-business-sdk: v16.0.0

Detailed Description facebook-java-business-sdk: v16.0.0.0 Currently, I am getting flaky issues when trying to 3 function (I receives success response and failure response whether everything in ...
Nhat Study Account's user avatar
0 votes
0 answers
35 views

Not getting all the campaigns via the marketing api

I am using this api to get campaigns of a particular ad account via the marketing api. However, I am not getting all the campaigns for that account. I can only get the campaigns that were created by ...
hemant jangid's user avatar
0 votes
0 answers
91 views

ads_read permission neeeded for lead retrieval Facebook Graph Api

I have created an app in the facebook developers portal, connected it with a facebook page, where ad campaigns are running. The app has a webhook subscription with a backend endpoint, which means that ...
AlwaysLearning's user avatar
0 votes
1 answer
171 views

Facebook Leadgen webhook does not include ad_id nor adgroup_id

Issue: I have configured webhooks in my Facebook App to send leadgen data to my web application. It works fine for the most part and I receive the webhooks in real time but the the fields adgroup_id ...
Pablosorno's user avatar
0 votes
2 answers
402 views

How to check if a Facebook user account is restricted via API?

The account quality page of a user account shows account restricted and I am unable use the account for advertising. Is it possible to check if a user account is restricted using any Facebook API ...
Aromal S's user avatar
1 vote
0 answers
137 views

FB Marketing API - Outbound_clicks not returned

I'm trying to get insight data for Ads using the FB marketing API. I notice that the "Outbound_Clicks" field is not returned when I include breakdowns=Description_Asset in my API call. When ...
byen's user avatar
  • 13
0 votes
0 answers
119 views

get parameter video_thruplay_watched_actions insights api facebook marketing

I've tried to get video thruplay action on parameter video_thruplay_watched_actions via api act_[ACCOUNT_ID]/insights?level=ad&fields=[field] Some ad return the video_thruplay_watched_actions ...
van le's user avatar
  • 403
0 votes
0 answers
507 views

Facebook marketing API - GraphInsecureException - The cipher AES128-GCM-SHA256 is not supported for TLSv1.2

Facebook marketing API - GraphInsecureException - The cipher AES128-GCM-SHA256 is not supported for TLSv1.2. We are using the Facebook business SDK in our application in order to pull the ad_accounts &...
pavan kalyan's user avatar
0 votes
0 answers
295 views

Where do I find my app_id, app_secret and page-access-token?

We cannot find anywhere in the developer area the app_id, app_secret and page-access-token. We are trying to pull our marketing data programatically with a Python script, to then export it as a CSV or ...
DisplayName's user avatar
0 votes
0 answers
64 views

How to sort adsets according to campaign insights using FB GRAPH API

Here's how i am trying to sort ad sets by impressions insight in descending order and filter by campaign objective and ad set name using the Facebook Marketing API /{act-id}/adsets?fields=name,status,...
Syed Mazhar's user avatar
1 vote
1 answer
737 views

Facebook pixel test_event_code

Ive been looking across the documentation for meta's pixel and I can't seem to find much on where to place the test_event_code https://developers.facebook.com/docs/marketing-api/conversions-api/...
jrubix's user avatar
  • 77
0 votes
0 answers
64 views

Is there a way to update custom audience in facebook adset via Java SDK provided by meta

I want to update/add a custom audience to already ACTIVE facebook ad campaign. Custom Audience is part of the Adset. I am not able to find the field in Adset which corresponds to custom audience. Also ...
Chinmay Swaroop Saini's user avatar
0 votes
0 answers
30 views

Facebook app authentication. Error:cURL error 35: error:140943E8

We are making an app for FB and it was work good But now when the user try to connect our app see this message Application is not connected. Error:cURL error 35: error:140943E8:SSL routines:...
Anton Viborniy's user avatar
0 votes
0 answers
383 views

Error #1487713 when trying to link video to campaign ad

I am having trouble creating a video ad on AdVideos platform. I am able to successfully create campaigns, ad sets, and ads, but am encountering an error #1487713 when uploading a specific 15-second ...
venum's user avatar
  • 83
0 votes
0 answers
47 views

is it possible to retrieve ads metrics and performance from facebook using the video ad id?

We are using this api https://developers.facebook.com/docs/marketing-api/reference/ad-account/advideos/ to upload a video to our ads manager on facebook. the response from facebook is id. now, if this ...
dang's user avatar
  • 1,569
0 votes
0 answers
58 views

Facebook Marketing API - interests limit data

I am trynig to hit Facebook's Marketing API for interests and interest suggestions. I followed their online documentation and a few recent online articles. It seems straightforward but I'm starting to ...
Kyle Calica-St's user avatar
0 votes
0 answers
130 views

Whatsapp Cloud - Product Catalog - Batch APIs not working

We need to create, update or delete product(s) from our catalog. For doing this programatically we are following Meta's Product Catalog Batch API documentation in which there is an endpoint mentioned ...
Akash Nigam's user avatar
1 vote
0 answers
176 views

How do you use the Facebook Marketing API sandbox to retrieve simulated insights?

I’m working on an application that is going to leverage the Facebook (Meta) Marketing API to retrieve ad campaign insights. I don’t have any real life data to work with so I was hoping to use ‘...
Ryan Dev's user avatar
1 vote
0 answers
195 views

Get the product_retailer_id / Content ID for a specific product

I'm trying to get the product_retailer_id (or as it's displayed in the catalog - Content ID) but it is not showing when I use the product_endpoint I've used the graph API explorer and included all ...
Zeid S.'s user avatar
  • 19

1
2 3 4 5
15