Ads To Analysis

Things you should know

Getting Data

I think Facebook is easier to start with…

I’ve unfortunately never ran ads on either platform yet, so I’ve never done this. But I’m sure I’ll be doing it in a few months when I’m running ads for my next course.


facebookads is a python package that is an interface between Python and Facebook’s Marketing API.

Documentation on Python SDK (module)

Facebook Ad API Documentation

A Tutorial on Use


Google does things a bit different…they have you use their entire google api which is probably a bit harder…

Set Up

An Example. Looks like they did set up a database…don’t think that is necessary unless there is TONS of data, which could be the case. If you’re under 2GB of data, and Excel sheet should work fine.