> ## 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.

# Benchmark revenue by dimension

> Programmatic revenue and impressions for one publisher next to its cohort and the network, broken down by one dimension such as country, region, device or partner. The cohort is other publishers sharing an IAB category with this one, and the network is all other publishers; publishers in organisations that opt out of data sharing are only compared with each other. Cohort and network figures are per-publisher averages.



## OpenAPI

````yaml /openapi.json get /v1/report/insight/benchmarking/revenue-dimension
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/benchmarking/revenue-dimension:
    get:
      tags:
        - Reporting/Insights Hub/Benchmarking
        - public
      summary: Benchmark revenue by dimension
      description: >-
        Programmatic revenue and impressions for one publisher next to its
        cohort and the network, broken down by one dimension such as country,
        region, device or partner. The cohort is other publishers sharing an IAB
        category with this one, and the network is all other publishers;
        publishers in organisations that opt out of data sharing are only
        compared with each other. Cohort and network figures are per-publisher
        averages.
      operationId: getRevenueBenchmarkByDimension
      parameters:
        - name: uid
          in: query
          description: A single publisher ID
          required: true
          schema:
            type: integer
        - name: dimension
          in: query
          description: >-
            Dimension to break the results down by. `geo` gives country names
            and `region` region names. Other values return a 400 error
          required: false
          schema:
            type: string
            enum:
              - ad_unit_type
              - geo
              - region
              - device
              - channel
              - partner
              - creative_size
            default: geo
        - name: range
          in: query
          description: >-
            Date range to report on. Preset ranges end yesterday.
            `week_to_date`, `month_to_date`, `quarter_to_date` and
            `year_to_date` run from the start of the current period to
            yesterday. `month_on_month` covers the last 12 full months plus this
            month so far, and `quarter_on_quarter` the last two years. `custom`
            uses `start` and `end` (YYYY-MM-DD) and falls back to `all_time`
            when either is missing. An empty value means yesterday. Other values
            return a 400 error
          required: false
          schema:
            type: string
            enum:
              - custom
              - all_time
              - yesterday
              - seven_days
              - fourteen_days
              - thirty_days
              - three_months
              - six_months
              - week_to_date
              - month_to_date
              - quarter_to_date
              - year_to_date
              - last_week
              - last_month
              - last_quarter
              - last_year
              - month_on_month
              - quarter_on_quarter
            default: thirty_days
        - name: start
          in: query
          description: Start date (YYYY-MM-DD) when `range` is `custom`
          required: false
          schema:
            type: string
            format: date
        - name: end
          in: query
          description: End date (YYYY-MM-DD) when `range` is `custom`
          required: false
          schema:
            type: string
            format: date
        - 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
        - name: exclude_pubs
          in: query
          description: >-
            When `yes`, leaves out publishers in the same organisation as this
            publisher, including its child organisations, from the cohort and
            network
          required: false
          schema:
            type: string
            enum:
              - 'yes'
              - 'no'
            default: 'no'
      responses:
        '200':
          description: 'OK: Revenue benchmark by dimension.'
          content:
            application/json:
              schema:
                type: object
                required:
                  - results
                  - success
                properties:
                  results:
                    type: object
                    required:
                      - currency
                      - data
                    properties:
                      currency:
                        type: string
                        description: Currency code all revenue is converted to
                      data:
                        type: object
                        description: >-
                          One entry per dimension value, keyed by that value
                          (for example a country name, region name or device).
                          Missing values come back as unknown. Each metric holds
                          the publisher's figure and the per-publisher averages
                          for its cohort and the network; null means no data. An
                          empty array, not an object, when there's no data
                        additionalProperties:
                          type: object
                          properties:
                            gross_revenue:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Gross revenue
                            pap_gross_revenue:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Gross Plug&Play revenue
                            saas_gross_revenue:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Gross SaaS revenue
                            net_revenue:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: >-
                                Net revenue, after the platform's revenue share
                                or SaaS fees
                            pap_net_revenue:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Net Plug&Play revenue
                            saas_net_revenue:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Net SaaS revenue
                            impressions:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Ad server impressions
                            pap_impressions:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: Plug&Play impressions
                            saas_impressions:
                              type: object
                              properties:
                                publisher:
                                  description: >-
                                    This publisher's figure. Null when it has no
                                    data
                                  type: number
                                  nullable: true
                                cohort:
                                  description: >-
                                    Average across the cohort's publishers. Null
                                    when none have data
                                  type: number
                                  nullable: true
                                network:
                                  description: >-
                                    Average across the network's publishers.
                                    Null when none have data
                                  type: number
                                  nullable: true
                              description: SaaS impressions
                        properties: {}
                    description: The report
                  success:
                    type: boolean
                    description: Always true
              example:
                results:
                  currency: GBP
                  data:
                    desktop:
                      gross_revenue:
                        publisher: 8412.37
                        cohort: 6120.84
                        network: 5233.19
                      pap_gross_revenue:
                        publisher: 5888.66
                        cohort: 4102.5
                        network: 3561.07
                      saas_gross_revenue:
                        publisher: 2523.71
                        cohort: 2018.34
                        network: 1672.12
                      net_revenue:
                        publisher: 6729.9
                        cohort: 4896.67
                        network: 4186.55
                      pap_net_revenue:
                        publisher: 4710.93
                        cohort: 3282
                        network: 2848.86
                      saas_net_revenue:
                        publisher: 2018.97
                        cohort: 1614.67
                        network: 1337.69
                      impressions:
                        publisher: 3164800
                        cohort: 2401350.5
                        network: 2087412.25
                      pap_impressions:
                        publisher: 2215360
                        cohort: 1609904.75
                        network: 1420440.5
                      saas_impressions:
                        publisher: 949440
                        cohort: 791445.75
                        network: 666971.75
                    mobile:
                      gross_revenue:
                        publisher: 13102.44
                        cohort: 9874.12
                        network: 8410.66
                      pap_gross_revenue:
                        publisher: 9171.71
                        cohort: 6911.88
                        network: 5887.46
                      saas_gross_revenue:
                        publisher: 3930.73
                        cohort: 2962.24
                        network: 2523.2
                      net_revenue:
                        publisher: 10481.95
                        cohort: 7899.3
                        network: 6728.53
                      pap_net_revenue:
                        publisher: 7337.37
                        cohort: 5529.5
                        network: 4709.97
                      saas_net_revenue:
                        publisher: 3144.58
                        cohort: 2369.8
                        network: 2018.56
                      impressions:
                        publisher: 6029100
                        cohort: 4718842.25
                        network: 4102877.5
                      pap_impressions:
                        publisher: 4220370
                        cohort: 3303189.5
                        network: 2872014.25
                      saas_impressions:
                        publisher: 1808730
                        cohort: 1415652.75
                        network: 1230863.25
                    tablet:
                      gross_revenue:
                        publisher: null
                        cohort: 412.9
                        network: 366.08
                      pap_gross_revenue:
                        publisher: null
                        cohort: 289.03
                        network: 256.26
                      saas_gross_revenue:
                        publisher: null
                        cohort: 123.87
                        network: 109.82
                      net_revenue:
                        publisher: null
                        cohort: 330.32
                        network: 292.86
                      pap_net_revenue:
                        publisher: null
                        cohort: 231.22
                        network: 205
                      saas_net_revenue:
                        publisher: null
                        cohort: 99.1
                        network: 87.86
                      impressions:
                        publisher: null
                        cohort: 191210.5
                        network: 170044
                      pap_impressions:
                        publisher: null
                        cohort: 133847.25
                        network: 119030.75
                      saas_impressions:
                        publisher: null
                        cohort: 57363.25
                        network: 51013.25
                    unknown:
                      gross_revenue:
                        publisher: 37.42
                        cohort: 21.86
                        network: 18.3
                      pap_gross_revenue:
                        publisher: 26.19
                        cohort: 15.3
                        network: 12.81
                      saas_gross_revenue:
                        publisher: 11.23
                        cohort: 6.56
                        network: 5.49
                      net_revenue:
                        publisher: 29.94
                        cohort: 17.49
                        network: 14.64
                      pap_net_revenue:
                        publisher: 20.95
                        cohort: 12.24
                        network: 10.25
                      saas_net_revenue:
                        publisher: 8.99
                        cohort: 5.25
                        network: 4.39
                      impressions:
                        publisher: 18630
                        cohort: 11204.75
                        network: 9512.5
                      pap_impressions:
                        publisher: 13041
                        cohort: 7843.25
                        network: 6658.75
                      saas_impressions:
                        publisher: 5589
                        cohort: 3361.5
                        network: 2853.75
                success: true
          headers: {}
        '400':
          description: >-
            Bad Request: `uid` is missing ("Publisher is required"); or
            `dimension` isn't one of the allowed values ("Dimension not valid");
            or `range` isn't a known value ("Invalid range. Use one of: …").
          content:
            application/json:
              schema:
                type: object
                properties: {}
          headers: {}
        '401':
          description: >-
            Unauthorized: No valid token was sent. It's missing, invalid,
            expired or revoked.
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: Token not found.
          headers: {}
        '403':
          description: 'Forbidden: You don''t have permission to do this.'
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: User forbidden
          headers: {}
        '404':
          description: 'Not Found: The publisher doesn''t exist or you can''t access it.'
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                success: false
                message: Resource not found
          headers: {}
        '500':
          description: >-
            Internal Server Error: An unexpected error. The message includes a
            reference to quote to support.
          content:
            application/json:
              schema:
                type: object
                properties: {}
              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:
  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.