Monetize Your Chatbot!
Cover API costs with smart, context-driven ads
Before Integration
Any recommendations for productivity tools?
Sorry, I can't help with that right now. API quota exceeded.
After Integration
Your app stays running, costs covered
Any recommendations for productivity tools?
Notion, Todoist, and Trello are excellent tools for organizing tasks and boosting productivity.
A Better Way to Show Ads
Ads that fit naturally vs ads that disrupt
Promptly Ads
Better integrated ads with full developer control and contextual targeting for higher engagement
Traditional Ads
Intrusive, disruptive ads that break conversations and reduce user satisfaction
Special Offer
Get premium access today
Upgrade Your Ads. Upgrade Your User Experience.
You Control When and How Ads Appear
Step 1: Conversation Monitoring
Monitor conversations to time ads using agentic logic or simple rules like after 10 messages.
Approach 1: Simple Trigger-Based Monitoring
agent.monitor({ messageCount: 10, onMessage: (context) => { if (context.messageCount >= 10) { retrieveAd(context); } } });
Approach 2: Agent-Based Monitoring
agent.monitor({ onMessage: (context) => { if (context.intent === 'recommendation') { retrieveAd(context); } } });
These are just starting points. Developers can customize monitoring logic to suit their platform and user goals.
Step 2: Trigger Logic
Send context and demographics to trigger relevant, high-engagement ads.
Context
Intent
Demographics
REST API Call Example
async function retrieveAd(context) { const response = await fetch( 'https://api.promptly.ai/v1/ads', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ topic: context.topic, intent: context.intent, demographics: { ageGroup: "25-34", location: "San Francisco" } }) } ); return response.json(); }
Accurate context and demographics deliver relevant ads, boosting engagement, clicks, and payouts.
Step 3: Ad Display
Display the ad package in your app's interface.
Ad Package Response
{ "title": "Boost Your Team's Productivity", "description": "Try Taskify for seamless team collaboration.", "cta": "Learn More", "url": "https://taskify.com/?utm_source=promptly" }
These examples show how to integrate ads into your app, with full flexibility to customize their look and placement to fit your UI/UX.
Earn While You Build
Make Your AI App Work for You
Offset API Costs
Watch your API costs transform into revenue streams
Simple Integration
Just 3 lines of code to activate revenue
Revenue Activated ✓
Growth-Focused
Revenue that scales with your success