Vincent Ritter

< back to projects

Sublime Ads

A privacy focused ad management service for your apps, websites and others.

Sublime Ads is a platform to allow you to manage and serve your very own ads in your own apps, on your websites, or other services using a simple API, or a lightweight drop-in JS script. You are in complete control on what you want to show, and how.

Everything is in one place and is easy to manage, no need to write your own custom solution. On top, Sublime Ads is privacy conscious to you and your users. Only taps/clicks will be registered for served ads and nothing else (can also be disabled per ad). I also don't use any tracking for the web application and other things, just like the internet is supposed to be.

Launched early 2021 as an MVP product to satisfy my very own needs as a developer with multiple apps and sites.

Visit the website here.

Project posts JSON/RSS Feed...

Just published a small bug fix to Sublime Ads. The graphs were not correctly sorting the data depending on how many views and/or taps an "ad" had on the dashboard and category pages. Now it'll show the highest tapped/viewed at the top, like it was supposed to.

Sublime Ads is now on Micro.blog too. I will be cross-posting my dev blog entries there for anyone wanting to follow along. They'll still show up on my own account, with everything else.

Sublime Ads: API Authorization changes

Today I am happy to release a small change to the Sublime Ads API. You can now authorise using the Authorization header with a Bearer token.

It's something I wanted to do for some time... and now it's here for you.

For example, set your header like this: "Authorization": "Bearer YOUR_API_TOKEN_HERE"

Check out the documentation for more info.

The old way of using tokens still works without issue, so you can pick and choose which suits you best.

Happy "Authorizing"

P.S. I wish auto-correct wouldn't correct "Authorization" all the time 😋

Sublime Ads: Introducing image resizing

I'm happy to release support for "on the fly" image resizing for Sublime Ads, thanks in part to our CDN provider Bunny CDN.

We've been using this for just over a week now for embeds and it has worked a treat.

Image resizing allows you to grab any size you need for your images so they will better fit within your app, site or service without sacrificing the original image quality.

The resized images are cached and stored on the CDN, and are globally available in an instant, and it couldn't be any easier.

At the moment we support "width", "height" and "quality" to be set via the embed API and integration and also through the API.

If you use our embed script we automatically resize the image to 300px wide with a quality of 95%, if no options are set. You can see all the extra options here in our documentation. There is an option to disable it also.

If you're using our API endpoints you can also request to return the correct URL for your image resizing options without having to do anything special client-side. You can check out the documentation here for all the options. You can pass in these options on any API endpoint and your image URLs will always return the correct data.

Really excited to have this officially out now.

Happy resizing.

For what it’s worth… my week long changes to Sublime Ads had nothing to do with the new features 🤣 But, before I announce them, I wanted to make some other changes. So let’s just say the other features were live for at least a week!

Deployed a bunch of stuff just now, after weeks of changes. Going to make an announcement tomorrow at some stage. Pretty excited!

A good few days of work hidden right here. Plan switch logic, account balances, monthly to yearly and whatever else cropped up. Button and details show when selecting your plan. 🥵

This was just for "changing". Did the other work earlier for new subscriptions.

I’ve been working through many changes to Sublime Ads over the past few weeks. Tomorrow I’ll announce a new thing for embeds and integrations (which is one of those things). Gonna be useful I hope. 🎆

Does this mean I am ahead of the curve?

Routing all Sublime Ads images through Bunny CDN as a test. All working nicely.

12 hours of Sublime Ads dev between Friday night and now. My brain is fried 🤯. Setting the stage for next week. Now two days off.

Sublime Ads: Stat changes, bug fixes and new servers.

Hey there.

I've been busy the last few days to get a few needed things out the way for Sublime Ads, my ad management platform for apps, websites and other things. Here’s what’s new:

Stat filters are now saved

Your stats (the graphs) have settings for the day range and which view you have selected ("views" or "taps"). In the past that data was saved with the browser data in local storage. So when you used the same browser, it would have picked up which setting you have selected.

No more. Now these settings are saved across your device and are loaded automatically every time you make a change.

I thought this was nice and gives you a more consistent experience across devices.

This opens the door for a few more things I'd like to add at some stage... nothing like planning ahead.

Bug fixes

Ah yes, always there are bugs. Whilst there were a few I fixed, the most notable ones are image lazy loading related.

  • Fixes an issue with the profile image always trying to reload in a lazy way, on each navigation. Now I am just using a background image so you don't get this flash.
  • Ad images in a category create or edit screen didn't lazy load and looked blurry. This is now fixed.
  • Various other lazy loading tweaks across ads, like in the header area when viewing an ad.

New servers

This one took some time to get right, and yes there was some downtime... and I apologise if that has caused any troubles for you. Anyone using the Embed API was not affected by any downtime. However, I kept everything to a super minimum.

Migration is now fully complete and it allows me to sleep at night without problems. Namely I can easily create servers on the fly and scale where needed without headaches of managing this.

For anyone interested I am now using Cloud66 to manage the Sublime Ads servers. Another nice thing is that, in a way, these are now managed by Cloud66, including database backup strategies - which is a big win for the platform!

It is a little bit expensive but the peace of mind is comforting and worth it in my eyes.

If you find anything that isn't working anymore, let me know.

With the above changes I also took time to upgrade the version of Ruby to keep up with the security updates.

Anyway, this is it. Happy with the way it came together this week, and look forward adding a few more things in the coming week.

✌️❤️

Migrated Sublime Ads to a new server infrastructure using Cloud66. Took 6 hours to deal with encryption issues, but all working well now. Don’t think there was any downtime (most ads are served via the edge locations).

REALLY HAPPY now. Stepping it up ✌️❤️

Sublime Ads is currently not resolving API keys or redirect links. Working on it.

Update: Now working again… sorry about that!

I’ve been working on tweaks to Sublime Ads in the past few months. But never really blogged about them. Little things here and there. Also updated the homepage a little — going to be doing more here. Incremental changes feel good.