TEGNA · Capability

TEGNA Premion OTT Advertising API — Reporting

TEGNA Premion OTT Advertising API — Reporting. 1 operations. Lead operation: Get OTT Campaign Performance. Self-contained Naftiko capability covering one Tegna business surface.

Run with Naftiko TegnaReporting

What You Can Do

GET
Getottcampaignperformance — Get OTT Campaign Performance
/v1/campaigns/{campaignid}/performance

MCP Tools

get-ott-campaign-performance

Get OTT Campaign Performance

read-only idempotent

Capability Spec

premion-reporting.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TEGNA Premion OTT Advertising API — Reporting
  description: 'TEGNA Premion OTT Advertising API — Reporting. 1 operations. Lead operation: Get OTT Campaign Performance.
    Self-contained Naftiko capability covering one Tegna business surface.'
  tags:
  - Tegna
  - Reporting
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TEGNA_API_KEY: TEGNA_API_KEY
capability:
  consumes:
  - type: http
    namespace: premion-reporting
    baseUri: https://api.premion.com/v1
    description: TEGNA Premion OTT Advertising API — Reporting business capability. Self-contained, no shared references.
    resources:
    - name: campaigns-campaignId-performance
      path: /campaigns/{campaignId}/performance
      operations:
      - name: getottcampaignperformance
        method: GET
        description: Get OTT Campaign Performance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: campaignId
          in: path
          type: string
          required: true
        - name: startDate
          in: query
          type: string
        - name: endDate
          in: query
          type: string
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.TEGNA_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: premion-reporting-rest
    port: 8080
    description: REST adapter for TEGNA Premion OTT Advertising API — Reporting. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/campaigns/{campaignid}/performance
      name: campaigns-campaignid-performance
      description: REST surface for campaigns-campaignId-performance.
      operations:
      - method: GET
        name: getottcampaignperformance
        description: Get OTT Campaign Performance
        call: premion-reporting.getottcampaignperformance
        with:
          campaignId: rest.campaignId
          startDate: rest.startDate
          endDate: rest.endDate
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: premion-reporting-mcp
    port: 9090
    transport: http
    description: MCP adapter for TEGNA Premion OTT Advertising API — Reporting. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: get-ott-campaign-performance
      description: Get OTT Campaign Performance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: premion-reporting.getottcampaignperformance
      with:
        campaignId: tools.campaignId
        startDate: tools.startDate
        endDate: tools.endDate
      outputParameters:
      - type: object
        mapping: $.