> ## 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/adstxt/:uid

> The lines a publisher's ads.txt file must contain, and which are missing from its live file



## OpenAPI

````yaml /openapi.json get /v1/report/adstxt/{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/adstxt/{uid}:
    get:
      tags:
        - Reporting/Ads.txt
        - public
      summary: /report/adstxt/:uid
      description: >-
        The lines a publisher's ads.txt file must contain, and which are missing
        from its live file
      parameters:
        - name: uid
          in: path
          description: A single publisher ID
          required: true
          example: ''
          schema:
            type: integer
        - name: ci_only
          in: query
          description: >-
            Set to 1 to list only the lines the platform’s demand requires,
            leaving out lines added for this publisher
          required: false
          schema:
            type: integer
            enum:
              - 0
              - 1
            default: 0
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: object
                    properties:
                      file_found:
                        type: boolean
                        description: >-
                          Whether ads.txt could be fetched from the domain root.
                          Null when it has not been checked yet
                        nullable: true
                      ci_present:
                        type: boolean
                        description: >-
                          Whether all of the platform's own required lines are
                          in ads.txt. True when the publisher needs none. Null
                          when not checked yet
                        nullable: true
                      up_to_date:
                        type: boolean
                        description: >-
                          Whether every line in requirements is in ads.txt. Null
                          when not checked yet
                        nullable: true
                      missing_lines:
                        type: array
                        items:
                          type: string
                        description: >-
                          Lines from requirements that were not in ads.txt at
                          the last crawl, written as they should be added. Every
                          requirement is listed when no plain-text file has been
                          read
                      requirements:
                        type: array
                        items:
                          type: string
                        description: >-
                          Every line the publisher's ads.txt must contain, with
                          macros filled in. Built from the publisher's active
                          web ad units. With ci_only=1, lines added for this
                          publisher alone are left out. Empty when there are
                          none
                    required:
                      - file_found
                      - ci_present
                      - up_to_date
                      - missing_lines
                      - requirements
                  success:
                    type: boolean
                required:
                  - results
                  - success
              example:
                results:
                  file_found: true
                  ci_present: true
                  up_to_date: false
                  missing_lines:
                    - ssp-one.example, 48213, RESELLER, a1b2c3d4e5f60718
                    - OWNERDOMAIN=example.com
                  requirements:
                    - contentignite.com, 20417, DIRECT
                    - ssp-one.example, 48213, RESELLER, a1b2c3d4e5f60718
                    - exchange-two.example, pub-9081726354, DIRECT
                    - OWNERDOMAIN=example.com
                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.