The Facebook C# Ads SDK is built to facilitate application development for the official Facebook Ads API. It uses almost the same name naming convention as Facebook's PHP library does, so it shouldn't be too hard to understand.
This library was first created by me whilst I was working as an intern at Searchresult Performancemarketing, and was used internally for marketing purposes. We eventually decided to open source the project to give back to the programming community.
The source code of the project can be found on my GitHub
For up to date documentation, please refer to the GitHub repository.
The C# Library
- Open the code in a visual studio project and add the unofficial [Facebook C-Sharp SDK](https://github.com/facebook-csharp-sdk/facebook-csharp-sdk) library by going to FacebookAds->References->Manage NuGet Packages
- Look for Facebook and press Install
- Open your project and import the main class and use the
static void FacebookAds.Api.Initialize(appId, appSecret, accessToken)method to initialize the library for use.
- Download the official Facebook Ads PHP SDK from the officical Facebook github and place it in
- Download the official Facebook PHP SDK autoloader and place it in
/lib/FacebookAds/and change the
'FacebookAds\\'on line 47.
- Run the main PHP script
/src/SdkConverter/main.phpto generate your
The MIT License (MIT)
Copyright (c) 2016 - Luke Paris (Paradoxis) | Searchresult Performancemarketing
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Summary: Initial release
By downloading software from this website the person in question agrees that they will use any
of software in question in an ethical (non-malicious) way and agrees that the developer(s) are NOT
held responsible for any damage caused by the use and or abuse of this software.
Misuse of any software from this website may result in criminal charges brought against the person in question depending on the country or state of residence which can result in probation, fines up to $100000 or prison sentences up to 20 years in federal prison.
Please think twice before you run a script if you don't know what you're doing.