Can someone explain me the difference between facebook’s graph API and marketing API.
Also which one should be used for which requests.
I have been using facebook python SDK to create ads. But I run into rate limits every now and then. But in my marketing API dashboard I dont see any data.
Any info will be very much appreciated
2
Answers
Marketing api is just another service provided by facebook Graph Api. https://developers.facebook.com/docs/marketing-apis/
The Graph API is named after the idea of a “social graph” — a representation of the information on Facebook. It’s composed of:
nodes — basically individual objects, such as a User, a Photo, a Page, or a Comment
edges — connections between a collection of objects and a single object, such as Photos on a Page or Comments on a Photo
fields — data about an object, such as a User’s birthday, or a Page’s name
Typically you use nodes to get data about a specific object, use edges to get collections of objects on a single object, and use fields to get data about a single object or each object in a collection.
You can get more information from https://developers.facebook.com/docs/graph-api/explorer/
the Marketing APIs, access, versioning and more. The main use cases for the Marketing API are ads insights, audience management, and ads management and you can find more about it from here https://developers.facebook.com/docs/marketing-api/using-the-api