Questions tagged [facebook-business-sdk]

67 questions
0
votes
1 answer

Is there any way to Delete and update Facebook product catalog product with Facebook Graph API

I am trying to to Update and Delete product to facebook product catalog with graph api. I followed this documentation but this endpoint only allow read and create new product to a product catalog but update and delete is not possible from this…
0
votes
0 answers

Facebook Business SDK for Python does not return video_play_curve_actions field for AdAccount insights

The problem Facebook Insights API does not return the field video_play_curve_actions when using the their Python SDK. More specifically the Async report download method. The same field can be observed to be returned when using their REST API. What…
Riju
  • 1
0
votes
0 answers

I receive a 502 ( Bad Gateway) error when trying to create campaigns with adsets and ads using the Facebook API

I have a Python Django web application, which has an app inside that is used for creating campaigns with adsets and ads using the facebook_business package. The weird thing is that it works fine from localhost, i can create as many adsets as I want.…
0
votes
0 answers

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 & ads info from Facebook. Spring boot…
0
votes
0 answers

Facebook Business Python SDK: Get Ad Creatives filtered by creation date

I've been experimenting with facebook-python-business-sdk and Facebook Python Graph API. Overall I find them both very useful and easy to navigate through, but I stumbled across a strange issue. When I retrieve a list of effective_object_story_ids…
0
votes
0 answers

How to Retrieve Insights from a AD POST (i.e a post which is boosted in instagram) with the help of Instagram Graph API?

So, i am working on Python code which retrieves a json output. But I can observe that its only showing insights name but all the "AD INSIGHTS" values are missing, EVEN in the facebook-sdk. The sdk is retrieving insights of ad mentioned in the…
0
votes
0 answers

Facebook API Ad creation

I'm looking for a way to retrieve all Campaign, AdSet and Ad fields to create an Ad using Facebook API, and both AdSet and Ad should depend on previous selection, e.g: if I choose Brand Awareness, I should have relative fields for the AdSet and…
0
votes
0 answers

Upload and manage images for later use in ad creative

We tried to use the Graph API and Java Business SDK in our development, unfortunately, errors occurred under both environment. And l do not know how to generate the , I use SHA256 algorithm and seems not work. Graph…
0
votes
0 answers

How to check the api rate limits using Facebook business SDK PHP?

I am trying to check if the rate limit is exceeded using PHP Facebook Business SDK. I am able to get the rate limit by fetching the header data using getResponse() -> getHeaders(). But this does not work for create or update operations on object…
0
votes
0 answers

Meta Business API and Cloud API creating issues when trying to send product from a catalogue to whatsapp as an interactive product card

I am trying to create a workflow where based on user queries we send some products from the Facebook business catalog to WhatsApp as a single product and list product card as mentioned in the below…
0
votes
1 answer

mobile_app_install extracted from Facebook Insights API is different from the dashboard

I want to extract mobile_app_install but the numbers I have got from API seems not correct. It's 1839 by API using Python vs. 1736 in the dashboard. Any advice for this? campaign = Campaign('23850184438290054') fields =…
0
votes
1 answer

Facebook Marketing API create Ad Creatives Error

I'm having issues creating Ad Creatives using: gem 'facebookbusiness' Facebook API version 13.0 I have successfully managed to upload Ad Images and to get the image URL and image hash in return. The error happens when trying to create the Ad…
andkjaer
  • 3,995
  • 10
  • 36
  • 45
0
votes
2 answers

How can I get Facebook's python business SDK to use the latest Ads API version (v13.0)?

When I call the Ads API I get the following error message telling me that I'm calling a deprecated version of the Ads API: "message": "(#2635) You are calling a deprecated version of the Ads API. Please update to the latest version: v13.0." Here's…
Alistair
  • 433
  • 7
  • 18
0
votes
1 answer

Facebook Business SDK for PHP - Unknown Components

I am trying to access a user via the Facebook Business PHP SDK but I am getting the following error: USER_ID is just a placeholder for my FB ID. FacebookAds\Http\Exception\AuthorizationException Unknown path components: /USER_ID The code I am using…
jackthedev
  • 417
  • 8
  • 21
0
votes
1 answer

How to get insights on Facebook Business API using Python?

I have this code below with my credentials; from facebook_business.api import FacebookAdsApi from facebook_business.adobjects.adaccount import AdAccount from facebook_business.adobjects.campaign import Campaign my_app_id = '' my_app_secret =…