Skip to content
Dimitri Robiere PerrietD. R. PerrietCaen, FR — --:--:--EN · FR

ADS Mediapilote, a Google Ads, Meta and TikTok platform

Under contract · Mediapilote● Live
Client
Mediapilote
Role
Full-stack developer
Duration
ongoing
Year
2025
Stack
Next.js · React · TypeScript · MySQL · Drizzle ORM · Google Ads API · Meta Marketing API · OpenRouter
ADS Mediapilote, a Google Ads, Meta and TikTok platform — illustration
Fig. 01 — ADS Mediapilote, a Google Ads, Meta and TikTok platform, illustration
(00) — In short

ADS Mediapilote is the agency’s paid media platform: tracking of Google Ads, Meta and TikTok campaigns, client reports, an AI assistant and an MCP server.

(01)

Context

Mediapilote’s paid search team runs campaigns for many clients on Google Ads, Meta and TikTok. Tracking relied on each network’s interface and on an Excel file shared between traffickers, designers and project managers.

The project started in 2025 as a smaller tool: a React and Express app to create Performance Max asset groups with dynamic variables. In 2026 it became a full platform, connected to the intranet for clients and users.

(02)

Challenge

Each ad network has its own API, its own concepts and its own limits. Data from all three had to be synced incrementally into a shared database, and client reports had to stay consistent even when data was missing from the sync window.

Production tracking raised another problem: a workflow with several people involved (brief, creatives, client approval, launch) where each role should only see and do what concerns them, without losing input along the way.

(03)

Approach

I wrote the Google Ads, Meta and TikTok clients, the scheduled sync and the client reports with PDF and Excel export, then a workflow engine that alone decides production status transitions, with notifications and a reliable auto-save queue. Importing the old Excel file brought over the history, and conversions relayed by the intranet are uploaded to Google Ads through the Data Manager API.

On the AI side, an assistant with function calling queries the Google Ads API live and answers with charts and tables. I also exposed an MCP server protected by OAuth 2.1 so the team’s AI assistants can read and edit campaigns. The first version, picked up again in 2026, had to move from v20 to v25 of the Google Ads API.

(04) — Results

Key figures
3
connected ad networks
10
AI assistant tools
333
commits
2025 →
development
← Previous project03 · Imagenerator, an AI image and video generation studioNext project05RAG AI chatbot for WordPress and PrestaShop sites