Open-Source: Telegram ads collector

Telegram does not provide an API to get ad campaign statistics. I faced the same problem, so I built a tool and decided to share it with you.
- Create a Postgres database.
- Add your credentials to the
.envfile. - Set the stats-collection frequency in the
*.timerfile. - Install the Python environment using
requirements.txt. - Run the program.
The program will create three tables in your database, scrape data from ads.telegram.org, and insert it into the tables automatically.

Daniil Kovekh
Data & Full Stack Engineer



