Facebook Marketing
API 101
33
Marketing API overview
Build solutions for marketing
automation with Facebook's
advertising platform
Marketing automation

as a differentiator
READING

AD INSIGHTS
MANAGING

AUDIENCES
MANAGING
CREATIVES
ADS MANAGEMENT
Common use cases of automation
MANAGING PRODUCT
CATALOGS
BID/BUDGET
OPTIMIZATION
Why?
Save time Increased ROASIncrease Efficiency+ =
Lets get started!
ADDITIONAL INFORMATION
Demo
Facebook Apps Dashboard:
https://developers.facebook.com/apps
PageUser App
THERE ARE 3 TYPES OF TOKENS
WHICH TO USE?
UI or no UI?
When building for automation,
use a System User
Source: Placeholder text. Delete this box if source is not needed.
• A System User Token
never expires
• The System User may 

access any Page, Ad
Account and other
relevant assets managed
by your business
Lets add a system user!
ADDITIONAL INFORMATION
Demo
Business Manager:
https://business.facebook.com/
43
Writing code
4444
https://developers.facebook.com/graph-academyTraining
45
Generate test
code for all 

SDKs based 

on test spec
Generate SDK based
on API spec. Codegen
will support SDKs for
Java, Python, PHP, &
Ruby
Automatically generate
API spec based on
code implementation
in our APIs
Faster and higher quality updates
TEST CODEGENSDK CODEGENAPI SPECGEN
Marketing API SDKs
47
Dealing with versions
Versioning
Version 2.7
90 days after
v2.8 release
Version 2.9
90 days after
v2.9 release
Version 2.8
v2.7 cannot
be called
v2.8 cannot
be called
49
https://developers.facebook.com/tools/api_versioning/Upgrading
50
https://developers.facebook.com/tools/api_versioning/Upgrading
51
Debugging
52
Understanding API usage https://www.facebook.com/analytics
53
Bugs https://developers.facebook.com/bugs
54
Access levels
Highest Tier
Unlimited Ad
Accounts
Light Rate Limiting
Test, iterate, build apps
25 ad accounts
Moderate Rate Limiting
Try and test apps 

with the API
5 ad accounts
Heavy Rate Limiting
STANDARDBASICDEVELOPMENT
API access levels
57
Upgrading to Standard https://www.facebook.com/business/standardadsapi

Facebook Marketing API 101