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

CategoryFeatures
Ad ContentCompany name, slogan, destination URL, call to action, fine print
BrandingLogo images, background images, custom colors
LayoutStack, Centered, Middle, Row
AppearanceFonts, sizing, spacing, borders, animated effects
PlacementX/Y offsets, screen positioning, document positioning, centering and mirroring
BehaviorSticky advertisements, dismissible ads, scroll-based visibility
MobileDevice-specific visibility and mobile-fitting options
RotationAd rotation using shared randomization groups
ExportFull source code and minified code
PreviewEmbedded live advertisement preview

How OK Ads Works

OK Ads uses a visual configuration interface to generate an embeddable advertisement.

The workflow is straightforward:

  1. Enter your brand information.
  2. Set the advertisement's destination URL.
  3. Customize its design.
  4. Choose dimensions and positioning.
  5. Preview the result.
  6. Copy the generated code.
  7. Embed it in your website.

The generator updates the advertisement code as configuration fields change.

Advertisement Content

Customize the visible elements of an advertisement.

FieldPurpose
Company NameBrand or advertiser name
Destination URLPage opened when visitors interact with the advertisement
Ad TextSlogan or promotional message
Ad TermsFine print or supplemental conditions
Call to ActionAction 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: Explore

Visual 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.

LayoutArrangement
StackVertically stacked, left-aligned content
CenteredCentered content and text
MiddleVertically centered, left-aligned content
RowGrid 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:

ActionResult
Copy CodeCopies generated HTML and JavaScript
Copy Minified CodeCopies whitespace-reduced generated code
Code PreviewDisplays the generated source
Ad PreviewDisplays 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:

  1. Quickstart Guide
  2. Ad Content, Images, and Branding
  3. Layout and Appearance
  4. Positioning and Responsive Design
  5. Scroll Triggers and Ad Rotation
  6. Embedding and Exporting
  7. 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.


Did this page help you?