This script is creating personalised video ads for facebook. To create an ad you need to have
- App
- Ad account connected with facebook business account
- Custom audiences data for each audience
- Personalised image
- Personalised text
- Personalized video
To start script you need to follow this steps
- Create postgresql database
- Create tables via run db.py file
- Fill your table with the data via run file_to_db.py file. Notice that data layout must be the same as in sample file
- Check that data for your script are at the same directories
- Run the script