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

# /report/insight/diagnostics/:uid

> A health check of one publisher covering consent, ad experience, tag errors and latency, viewability, ads.txt and integrations. Most figures are for yesterday



## OpenAPI

````yaml /openapi.json get /v1/report/insight/diagnostics/{uid}
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.


    # 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: Reporting
  - name: Reporting/Revenue Reports
  - name: Reporting/Experiment Reporting
  - name: Reporting/Campaign Reports
  - name: Reporting/Health Check
  - name: Reporting/Ads.txt
  - name: Reporting/Utility
  - name: Reporting/Insights Hub
  - name: Reporting/Insights Hub/SSP Insights
  - name: Reporting/Insights Hub/Core Web Vitals
  - name: Reporting/Insights Hub/Ads.txt Insights
  - name: Reporting/Insights Hub/Live Insights
  - name: Reporting/Insights Hub/Metrics
  - name: Reporting/Insights Hub/Diagnostics
  - name: Reporting/Insights Hub/Revenue Insights
  - name: Reporting/Insights Hub/Revenue Analytics
  - name: Reporting/Insights Hub/Demand Mix
  - name: Reporting/Insights Hub/Benchmarking
  - name: Organisation
  - name: Organisation/Organisation Meta
  - name: Organisation/Pricing
  - name: Ad Stack
  - name: Ad Stack/Integration
  - name: Publisher
  - name: Publisher/Publisher Stack
  - name: Publisher/Publisher Tag
  - name: Publisher/Publisher Meta
  - name: Publisher/Experiment
  - name: Publisher/Config (Ad unit)
  - name: Publisher/App Placement
  - name: AI
  - name: AI/Activity
  - name: Billing
  - name: Billing/Invoice
  - name: Audit Log
  - name: '[IN PROGRESS] Integration'
  - name: '[IN PROGRESS] Integration/Mapping'
  - name: '[IN PROGRESS] User'
  - name: '[IN PROGRESS] User/Account'
  - name: public
paths:
  /v1/report/insight/diagnostics/{uid}:
    get:
      tags:
        - Reporting/Insights Hub/Diagnostics
        - public
      summary: /report/insight/diagnostics/:uid
      description: >-
        A health check of one publisher covering consent, ad experience, tag
        errors and latency, viewability, ads.txt and integrations. Most figures
        are for yesterday
      parameters:
        - name: uid
          in: path
          description: A single publisher ID
          required: true
          example: ''
          schema:
            type: integer
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: object
                    properties:
                      cmp_error_rate:
                        type: number
                        description: >-
                          Share of consent checks where no CMP was found, from 0
                          to 1. Ideally 0
                      cmp_rejection_rate:
                        type: number
                        description: >-
                          Share of consent responses that denied consent, from 0
                          to 1. Ideally under 0.15
                      heavy_ad_intervention:
                        type: number
                        description: >-
                          Heavy ad interventions per page impression. Ideally
                          under 0.01
                      mobile_ad_density:
                        type: number
                        description: >-
                          Median share of the mobile screen taken by ads, from 0
                          to 1. Ideally under 0.3
                      tag_latency:
                        type: number
                        description: >-
                          Median time for the tag to load, in milliseconds.
                          Ideally under 2000
                      tag_error_rate:
                        type: number
                        description: Tag errors per page impression. Ideally under 0.01
                      tag_error_types:
                        type: array
                        description: >-
                          Yesterday's tag errors grouped by type, most frequent
                          first. Empty when there were none
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                              description: >-
                                The error type, such as 'Network Request
                                Failed'. Errors that don't match a known type
                                keep their own message
                            count:
                              type: integer
                              description: Errors of this type
                            rate:
                              type: number
                              description: Errors of this type per page impression
                            details:
                              type: array
                              description: >-
                                Breakdown by detail found in the error, such as
                                source or reason, most frequent first
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  value:
                                    anyOf:
                                      - type: string
                                      - type: number
                                  count:
                                    type: integer
                                required:
                                  - label
                                  - value
                                  - count
                            network_average:
                              type: number
                              description: >-
                                Average rate for this error type across all
                                publishers over the last 7 days
                              nullable: true
                          required:
                            - type
                            - count
                            - rate
                            - details
                            - network_average
                      viewability:
                        type: number
                        description: >-
                          Viewable impressions as a share of impressions, from 0
                          to 1. Ideally over 0.8
                      cmp_stub_status:
                        type: string
                        enum:
                          - Found - Fusion
                          - Found
                          - External
                          - Missing
                          - Site unreachable
                        description: >-
                          Whether a CMP stub is in place: through a connected
                          CMP integration, on the page, in an external script,
                          missing, or the site couldn't be checked
                      direct:
                        type: number
                        description: >-
                          Share of impressions from direct (ad server) demand,
                          from 0 to 1
                      expired_integrations:
                        type: string
                        description: >-
                          Comma-separated IDs of the publisher's integrations
                          whose access has expired. Null when none have
                        nullable: true
                      ads_txt_issues:
                        description: >-
                          Missing ads.txt lines plus the number of different
                          error types in the file. '0 - Managed' when the
                          platform manages the file. Null when the publisher has
                          no ads.txt record
                        anyOf:
                          - type: integer
                            nullable: true
                          - type: string
                            nullable: true
                      traffic_trend:
                        type: string
                        enum:
                          - Increasing
                          - Steady
                          - In decline
                          - Unknown
                        description: Direction of page impressions over the last 2 weeks
                    required:
                      - cmp_error_rate
                      - cmp_rejection_rate
                      - heavy_ad_intervention
                      - mobile_ad_density
                      - tag_latency
                      - tag_error_rate
                      - tag_error_types
                      - viewability
                      - cmp_stub_status
                      - direct
                      - expired_integrations
                      - ads_txt_issues
                      - traffic_trend
                  success:
                    type: boolean
                required:
                  - results
                  - success
              example:
                results:
                  cmp_error_rate: 0.0000122486
                  cmp_rejection_rate: 0.0007226761
                  heavy_ad_intervention: 0.0088838084
                  mobile_ad_density: 0.057
                  tag_latency: 2541.999829099
                  tag_error_rate: 0.0147908736
                  tag_error_types:
                    - type: Network Request Failed
                      count: 412
                      rate: 0.0098561
                      details:
                        - label: reason
                          value: Failed to fetch
                          count: 301
                        - label: reason
                          value: Load failed
                          count: 111
                      network_average: 0.0021
                    - type: GPT Load Failed
                      count: 206
                      rate: 0.0049282
                      details: []
                      network_average: 0.00087
                  viewability: 0.5244113081
                  cmp_stub_status: Found
                  direct: 0.6921014873
                  expired_integrations: null
                  ads_txt_issues: 2
                  traffic_trend: In decline
                success: true
          headers: {}
      deprecated: false
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````

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