1. The keys are on server side. Every section has a separate file on the server with full access to the context (variables), so it renders on the runtime.
Here's how it works
Browser -> Request for section -> Backend (with full context and keys) -> Generate it using AI.
We are using Deepseek 4.1 flash, so latency is minimal.
2. So far the ad spend is super bad and it's not improving. It tries to correct things too quickly without giving it a time to settle down. When I tried to force it to do long horizons, it stopped spending for days because it was too focused on one grand plan.
The prompt is literally "You have $1,700 and access to these 4 platforms. Do your best to get more people try the demo (core KPI).". We are using Fable 5.1 for Ads.
Here's how it works Browser -> Request for section -> Backend (with full context and keys) -> Generate it using AI. We are using Deepseek 4.1 flash, so latency is minimal.
2. So far the ad spend is super bad and it's not improving. It tries to correct things too quickly without giving it a time to settle down. When I tried to force it to do long horizons, it stopped spending for days because it was too focused on one grand plan.
The prompt is literally "You have $1,700 and access to these 4 platforms. Do your best to get more people try the demo (core KPI).". We are using Fable 5.1 for Ads.