Put daylight on your site
A new ad network for builders, by builders. One key, three ways in, and a page to show the clicks and stats
Paste the tags
In your page<script async src="https://plainsun.com/f.js" data-site="YOUR_SITE_KEY"></script>
<link rel="stylesheet" href="https://plainsun.com/f.css">
<div data-daylight>Your own content, shown if no ad loads</div>
Put it where the ad should go. YOUR_SITE_KEY is on your site’s page.
Ask your agent
To your agentAdd Daylight ads to this site.
Read https://daylight.ad/SKILL.md and follow it.
Paste it into any coding agent that can edit your files. It asks you for the key and where the ad goes, then checks it counts.
Call the API
From your serverGET https://plainsun.com/api/v1/unit?site=YOUR_SITE_KEY
One ad comes back as JSON. Draw it always with the line that marks it as an ad.
Your site key comes with a free account
Sign up with your site’s address and you land on its page with these tags drawn and your key already in place of YOUR_SITE_KEY. Everything else is in the full docs.
Put your site in daylight
Every kind of ad a site can run, where each one fits on a page. They are real listings from the library: press one and you go to that product. Nothing here is counted, because nothing on this page was served.
daylight.ad is in beta. Questions, comments or problems: hello@daylight.ad · How it works · Docs · Privacy · Opt out

