A library of code for developers that features solutions to common tasks using Facebook Marketing API. These code samples allow you to use the power of the Marketing API to automation ad creation and management.
View a list of your ad accounts
Create mobile ads that deep link into your mobile app
Create mobile app install ads
Enable audience network on eligible adsets
Create carousel ads for mobile app installs
Create carousel link ads with up to 10 links
Create lead ad
Create many ads using combinations of creative elements, links and targeting
Mobile custom audiences based on cumulative events
analyse custom audience performance for past campaigns.
Create custom audience
update existing custom audience
Update individual product in product catalog.
Mobile custom audiences based on app event frequency
Extract ad delivery and performance data
Find which ads have potential to run Instagram campaign
Create multiple lookalike audiences by country and percentage ratio
Estimate your product audience
Check product images for recommended size.
Intuitive UI for generating target spec that can be used in API calls
Create lookalike audiences with varying precision and size and bid accordingly