Prerequisites
- A publisher account on publishers.ads.aiarco.com
- A channel API key (created in your publisher dashboard under Channels)
aiarco_ and is used to authenticate every request.
Step 1 — Fetch an Offer
Make aPOST request to the offers endpoint with the user’s query:
Response
Step 2 — Display the Offer
Render the offer in your UI. Always use theclickUrl for the CTA link — it includes built-in click tracking and redirects to the advertiser’s landing page.
Step 3 — Track the Impression
After confirming the offer was actually visible to the user, report the impression.204 No Content on success.
That’s it!
You’re now serving contextual ads and earning revenue from every click. Here’s what to explore next:REST API Guide
Full parameter reference, typed signals, and advanced targeting.
Woven Offers
Inject ads into LLM system prompts for natural, AI-native integration.
Signal Collection
Send user intent signals to improve ad relevance and targeting.
JavaScript SDK
Drop-in script tag with automatic rendering and tracking.
Troubleshooting
| Issue | Solution |
|---|---|
401 Unauthorized | Check your API key. It should be sent in the X-AIARCO-API-Key header and start with aiarco_. |
Empty offers array | No campaigns matched your query. Try a broader query or check that active campaigns exist for your channel’s categories. |
reason: "frequency_cap" | Too many requests for this user. Wait for the frequency cap window to reset or use a different user_id. |