> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contentignite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get today's live revenue

> Hourly revenue and impressions for today so far, compared with yesterday and the same day last week, with a forecast for the rest of the day based on the last 7 days. Hours whose data is still arriving are flagged as pending. Comes from the ad server's live feed, so it runs a few hours behind and leaves out some revenue sources. Results cover the publishers in your organisation and its child organisations.



## OpenAPI

````yaml /openapi.json get /v1/report/insight/metrics/live-revenue
openapi: 3.0.1
info:
  title: CI Public API
  description: >-
    # Introduction

    Welcome to the Content Ignite API. A central place for all Content Ignite
    functionality.


    This API enforces a separation between function and form, meaning anything
    you can do in our platforms can be replicated in your own bespoke solution.


    # Authentication

    Authentication is handled via JWTs. You can retrieve your unique JSON Web
    Token from the settings page in the platform, which needs to be passed in
    with every request.

    To do this, simple include it in an Authorization header with the "Bearer"
    key word.


    Please contact support for help getting started.


    # Error Codes

    This is a fully RESTful API, so prepare for a number of different HTTP
    status codes.


    There is also a standard "success" field returned for each request. This
    boolean value can provide a first check against a response.


    ## Errors any endpoint can return

    Every signed-in endpoint can also return these, so they aren't listed on
    each one:


    - `401` Unauthorized: no valid token was sent. It's missing, invalid,
    expired or revoked.

    - `403` Forbidden with `code` `session_invalid`: your user or organisation
    no longer exists, or you were removed from the organisation. Sign in again.

    - `403` Forbidden with `code` `insufficient_scope` ("This sign-in is
    read-only"): an OAuth (MCP) sign-in with read access tried to make a change.

    - `403` Forbidden with `code` `organisation_unavailable`: an OAuth (MCP)
    sign-in has lost access to its organisation. Switch to another organisation.

    - `503` Service Unavailable: "System is down for scheduled maintenance". Try
    again later.


    # Rate limit

    We reserve the right to block requests if we deem a client to be abusing the
    API.
  version: 1.0.0
servers:
  - url: https://api.tagdeliver.com
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Publisher
  - name: Publisher/Publisher Tag
  - name: Publisher/Config (Ad unit)
  - name: Publisher/App Placement
  - name: Publisher/Publisher Stack
  - name: Publisher/Experiment
  - name: Publisher/Publisher Meta
  - name: Publisher/Debugging
  - name: Ad Stack
  - name: Ad Stack/Integration
  - name: Integration
  - name: Integration/Authentication
  - name: Integration/Mapping
  - name: Mapping
  - name: Reporting
  - name: Reporting/Revenue Reports
  - name: Reporting/Insights Hub
  - name: Reporting/Insights Hub/Ads.txt Insights
  - name: Reporting/Insights Hub/Benchmarking
  - name: Reporting/Insights Hub/Core Web Vitals
  - name: Reporting/Insights Hub/Diagnostics
  - name: Reporting/Insights Hub/Demand Mix
  - name: Reporting/Insights Hub/Live Insights
  - name: Reporting/Insights Hub/Metrics
  - name: Reporting/Insights Hub/Revenue Analytics
  - name: Reporting/Insights Hub/Revenue Insights
  - name: Reporting/Insights Hub/SSP Insights
  - name: Reporting/Campaign Reports
  - name: Reporting/Experiment Reporting
  - name: Reporting/Health Check
  - name: Reporting/Ads.txt
  - name: Reporting/Utility
  - name: Audience
  - name: Audience/Segment
  - name: Organisation
  - name: Organisation/Organisation Meta
  - name: Organisation/Pricing
  - name: User
  - name: User/Account
  - name: Billing
  - name: Billing/Profile
  - name: Billing/Invoice
  - name: Audit Log
  - name: Search
  - name: Set-up
  - name: public
paths:
  /v1/report/insight/metrics/live-revenue:
    get:
      tags:
        - Reporting/Insights Hub/Metrics
        - public
      summary: Get today's live revenue
      description: >-
        Hourly revenue and impressions for today so far, compared with yesterday
        and the same day last week, with a forecast for the rest of the day
        based on the last 7 days. Hours whose data is still arriving are flagged
        as pending. Comes from the ad server's live feed, so it runs a few hours
        behind and leaves out some revenue sources. Results cover the publishers
        in your organisation and its child organisations.
      operationId: getTodayLiveRevenue
      parameters:
        - name: uid
          in: query
          description: >-
            One or more publisher IDs, comma-separated. Defaults to all
            publishers in your organisation
          required: false
          schema:
            type: string
        - name: rev_type
          in: query
          description: >-
            Revenue type. `net` is after the platform's revenue share or SaaS
            fees. Other values give gross
          required: false
          schema:
            type: string
            enum:
              - gross
              - net
            default: gross
        - name: rev_source
          in: query
          description: >-
            Revenue source: `pap` for Plug&Play (platform) demand, `saas` for
            the publisher's own SaaS demand. Any other value covers both
          required: false
          schema:
            type: string
            enum:
              - all
              - pap
              - saas
            default: all
        - name: environment
          in: query
          description: >-
            `web` for websites or `app` for in-app ad units. Any other value, or
            none, covers both
          required: false
          schema:
            type: string
            enum:
              - all
              - web
              - app
            default: all
      responses:
        '200':
          description: 'OK: Hourly revenue and forecast.'
          content:
            application/json:
              schema:
                type: object
                required:
                  - results
                  - success
                properties:
                  results:
                    type: object
                    required:
                      - currency
                      - today
                      - yesterday
                      - last_week
                      - forecast
                    properties:
                      currency:
                        type: string
                        description: Currency code all revenue is converted to
                      today:
                        type: array
                        description: >-
                          Today so far, one entry per hour from 0 up to the
                          latest hour with data
                        items:
                          type: object
                          required:
                            - date
                            - hour
                            - revenue
                            - impressions
                            - pending
                          properties:
                            date:
                              type: string
                              format: date
                              description: >-
                                Date (YYYY-MM-DD), or the first day of the month
                                or quarter when grouped
                            hour:
                              type: integer
                              minimum: 0
                              maximum: 23
                              description: >-
                                Hour of the day in the ad server network's local
                                time, not UTC
                            revenue:
                              type: number
                              description: Revenue, gross or net following `rev_type`
                            impressions:
                              type: integer
                              description: Ad server impressions
                            pending:
                              type: boolean
                              description: >-
                                True when the hour's data is still arriving, so
                                its figures are incomplete. The forecast covers
                                these hours
                      yesterday:
                        type: array
                        description: Yesterday, all 24 hours. Hours with no data are 0
                        items:
                          type: object
                          required:
                            - date
                            - hour
                            - revenue
                            - impressions
                          properties:
                            date:
                              type: string
                              format: date
                              description: >-
                                Date (YYYY-MM-DD), or the first day of the month
                                or quarter when grouped
                            hour:
                              type: integer
                              minimum: 0
                              maximum: 23
                              description: >-
                                Hour of the day in the ad server network's local
                                time, not UTC
                            revenue:
                              type: number
                              description: Revenue, gross or net following `rev_type`
                            impressions:
                              type: integer
                              description: Ad server impressions
                      last_week:
                        type: array
                        description: >-
                          The same day last week, all 24 hours. Hours with no
                          data are 0
                        items:
                          type: object
                          required:
                            - date
                            - hour
                            - revenue
                            - impressions
                          properties:
                            date:
                              type: string
                              format: date
                              description: >-
                                Date (YYYY-MM-DD), or the first day of the month
                                or quarter when grouped
                            hour:
                              type: integer
                              minimum: 0
                              maximum: 23
                              description: >-
                                Hour of the day in the ad server network's local
                                time, not UTC
                            revenue:
                              type: number
                              description: Revenue, gross or net following `rev_type`
                            impressions:
                              type: integer
                              description: Ad server impressions
                      forecast:
                        type: array
                        description: >-
                          Forecast for the rest of today, from the first pending
                          hour to hour 23, based on the last seven days scaled
                          to how today is tracking
                        items:
                          type: object
                          required:
                            - date
                            - hour
                            - revenue
                            - impressions
                          properties:
                            date:
                              type: string
                              format: date
                              description: >-
                                Date (YYYY-MM-DD), or the first day of the month
                                or quarter when grouped
                            hour:
                              type: integer
                              minimum: 0
                              maximum: 23
                              description: >-
                                Hour of the day in the ad server network's local
                                time, not UTC
                            revenue:
                              type: number
                              description: Revenue, gross or net following `rev_type`
                            impressions:
                              type: number
                              description: Forecast impressions, rounded
                    description: The report
                  success:
                    type: boolean
                    description: Always true
              example:
                results:
                  currency: GBP
                  today:
                    - date: '2026-10-22'
                      hour: 0
                      revenue: 48.62
                      impressions: 53020
                      pending: false
                    - date: '2026-10-22'
                      hour: 1
                      revenue: 33.15
                      impressions: 36150
                      pending: false
                    - date: '2026-10-22'
                      hour: 2
                      revenue: 24.31
                      impressions: 26510
                      pending: false
                    - date: '2026-10-22'
                      hour: 3
                      revenue: 19.89
                      impressions: 21690
                      pending: false
                    - date: '2026-10-22'
                      hour: 4
                      revenue: 10.94
                      impressions: 11929
                      pending: true
                    - date: '2026-10-22'
                      hour: 5
                      revenue: 5.3
                      impressions: 5784
                      pending: true
                  yesterday:
                    - date: '2026-10-21'
                      hour: 0
                      revenue: 46.98
                      impressions: 51524
                    - date: '2026-10-21'
                      hour: 1
                      revenue: 32.03
                      impressions: 35130
                    - date: '2026-10-21'
                      hour: 2
                      revenue: 23.49
                      impressions: 25762
                    - date: '2026-10-21'
                      hour: 3
                      revenue: 19.22
                      impressions: 21078
                    - date: '2026-10-21'
                      hour: 4
                      revenue: 19.22
                      impressions: 21078
                    - date: '2026-10-21'
                      hour: 5
                      revenue: 25.62
                      impressions: 28104
                    - date: '2026-10-21'
                      hour: 6
                      revenue: 46.98
                      impressions: 51524
                    - date: '2026-10-21'
                      hour: 7
                      revenue: 74.74
                      impressions: 81970
                    - date: '2026-10-21'
                      hour: 8
                      revenue: 96.09
                      impressions: 105390
                    - date: '2026-10-21'
                      hour: 9
                      revenue: 106.77
                      impressions: 117100
                    - date: '2026-10-21'
                      hour: 10
                      revenue: 111.04
                      impressions: 121784
                    - date: '2026-10-21'
                      hour: 11
                      revenue: 113.18
                      impressions: 124126
                    - date: '2026-10-21'
                      hour: 12
                      revenue: 117.45
                      impressions: 128810
                    - date: '2026-10-21'
                      hour: 13
                      revenue: 115.31
                      impressions: 126468
                    - date: '2026-10-21'
                      hour: 14
                      revenue: 113.18
                      impressions: 124126
                    - date: '2026-10-21'
                      hour: 15
                      revenue: 111.04
                      impressions: 121784
                    - date: '2026-10-21'
                      hour: 16
                      revenue: 113.18
                      impressions: 124126
                    - date: '2026-10-21'
                      hour: 17
                      revenue: 119.58
                      impressions: 131152
                    - date: '2026-10-21'
                      hour: 18
                      revenue: 128.12
                      impressions: 140520
                    - date: '2026-10-21'
                      hour: 19
                      revenue: 136.67
                      impressions: 149888
                    - date: '2026-10-21'
                      hour: 20
                      revenue: 140.94
                      impressions: 154572
                    - date: '2026-10-21'
                      hour: 21
                      revenue: 132.39
                      impressions: 145204
                    - date: '2026-10-21'
                      hour: 22
                      revenue: 108.91
                      impressions: 119441
                    - date: '2026-10-21'
                      hour: 23
                      revenue: 81.15
                      impressions: 88996
                  last_week:
                    - date: '2026-10-15'
                      hour: 0
                      revenue: 45.96
                      impressions: 50512
                    - date: '2026-10-15'
                      hour: 1
                      revenue: 31.33
                      impressions: 34440
                    - date: '2026-10-15'
                      hour: 2
                      revenue: 22.98
                      impressions: 25256
                    - date: '2026-10-15'
                      hour: 3
                      revenue: 18.8
                      impressions: 20664
                    - date: '2026-10-15'
                      hour: 4
                      revenue: 18.8
                      impressions: 20664
                    - date: '2026-10-15'
                      hour: 5
                      revenue: 25.07
                      impressions: 27552
                    - date: '2026-10-15'
                      hour: 6
                      revenue: 45.96
                      impressions: 50512
                    - date: '2026-10-15'
                      hour: 7
                      revenue: 73.11
                      impressions: 80360
                    - date: '2026-10-15'
                      hour: 8
                      revenue: 94
                      impressions: 103320
                    - date: '2026-10-15'
                      hour: 9
                      revenue: 104.45
                      impressions: 114800
                    - date: '2026-10-15'
                      hour: 10
                      revenue: 108.62
                      impressions: 119392
                    - date: '2026-10-15'
                      hour: 11
                      revenue: 110.71
                      impressions: 121688
                    - date: '2026-10-15'
                      hour: 12
                      revenue: 114.89
                      impressions: 126280
                    - date: '2026-10-15'
                      hour: 13
                      revenue: 112.8
                      impressions: 123984
                    - date: '2026-10-15'
                      hour: 14
                      revenue: 110.71
                      impressions: 121688
                    - date: '2026-10-15'
                      hour: 15
                      revenue: 108.62
                      impressions: 119392
                    - date: '2026-10-15'
                      hour: 16
                      revenue: 110.71
                      impressions: 121688
                    - date: '2026-10-15'
                      hour: 17
                      revenue: 116.98
                      impressions: 128576
                    - date: '2026-10-15'
                      hour: 18
                      revenue: 125.33
                      impressions: 137760
                    - date: '2026-10-15'
                      hour: 19
                      revenue: 133.69
                      impressions: 146944
                    - date: '2026-10-15'
                      hour: 20
                      revenue: 137.87
                      impressions: 151536
                    - date: '2026-10-15'
                      hour: 21
                      revenue: 129.51
                      impressions: 142352
                    - date: '2026-10-15'
                      hour: 22
                      revenue: 106.53
                      impressions: 117095
                    - date: '2026-10-15'
                      hour: 23
                      revenue: 79.38
                      impressions: 87248
                  forecast:
                    - date: '2026-10-22'
                      hour: 4
                      revenue: 19.71
                      impressions: 21492
                    - date: '2026-10-22'
                      hour: 5
                      revenue: 26.28
                      impressions: 28656
                    - date: '2026-10-22'
                      hour: 6
                      revenue: 48.18
                      impressions: 52536
                    - date: '2026-10-22'
                      hour: 7
                      revenue: 76.65
                      impressions: 83580
                    - date: '2026-10-22'
                      hour: 8
                      revenue: 98.55
                      impressions: 107460
                    - date: '2026-10-22'
                      hour: 9
                      revenue: 109.5
                      impressions: 119400
                    - date: '2026-10-22'
                      hour: 10
                      revenue: 113.88
                      impressions: 124176
                    - date: '2026-10-22'
                      hour: 11
                      revenue: 116.07
                      impressions: 126564
                    - date: '2026-10-22'
                      hour: 12
                      revenue: 120.45
                      impressions: 131340
                    - date: '2026-10-22'
                      hour: 13
                      revenue: 118.26
                      impressions: 128952
                    - date: '2026-10-22'
                      hour: 14
                      revenue: 116.07
                      impressions: 126564
                    - date: '2026-10-22'
                      hour: 15
                      revenue: 113.88
                      impressions: 124176
                    - date: '2026-10-22'
                      hour: 16
                      revenue: 116.07
                      impressions: 126564
                    - date: '2026-10-22'
                      hour: 17
                      revenue: 122.64
                      impressions: 133728
                    - date: '2026-10-22'
                      hour: 18
                      revenue: 131.4
                      impressions: 143280
                    - date: '2026-10-22'
                      hour: 19
                      revenue: 140.16
                      impressions: 152832
                    - date: '2026-10-22'
                      hour: 20
                      revenue: 144.54
                      impressions: 157608
                    - date: '2026-10-22'
                      hour: 21
                      revenue: 135.78
                      impressions: 148056
                    - date: '2026-10-22'
                      hour: 22
                      revenue: 111.69
                      impressions: 121788
                    - date: '2026-10-22'
                      hour: 23
                      revenue: 83.22
                      impressions: 90744
                success: true
          headers: {}
        '401':
          description: >-
            Unauthorized: No valid token was sent. It's missing, invalid,
            expired or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                message: Token not found.
          headers: {}
        '403':
          description: 'Forbidden: You don''t have permission to do this.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                success: false
                message: User forbidden
          headers: {}
        '500':
          description: >-
            Internal Server Error: An unexpected error. The message includes a
            reference to quote to support.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerError'
              example:
                status: 500
                message: >-
                  An error occurred [4f2k], please try again shortly or contact
                  your account manager for further assistance.
          headers: {}
      deprecated: false
      security:
        - BearerAuth: []
components:
  schemas:
    Error:
      type: object
      required:
        - success
        - message
      properties:
        success:
          type: boolean
          description: Always false for an error.
          enum:
            - false
        message:
          type: string
          description: What went wrong, safe to show to the user.
    ServerError:
      type: object
      required:
        - status
        - message
      properties:
        status:
          type: integer
          enum:
            - 500
        message:
          type: string
          description: >-
            A generic message with an error reference in square brackets, for
            support.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        A personal API token from the platform's settings page, or an OAuth
        access token.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.