broadcast_signal
Send behavioral signals extracted from conversations to the AIARCO Ads Engine. Signals describe user interests, purchase intent, brand affinities, and other behavioral patterns that enable contextual ad matching.Input Schema
Limits
- 1–10 signals per call
- 500 characters max per
subjectfield - 10 items max per
relatedSubjectsarray
Signal Fields
Required
| Field | Type | Description |
|---|---|---|
category | enum | Signal category (see table below) |
Optional
| Field | Type | Description |
|---|---|---|
confidence | float | Confidence score, 0.0–1.0 (default: 1.0) |
subject | string | Primary subject (e.g. “noise-canceling headphones”) |
relatedSubjects | string[] | Related topics or products |
sentiment | string | positive, negative, or neutral |
attributes | object | Additional key-value pairs (e.g. {"budget": "under $300"}) |
extractionReason | string | Why this signal was extracted from the conversation |
Signal Categories
| Category | When to Use | Example Subject |
|---|---|---|
interest | User shows curiosity about a topic | ”electric vehicles” |
evaluation | Actively comparing products or services | ”MacBook Pro vs Dell XPS” |
problem | Experiencing an issue a product could solve | ”back pain from office chair” |
purchase_intent | Clear intent to buy something | ”wireless headphones under $350” |
price_sensitivity | Focus on pricing, deals, or budgets | ”cheapest flight to Tokyo” |
brand_affinity | Preference or loyalty to a specific brand | ”Sony” |
user_context | Personal context relevant to targeting | ”works from home” |
business_context | Professional or business needs | ”SaaS startup scaling” |
recommendation_request | Explicitly asking for recommendations | ”best CRM for small teams” |
Example — Simple Signal
Example — Detailed Signal
Example — Multiple Signals
Response
Confidence Score Guidelines
| Range | Meaning | When to Use |
|---|---|---|
0.9–1.0 | Very High | Explicit statement (“I want to buy…”) |
0.7–0.89 | High | Strong implication from context |
0.5–0.69 | Medium | Reasonable inference |
0.3–0.49 | Low | Weak signal, possibly tangential |
0.0–0.29 | Very Low | Speculative, background context only |
get_offers
Retrieve contextual ad offers from the AIARCO Ads Engine. Offers are matched based on a search query and any signals previously broadcast. Returns personalized offers with title, content, CTA, click URL, brand info, and pricing.Input Schema
Example
Response
impression_id — you’ll need it for track_impressions.
track_impressions
Report ad impression viewability back to the Ads Engine. Call this after offers fromget_offers have been displayed to the user. This completes the signal → offer → impression tracking loop.
Input Schema
Example
Response
Typical Integration Flow
A complete interaction follows this pattern:Best Practices
- Be specific with subjects — “wireless noise-canceling headphones” is better than “headphones”
- Use accurate confidence scores — Reserve 0.9+ for explicit statements; use 0.5–0.7 for inferences
- Send multiple signal categories — A single message often contains interest + brand affinity + purchase intent
- Always track impressions — This is essential for accurate reporting and revenue attribution
- Include context in get_offers — The more context you provide, the better the offer matching