OK Ads
These ads are OK. 👌
OK Ads is a decentralized advertisement generator. It allows users to design customizable promotional advertisements and export self-contained HTML and JavaScript for embedding into websites. Create an advertisement, customize its appearance and positioning, preview it, and copy generated code into your website.
okads.click
Features at a Glance
| Category | Features |
|---|---|
| Ad Content | Company name, slogan, destination URL, call to action, fine print |
| Branding | Logo images, background images, custom colors |
| Layout | Stack, Centered, Middle, Row |
| Appearance | Fonts, sizing, spacing, borders, animated effects |
| Placement | X/Y offsets, screen positioning, document positioning, centering and mirroring |
| Behavior | Sticky advertisements, dismissible ads, scroll-based visibility |
| Mobile | Device-specific visibility and mobile-fitting options |
| Rotation | Ad rotation using shared randomization groups |
| Export | Full source code and minified code |
| Preview | Embedded live advertisement preview |
How OK Ads Works
OK Ads uses a visual configuration interface to generate an embeddable advertisement.
The workflow is straightforward:
- Enter your brand information.
- Set the advertisement's destination URL.
- Customize its design.
- Choose dimensions and positioning.
- Preview the result.
- Copy the generated code.
- Embed it in your website.
The generator updates the advertisement code as configuration fields change.
Advertisement Content
Customize the visible elements of an advertisement.
| Field | Purpose |
|---|---|
| Company Name | Brand or advertiser name |
| Destination URL | Page opened when visitors interact with the advertisement |
| Ad Text | Slogan or promotional message |
| Ad Terms | Fine print or supplemental conditions |
| Call to Action | Action text displayed within the advertisement |
Example
Company: Example Studio
Destination: https://example.com
Slogan: Build something extraordinary.
Terms: Terms and conditions apply.
Call to Action: ExploreVisual Customization
OK Ads supports a range of design controls.
These include:
- Company title color
- Slogan color
- Fine-print color
- Background gradient color
- Border color and width
- Animated rainbow border
- Font family
- Font sizes
- Text shadows
- Image and content spacing
- Rounded or square corners
Image Support
You can supply images using:
- An image URL
- A locally uploaded image
Supported image roles include:
Logo: Display a logo or promotional image within the advertisement.
Background: Use an image behind the advertisement's content.
Uploaded images are converted into data URLs and included in the generated output.
This can make the generated code considerably larger.
Advertisement Layouts
Four layouts are available.
| Layout | Arrangement |
|---|---|
| Stack | Vertically stacked, left-aligned content |
| Centered | Centered content and text |
| Middle | Vertically centered, left-aligned content |
| Row | Grid arrangement with image and title side by side |
Positioning
Position an advertisement using horizontal and vertical offsets.
Supported options include:
- Pixel-based positioning
- Percentage-based positioning
- Horizontal centering
- Vertical centering
- Mirrored placement
- Document-relative positioning
- Sticky positioning
Visibility Controls
OK Ads supports several display options:
- Hide on mobile
- Hide on desktop
- Fit to mobile width
- Show based on scroll percentage
- Display a close button
- Rotate advertisements in a group
Exporting
The generator provides:
| Action | Result |
|---|---|
| Copy Code | Copies generated HTML and JavaScript |
| Copy Minified Code | Copies whitespace-reduced generated code |
| Code Preview | Displays the generated source |
| Ad Preview | Displays the generated advertisement in an iframe |
The generated advertisement includes its own styling and interaction logic.
Shadow DOM Isolation
OK Ads creates advertisements inside a closed Shadow DOM.
This provides style isolation between advertisement content and much of the surrounding webpage.
It helps reduce accidental interference from a website's existing CSS.
Shadow DOM is not a security sandbox, however, and generated scripts still run in the embedding page's JavaScript environment.
Privacy Commitment
The OK Ads generator displays the statement:
This site never saves or sells your data.
The supplied generator performs its ad design and code generation through browser JavaScript.
Generated advertisements can load externally hosted images and open advertiser destinations when visitors interact with them.
Those interactions are distinct from the generator selling user data.
Licensing
The supplied OK Ads source code is licensed under:
GNU General Public License version 3 or later (GPL-3.0-or-later).
Refer to the applicable license conditions when modifying or redistributing the software.
Documentation
Continue with:
- Quickstart Guide
- Ad Content, Images, and Branding
- Layout and Appearance
- Positioning and Responsive Design
- Scroll Triggers and Ad Rotation
- Embedding and Exporting
- Privacy, Limitations, and Troubleshooting
Important: Preview advertisements in the actual destination website before publishing them. Their final appearance and positioning depend on the embedding page's dimensions, layout, and security policies.
Updated about 5 hours ago
