Case study · Ad-tech platform

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.

PlatformCTV & DOOH advertising
StackLaravel 12 · PHP 8.3
Real timeWebSocket server
AILaravel AI SDK
The problem

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.

What I built

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 features

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

Tech stack

  • Laravel 12
  • PHP 8.3
  • Laravel AI SDK
  • WebSockets
  • MySQL
  • Firebase
  • OpenAPI
  • Fortinet FortiPresence

Results

One CMS for TV and screensCombined CTV and DOOH campaigns managed in one place.
Real-time deliveryScreens receive campaign updates over a socket server.
AI creative toolsImage and video generation, AI copy and QR cards, metered by a token ledger.
Chat-first setupCampaigns created from a conversation, confirmed before anything is saved.

Adding AI to a Laravel product?

I build AI features that fit real workflows, with usage tracking and confirmation steps. Tell me what you have in mind.