Trillboards Creative Attribution API
Creative-level performance attribution — which creative x venue x daypart x weather combination drives the most conversions
Creative-level performance attribution — which creative x venue x daypart x weather combination drives the most conversions
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-creative-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 Creative Attribution…
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: Creative Attribution
description: Creative-level performance attribution — which creative x venue x daypart x weather combination drives the most conversions
paths:
/v1/advertiser/attribution/campaign/{campaignId}/creative-attribution:
get:
operationId: getCreativeAttribution
summary: Creative-level attribution performance
description: 'Returns attribution outcomes broken down by creative. Correlates
creative execution (attention, dwell, emotion) with downstream
outcomes (store visits, lift, cost per visit).
Includes context interaction analysis: which creative performs best
in which venue type, daypart, and weather condition.'
tags:
- Creative Attribution
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/campaignId'
responses:
'200':
description: Creative attribution performance data
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: array
items:
$ref: '#/components/schemas/CreativeAttributionPerformance'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
/v1/advertiser/attribution/campaign/{campaignId}/creative-attribution/{creativeId}/timeseries:
get:
operationId: getCreativeAttributionTimeseries
summary: Creative attribution over time
description: 'Returns daily attribution metrics for a specific creative.
Use this to detect creative fatigue: if attention degrades while
impressions stay constant, rotate the creative.'
tags:
- Creative Attribution
security:
- bearerAuth: []
parameters:
- $ref: '#/components/parameters/campaignId'
- name: creativeId
in: path
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9_-]{1,128}$
description: Creative identifier
responses:
'200':
description: Creative timeseries data
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
data:
type: array
items:
$ref: '#/components/schemas/CreativeAttributionTimeseriesPoint'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/ServerError'
components:
parameters:
campaignId:
name: campaignId
in: path
required: true
schema:
type: string
pattern: ^[a-zA-Z0-9_-]{1,128}$
description: Campaign identifier
schemas:
CreativeAttributionPerformance:
type: object
properties:
campaign_id:
type: string
creative_id:
type: string
variant:
type: string
avg_attention_score:
type: number
avg_dwell_seconds:
type: number
avg_emotion_engagement:
type: number
dominant_emotion:
type: string
store_visits:
type: integer
visit_rate:
type: number
incremental_lift_pct:
type: number
cost_per_visit:
type: number
best_venue_type:
type: string
description: Venue type where this creative performs best
best_daypart:
type: string
description: Time of day where this creative performs best
best_weather:
type: string
description: Weather condition where this creative performs best
context_performance:
type: object
description: Detailed performance by context (venue x daypart x weather)
Error:
type: object
properties:
success:
type: boolean
example: false
message:
type: string
error:
type: string
CreativeAttributionTimeseriesPoint:
type: object
properties:
metric_date:
type: string
format: date
avg_attention_score:
type: number
avg_dwell_seconds:
type: number
avg_emotion_engagement:
type: number
store_visits:
type: integer
visit_rate:
type: number
incremental_lift_pct:
type: number
cost_per_visit:
type: number
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'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: JWT token obtained via POST /v1/user/login