From the course: Advanced Facebook Advertising

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Create ads programmatically via the Facebook Business API

Create ads programmatically via the Facebook Business API - Facebook Tutorial

From the course: Advanced Facebook Advertising

Start my 1-month free trial

Create ads programmatically via the Facebook Business API

- [Instructor] The first time I published an ad with code instead of manually in the ads manager, I knew I had suddenly opened up a whole new world of experimentation. Even if you don't know how to code, anyone who wants to get to an advanced level of Facebook ads should get comfortable exploring the API. The first thing you need is to create a developer account and a Facebook app like I've done here, which is showing up as Ladder. If you follow the instructions, it should be relatively straightforward to set up, although we don't have time to cover it here. You need to make sure that you have at least ads_read permissions, otherwise you won't be able to pull any data. Finally, click generate an access code and then continue as you, and then you're going to get this access token. This is what you would use to actually make the calls, although right here, it's actually baked in. This is kind of like your password, if you…

Contents