facebook-nodejs-business-sdk | Facebook Ads API using Node.js | REST library
kandi X-RAY | facebook-nodejs-business-sdk Summary
kandi X-RAY | facebook-nodejs-business-sdk Summary
The Facebook Business SDK is a one-stop shop to help our partners better serve their businesses. Partners are using multiple Facebook API's to serve the needs of their clients. Adopting all these API's and keeping them up to date across the various platforms can be time consuming and ultimately prohibitive. For this reason Facebook has developed the Business SDK bundling many of its APIs into one SDK to ease implementation and upkeep. The Business SDK is an upgraded version of the Marketing API SDK that includes the Marketing API as well as many Facebook APIs from different platforms such as Pages, Business Manager, Instagram, etc. This SDK can be used for both server side as well as client side. It comes with ECMAScript 5 bundled minified distribution with source maps of AMD, CommonJS modules, IIFE, as UMD and as Browser Globals.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Rollup migrations
- Constructs an error object from the given response body
- An error .
- Creates a new Promise .
facebook-nodejs-business-sdk Key Features
facebook-nodejs-business-sdk Examples and Code Snippets
Community Discussions
Trending Discussions on facebook-nodejs-business-sdk
QUESTION
I am developing an application to consume the facebook api using the package "facebook-nodejs-business-sdk" in version v9.0.
I'm looking for a method to get interests, but I can't find it.
I looked in the examples available in the package, but I can't find anything that allows me to search the search node.
Using the graph api explorer I can see that the code to make these calls with javascript is as follows:
...ANSWER
Answered 2021-Jan-11 at 13:57I didn't find any reference to this in the SDK but seems you could call the targeting search api by yourself with the following example:
QUESTION
I'm using the node.js facebook sdk facebook-nodejs-business-sdk in a firebase function to update Ad Sets targeting parameter with the custom_locations and have tried many different ways to update it, but none have worked. I've used the object TargetingGeoLocationCustomLocation from the API and also tried adding the location as an object directly. I've also tried sending the latitude/longitude as a string, a float, a parseFloat string and none seem to have any effect. If I try it with no custom_locations, it goes through, so I don't think its anything to do with the setup of the API. Here's the last code I've attempted:
...ANSWER
Answered 2020-Sep-28 at 12:33From your code, it seems that nothing is wrong maybe post what you have on customLocations too in order to see which area's are you targeting since I know that you need to have a certain minimal people in your targeting zones.
If your targeting audience is too small, for example a specific interest in a too small or little populated area, you cannot create the targeting.
I would suggest you to try using other interests to broaden the audience and see if it still returns the same error. You can find in the documentation that some audience types require at least 20 people or more.
QUESTION
I'm using the NodeJS SDK to create Campaigns, upload creatives and then create AdSet and Ads.
While creating an AdSet, I run into issues configuring my Targeting object.
Consider the following:
...ANSWER
Answered 2020-Aug-17 at 20:58I realised that the documentation on the Targeting
and AdSet
objects relationship is wrong.
It says here to create a Targeting
object and pass it to the AdSet
object for the PHP and JAVA SDKs, like this for example
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install facebook-nodejs-business-sdk
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page