A Laravel 12 ad platform for TV and digital screens, with an AI assistant
The platform runs ad campaigns on connected TV and digital out-of-home (DOOH) screens. I build and maintain its Laravel 12 CMS and ad-serving API: campaigns, screens, real-time delivery, ZIP-code geo targeting and analytics, plus an AI studio that creates ad creatives and a chat-first AI assistant that sets up campaigns from a conversation.
One campaign, many kinds of screen
Advertisers want one campaign to run on TV apps and on physical screens, targeted by location, with clear reporting afterwards. Setting a campaign up takes many decisions: channel, budget, dates, screens and creatives. The platform needed to make that fast for advertisers and reliable for the screens playing the ads.
The CMS and ad-serving API
- Combined campaigns: one campaign can run across connected-TV and DOOH screens.
- Ad-serving API: the endpoint screens and players call for ads, with each ad request session recorded for analytics.
- Real-time delivery: a socket server pushes updates to screens as campaigns change.
- Geo targeting: campaigns targeted by ZIP code area.
- Analytics: visitor analytics through a Fortinet FortiPresence integration, plus revenue analytics.
- APIs for web and mobile: the web CMS and mobile app APIs are documented with OpenAPI.
AI ad creation and a campaign assistant
AI studio. Advertisers can generate ad images and videos, write ad descriptions with one click, and add a scannable QR code card to video ads. AI usage is charged through a token ledger, retries of a failed or unsatisfying video get a lower price, and only uploaded or trusted media can be used as references. The web and mobile apps share the same service, so they behave the same way.
Campaign assistant. Instead of filling in a long form, an advertiser can type something like "create a DOOH campaign". The assistant asks for whatever is missing (name, channel, budget, dates, screens and creatives), lets them search screens by name, city or ID and pick from a list, then shows a summary card. The campaign is only created after they confirm, and they are taken straight to it. The first version proved the flow; the assistant is now being rebuilt as an installable Laravel package whose modules can be switched on and off.
Tech stack
- Laravel 12
- PHP 8.3
- Laravel AI SDK
- WebSockets
- MySQL
- Firebase
- OpenAPI
- Fortinet FortiPresence