Trillboards Cohort Export API

Export exposed audience cohorts (MAID lists) to DSPs for retargeting activation

GitHub OpenAPI

Operations 1

POST /v1/advertiser/attribution/campaign/{campaignId}/cohort/export Export cohort to DSP #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/trillboards-com:trillboards-com-cohort-export-api"
All apis
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.

Get an API 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 Specification

trillboards-com-cohort-export-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Trillboards Attribution & Measurement Cohort Export API
  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: Cohort Export
  description: Export exposed audience cohorts (MAID lists) to DSPs for retargeting activation
paths:
  /v1/advertiser/attribution/campaign/{campaignId}/cohort/export:
    post:
      operationId: exportCohort
      summary: Export cohort to DSP
      description: 'Exports the exposed audience cohort (SHA-256 hashed MAID list) to

        a DSP for retargeting activation. Supported destinations:


        - **ttd**: The Trade Desk (1P data segment upload)

        - **dv360**: Google Display & Video 360 (Customer Match)

        - **meta**: Meta/Facebook (Custom Audiences)


        Returns a pre-signed S3 URL for the exported file and the MAID count.'
      tags:
      - Cohort Export
      security:
      - bearerAuth: []
      parameters:
      - $ref: '#/components/parameters/campaignId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - destination
              properties:
                destination:
                  type: string
                  enum:
                  - ttd
                  - dv360
                  - meta
                  description: Target DSP platform
            example:
              destination: ttd
      responses:
        '200':
          description: Cohort exported successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    $ref: '#/components/schemas/CohortExport'
              example:
                success: true
                data:
                  exportId: exp_a1b2c3d4
                  s3Url: https://trillboards-cohorts.s3.amazonaws.com/exports/camp_abc123/ttd/2026-02-28.csv?X-Amz-...
                  maidCount: 45200
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '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:
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
        error:
          type: string
    CohortExport:
      type: object
      properties:
        exportId:
          type: string
        s3Url:
          type: string
          format: uri
          description: Pre-signed S3 URL for the exported MAID list (expires in 24h)
        maidCount:
          type: integer
          description: Number of unique MAIDs in the export
  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