Who is the chat ads SDK for?
Independent chatbot developers who need partner revenue and cannot buy ChatGPT-scale ads. You pass the topic. You get a labelled card, or null. Quiet sessions stay quiet.
Inference has a bill. A paywall often kills daily use. Native offers are one way to pay for the session without a banner. OpenAI, Google, and Amazon sell that surface at a price most indie apps do not get.
TLDR: Small bots still need a labelled offer path that is not an OpenAI deal.
Related: Prism Signals scores support-bot turns. It does not insert ads.
How do you add a labelled offer to the chat?
Three lines in the chat handler. Pass the user message as context. Render a card only when getAd returns one. No script in the browser. The key stays on your server.
import { getAd } from "@prismpublication/sdk";
const offer = await getAd({
apiKey: process.env.PRISM_API_KEY,
format: "card",
context: { topic: userMessage },
});
Matching waits until after the assistant replies, so the card follows the topic instead of interrupting it. There is no live bid behind it yet. The scripted demo shows the same four insertions every visitor sees.
TLDR: Context in. Labelled offer or nothing out. Email info@prismpublication.com if you are building a bot and need this.