Trillboards Cross-Channel Attribution API
Multi-touch attribution, cross-channel journeys, and per-channel ROAS across DOOH, mobile, web, and store
Multi-touch attribution, cross-channel journeys, and per-channel ROAS across DOOH, mobile, web, and store
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/trillboards-com:trillboards-com-cross-channel-attribution-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Trillboards Attribution & Measurement Cross-Channel…
version: 1.0.0
description: 'Closed-loop DOOH attribution engine with attention-verified impressions,
cross-channel multi-touch attribution, Bayesian incrementality measurement,
and creative performance optimization.
## Why This Matters
Traditional DOOH attribution estimates impressions using population data.
Trillboards MEASURES them: on-device computer vision (ML Kit) counts faces
and tracks gaze, audio classification (YAMNet TFLite) detects ambient context,
and third-party mobile location signals (Intuizi) prove store visits.
Every metric in this API is deterministic, not probabilistic.
## Authentication
All endpoints require a valid JWT token in the Authorization header:
```
Authorization: Bearer
```
Tokens are obtained via `POST /v1/user/login`.
## Key Concepts
- **aCPM (Attention CPM)**: Cost per 1,000 attention-verified impressions. Unlike standard CPM, aCPM only counts impressions where someone was actually looking at the screen.
- **Incremental Lift**: The percentage increase in store visits attributable to the DOOH campaign, measured via geo-holdout experiments with matched control groups.
- **CPIV (Cost Per Incremental Visit)**: Total media cost divided by the number of store visits that would NOT have happened without the campaign.
- **Weighted Confidence**: Exposure match confidence (spatial/temporal) multiplied by attention weight from FEIN edge AI. Higher = more certain the person both saw AND paid attention to the ad.
- **Attribution Chain**: A complete user journey across channels (billboard -> mobile ad -> web visit -> store visit) with credit allocation via multi-touch models.
## Attribution Pipeline (6 Layers)
1. **Signal Ingestion** — Intuizi mobile device location pings + POI reference data
2. **Exposure Matching** — PostGIS ST_DWithin joins device signals with ad plays
3. **Attention Enrichment** — FEIN edge AI inference (face count, gaze, emotion) attached to each exposure
4. **Identity Resolution** — Household clustering, cross-device graph, pixel visitor linking
5. **Attribution** — Multi-touch credit allocation across DOOH + mobile + web + store channels
6. **Measurement** — Bayesian + frequentist incrementality with geo-holdout experiments'
contact:
name: Trillboards Developer Support
email: developers@trillboards.com
url: https://trillboards.com/developers
license:
name: Proprietary
url: https://trillboards.com/terms-of-service
servers:
- url: https://api.trillboards.com
description: Production API
- url: http://localhost:4004
description: Local development
tags:
- name: Cross-Channel Attribution
description: Multi-touch attribution, cross-channel journeys, and per-channel ROAS across DOOH, mobile, web, and store
paths:
/v1/advertiser/attribution/campaign/{campaignId}/multi-touch:
get:
operationId: getMultiTouchAttribution
summary: Multi-touch attribution summary
description: 'Returns cross-channel credit allocation across DOOH, mobile, web,
and store touchpoints. Supports multiple attribution models:
- **time_decay**: Recent touchpoints get more credit (7-day half-life default)
- **position_based**: First and last touch get 40% each, middle touches share 20%
- **attention_weighted**: Credit proportional to FEIN attention score at each touchpoint
- **shapley**: Game-theory-based fair value allocation (computationally intensive)
This answers: "How much credit does DOOH deserve vs mobile vs web?"'
tags:
- Cross-Channel Attribution
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/campaignId'
responses:
'200':
description: Multi-touch attribution data
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
$ref: '#/components/schemas/MultiTouchAttribution'
example:
success: true
data:
campaign_id: camp_abc123
model: time_decay
total_conversions: 1430
total_attributed_revenue_cents: 2145000
channel_credits:
dooh:
credit_pct: 42.5
attributed_conversions: 608
attributed_revenue_cents: 911625
mobile_ad:
credit_pct: 28.3
attributed_conversions: 405
attributed_revenue_cents: 607035
web_visit:
credit_pct: 18.7
attributed_conversions: 267
attributed_revenue_cents: 401115
store_visit:
credit_pct: 10.5
attributed_conversions: 150
attributed_revenue_cents: 225225
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/ServerError'
/v1/advertiser/attribution/campaign/{campaignId}/cross-channel-journey:
get:
operationId: getCrossChannelJourney
summary: Cross-channel journey (Sankey flow)
description: 'Returns flow data suitable for Sankey diagrams showing how users
move across channels after DOOH exposure.
Example flow: Billboard (42%) -> Mobile Ad Click (28%) -> Website Visit (18%) -> Store Purchase (12%)
Each node/link includes volume and conversion rate, enabling
visualization of the most common and most valuable paths.'
tags:
- Cross-Channel Attribution
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/campaignId'
responses:
'200':
description: Sankey flow data
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
$ref: '#/components/schemas/CrossChannelJourney'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
/v1/advertiser/attribution/campaign/{campaignId}/channel-roas:
get:
operationId: getChannelROAS
summary: Per-channel ROAS
description: 'Returns return on ad spend (ROAS) broken down by channel.
Answers: "DOOH vs mobile vs web — which channel pulls its weight?"
ROAS = attributed_revenue / media_cost. A ROAS > 1.0 means the
channel generates more revenue than it costs. Use this to
justify DOOH budget allocation vs digital channels.'
tags:
- Cross-Channel Attribution
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/campaignId'
responses:
'200':
description: Per-channel ROAS
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
$ref: '#/components/schemas/ChannelROAS'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'500':
$ref: '#/components/responses/ServerError'
components:
schemas:
ChannelROAS:
type: object
properties:
campaign_id:
type: string
total_media_cost:
type: number
total_attributed_revenue:
type: number
overall_roas:
type: number
description: Total attributed revenue / total media cost
channels:
type: array
items:
type: object
properties:
channel:
type: string
media_cost:
type: number
attributed_revenue:
type: number
roas:
type: number
conversion_count:
type: integer
ChannelCredit:
type: object
properties:
credit_pct:
type: number
description: Percentage of total attribution credit
attributed_conversions:
type: integer
attributed_revenue_cents:
type: integer
Error:
type: object
properties:
success:
type: boolean
example: false
message:
type: string
error:
type: string
CrossChannelJourney:
type: object
description: Sankey flow data for cross-channel user journeys
properties:
nodes:
type: array
items:
type: object
properties:
id:
type: string
channel:
type: string
count:
type: integer
links:
type: array
items:
type: object
properties:
source:
type: string
target:
type: string
value:
type: integer
conversion_rate:
type: number
total_journeys:
type: integer
MultiTouchAttribution:
type: object
description: 'Cross-channel credit allocation showing how much each channel
contributed to conversions.
'
properties:
campaign_id:
type: string
model:
type: string
enum:
- time_decay
- position_based
- attention_weighted
- shapley
description: Attribution model used for credit allocation
total_conversions:
type: integer
total_attributed_revenue_cents:
type: integer
channel_credits:
type: object
properties:
dooh:
$ref: '#/components/schemas/ChannelCredit'
mobile_ad:
$ref: '#/components/schemas/ChannelCredit'
web_visit:
$ref: '#/components/schemas/ChannelCredit'
store_visit:
$ref: '#/components/schemas/ChannelCredit'
parameters:
campaignId:
name: campaignId
in: path
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9_-]{1,128}$
description: Campaign identifier
responses:
Unauthorized:
description: Missing or invalid authentication token
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ServerError:
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Invalid request parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT token obtained via POST /v1/user/login