Ad Nuggets Embeddable Widget

Drop a small, live-updating ad tech headlines feed into your own site — free, no API key required.

Every headline links back to Ad Nuggets, and the widget footer credits us — that's the only thing we ask in exchange for using it for free.

Quick start

Paste this wherever you want the widget to appear:

<div id="adnuggets-widget"></div>
<script src="https://adnuggets.com/widget.js" data-limit="5"></script>

Options

AttributeDescription
data-limitNumber of headlines to show (default 5, max 10)
data-targetID of the container element to render into (default adnuggets-widget)
data-themedark (default) or light
data-keyAn API Business key — removes the "via Ad Nuggets" branding and raises the cap to 30 headlines

Example: light theme, custom container

<div id="my-news-box"></div>
<script src="https://adnuggets.com/widget.js" data-target="my-news-box" data-theme="light" data-limit="8"></script>

White-label embeds (API Business)

Pass your API Business key via data-key to drop the Ad Nuggets branding entirely — useful for embedding on a client-facing page:

<div id="adnuggets-widget"></div>
<script src="https://adnuggets.com/widget.js" data-key="YOUR_API_BUSINESS_KEY" data-limit="20"></script>

How it works

The script fetches a small, cached, public JSON feed (/api/widget/headlines) and renders it client-side — no iframe, no tracking beyond a standard page fetch, no account needed. Headlines are capped and cached for a few minutes, so this isn't a way around the licensed Data API for bulk/programmatic use — it's meant for a lightweight "as seen on" style embed.