Questions tagged [facebook-business-sdk]
67 questions
0
votes
1 answer
Unable to import facebook SDK for Targetting search API
I was trying to use Targetting search API from facebook business SDK API.
ImportError: No module named facebookads.adobjects.targetingsearch
Using Python 2.7.12
~
Was trying to execute this piece of code:
from…

Pooja G
- 41
- 1
- 14
0
votes
2 answers
how to get Campaign name from campaign ID using facebook SDK?
I have created a campaign using below code.
fields = []
params = {
'name': 'My campaign',
'objective': 'LINK_CLICKS',
'status': 'PAUSED',
}
AdAccount(id).create_campaign(
fields=fields,
params=params,
)
when I try to get campaigns by…

shaik moeed
- 5,300
- 1
- 18
- 54
0
votes
1 answer
Facebook Marketing API - Object with ID does not exist
I started with Facebook Marketing API today.
I am simply trying to read the campaigns from my Facebook Business account. I have an Ad account and a Campaign created there.
I suppose my issue is with generating the Token.
I am simply generating the…

Felipe Caldas
- 2,492
- 3
- 36
- 55
0
votes
1 answer
Token for Facebook Business SDK in Python Script used as Cronjob
I try to run a python script as a cronjob on my server using the facebook business sdk. The purpose of the script is to get a random product of our shop and to publish a post, promoting the product from the shop.
To do so, I need the page…

Thomas Venturini
- 3,500
- 4
- 34
- 43
0
votes
1 answer
How to retrieve multiple fields for a page using Facebook Business SDK
The recent changes announced by Facebook (e.g. April 24 and May 1, 2018) have resulted in us looking at the Facebook Business SDK, which from what I can tell is a descendent of the Facebook Marketing/Facebook Ads API.
Facebook points one to their…

Chip Roberson
- 532
- 3
- 12
-1
votes
1 answer
Upload offline Events using Facebook Business Python API
I am looking for some good resource to automate the complete analytics flow of Facebook Ads, such as creating audience list, creating campaign and creating custom event sets as our have business have complete offline sale cycle. I tried the curl…

Amrish Mishra
- 180
- 1
- 12
-2
votes
1 answer
Facebook marketing API not working with App token?
Facebook marketing API works fine with user access token in postman. But not working with app token? Is it possible to call Ad insights with app token?

Ashwanth Madhav
- 1,084
- 1
- 9
- 21