Can I access Facebook Ad Billing data through an API? - facebook

/business.facebook.com/ads/manager/billing/transactions/
Thats the url id like to pull data from. I looked at all the API's, but none of them seem to offer up this data.

Try this: https://graph.facebook.com/v2.9/{business_id}/business_invoices

YES YOU CAN USIG FACEBOOK MARKETING API Marketing APIs are a collection of Graph API endpoints that can be used to help you advertise on Facebook. To get started with advertising on Facebook, we recommend you learn about Facebook's Ad Campaign Structure, to understand the objects you're working with and how they relate to each other.
CHECK THIS OUT
https://developers.facebook.com/docs/marketing-apis/

Related

How to get user data now with restrictions on instagram platform api?

There have been lots of changes to the facebook api recently, which now includes the instagram api as well. https://www.instagram.com/developer/changelog/
They have shutdown a lot of endpoints way ahead of schedule and has created a huge problem for my application which integrates instagram user data. They have the instagram graph api now, but looks like it can be used only for business accounts (looked like that prima facie). Reading through the news past couple of days, I am really confused about what is available and what is not. My application used to get user data (number of followers, recent posts, reach, likes, etc) using the instagram handle provided by users. Since this is totally restricted on the platform api now, is there a way I can have the same functionality using the new graph api? Or should I look into 3rd party APIs? I am open to asking users for authentication (I already have the facility). Can the user information be fetched after they authenticate my app to do so?
You can use the following Graph API to get all the details for any IG business account.
https://developers.facebook.com/docs/instagram-api/business-discovery

Manage facebook ads api

I have a task to integrate facebook marketing api with my web application.
The ultimate aim of my web application is provide a capability for my clients to manage ads without login in facebook. So, I'm asking a question: is it possible to create the only one account for all my clients and manage ads by this account? And if I can, does it right way to use fb marketing api?
Anyway, i would appreciate if someone could give me advice about which approach i should use in my case to manage ads without any client-side authorization.
Yes, you can create ad accounts and run ads on Facebook for any number of clients for nearly any purpose* and not require them to log into Facebook. You can create ad campaigns and creative elements (graphics and links relevant to the client's products) using the Facebook Marketing API in your own ad accounts.
If you haven't seen it already, review the Facebook Marketing API getting started documentation and videos https://developers.facebook.com/docs/marketing-apis
*You're still held to FB terms of service so be sure to review requirements for allowed ad content.

Creating Facebook Ads programmatically with Ads API or Atlas API

Which API we can use for Facebook Ad creation programmatically in C#?Atlas API or ADs API. I have gone through both API documents and I find that both object names are different and Ads API is very similar to Facebook Ad fields. But I couldn't find any code samples for Ads API where as we have the code samples for Atlas API but object names are different compared to Facebook Ad. Please suggest me which API is better to use and what the process to access both Ads API.
To create ads on Facebook, you'll want to use the Facebook Ads API. This API is JSON based and pretty much any Graph API client library should be able to connect to it. One caveat is you'll need to request access to the Ads API, which might take a bit of time to get reviewed and enabled. The documentation for this API is here:
https://developers.facebook.com/docs/ads-api/
The Atlas API is primarily used to serve display ads and measure their performance. It doesn't sound like that's your primary use case here.
There are no C# Ads SDK that I am aware, but you can start with a C# Facebook SDK that will help you with lower level objects such as requests, accesstokens, batch requests etc.
http://facebooksdk.net/
And to build your Business Logic Layer, here is the spec:
https://developers.facebook.com/docs/ads-api/

Is it possible to use Facebook insights without publishing actions

I need to use Facebook insights more of as analytics tool rather than promotional tool. I dont want to spam my users with lot of notifications on their walls but at the same time I want to gather as much information as I can for users usage on my website.
My website works on facebook data for a user and wanted to check out what features they like most but dont want to publish all these actions on their walls.
Please suggest.
Thanks
Rashmi
Insights can be retrieved only as an array. To read Insights you need
a generic access_token for the publicly available application_active_users metric
a generic app access_token for all Insights for that app
read_insights permissions for all apps, pages and domains owned by this user
https://developers.facebook.com/docs/reference/api/insights/

How much information can I access with facebook connect?

My google skills have failed.
My interest is how much user information I can access when having users connect to my website through. Comments, shared links, uploaded photos, data from other facebook applications used by the user?
Have a look at the Graph API ..or the old REST API for an idea of what you can access via Facebook APIs.
There's a good tutorial here: Facebook Connect Tutorial. I believe this article is using the REST API and the Javascript SDK for single sign on.