Skip to main content
GET
/
v1
/
report
/
adstxt
/
{uid}
/report/adstxt/:uid
curl --request GET \
  --url https://api.tagdeliver.com/v1/report/adstxt/{uid} \
  --header 'Authorization: Bearer <token>'
import requests

url = "https://api.tagdeliver.com/v1/report/adstxt/{uid}"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.tagdeliver.com/v1/report/adstxt/{uid}', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.tagdeliver.com/v1/report/adstxt/{uid}",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "Authorization: Bearer <token>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.tagdeliver.com/v1/report/adstxt/{uid}"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.tagdeliver.com/v1/report/adstxt/{uid}")
  .header("Authorization", "Bearer <token>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.tagdeliver.com/v1/report/adstxt/{uid}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
{
  "results": {
    "file_found": true,
    "ci_present": true,
    "up_to_date": false,
    "missing_lines": [
      "appnexus.com, 15666, RESELLER, f5ab79cb980f11d1",
      "contentignite.com, 3, DIRECT",
      "OWNERDOMAIN=",
      "video.unrulymedia.com, 586616193, RESELLER",
      "themediagrid.com, PC9SRJ, RESELLER, 35d5010d7789b49d"
    ],
    "requirements": [
      "pubmatic.com, 160530, RESELLER, 5d62403b186f2ace",
      "appnexus.com, 15666, RESELLER, f5ab79cb980f11d1",
      "google.com, pub-4396642442527865, RESELLER, f08c47fec0942fa0",
      "google.com, pub-3761824150816651, RESELLER, f08c47fec0942fa0",
      "sovrn.com, 361781, DIRECT, fafdf38b16bf6b2b",
      "lijit.com, 361781, DIRECT, fafdf38b16bf6b2b",
      "lijit.com, 361781-eb, DIRECT, fafdf38b16bf6b2b",
      "appnexus.com, 1360, RESELLER, f5ab79cb980f11d1",
      "openx.com, 538959099, RESELLER, 6a698e2ec38604c6",
      "improvedigital.com, 1958, RESELLER",
      "pubmatic.com, 160862, RESELLER, 5d62403b186f2ace",
      "indexexchange.com, 198091, RESELLER, 50b1c356f2c5c8fc",
      "onetag.com, 76bc3f955fb9fc6-OB, RESELLER",
      "rubiconproject.com, 23804, RESELLER, 0bfd66d529a55807",
      "smartadserver.com, 4220-OB, RESELLER, 060d053dcf45cbf3",
      "smartadserver.com, 4012, RESELLER",
      "contentignite.com, 3, DIRECT",
      "OWNERDOMAIN=",
      "sharethrough.com, GL22cNnT, DIRECT, d53b998a7bd4ecd2",
      "pubmatic.com, 156557, RESELLER",
      "rubiconproject.com, 18694, RESELLER, 0bfd66d529a55807",
      "openx.com, 540274407, RESELLER, 6a698e2ec38604c6",
      "33across.com, 0013300001kQj2HAAS, RESELLER, bbea06d9c4d2853c",
      "smaato.com, 1100047713, RESELLER, 07bcf65f187117b4",
      "smartadserver.com, 4342, RESELLER",
      "admanmedia.com, 43, RESELLER",
      "adyoulike.com, b4bf4fdd9b0b915f746f6747ff432bde, RESELLER",
      "appnexus.com, 13099, RESELLER",
      "appnexus.com, 3703, RESELLER, f5ab79cb980f11d1",
      "axonix.com, 57264, RESELLER",
      "loopme.com, 5679, RESELLER, 6c8d5f95897a5a3b",
      "openx.com, 537149888, RESELLER, 6a698e2ec38604c6",
      "pubmatic.com, 154037, RESELLER, 5d62403b186f2ace",
      "pubmatic.com, 156439, RESELLER, 5d62403b186f2ace",
      "pubmatic.com, 161593, RESELLER, 5d62403b186f2ace",
      "pubnative.net, 1006576, RESELLER, d641df8625486a7b",
      "rubiconproject.com, 11006, RESELLER, 0bfd66d529a55807",
      "rubiconproject.com, 16114, RESELLER, 0bfd66d529a55807",
      "sharethrough.com, OAW69Fon, RESELLER, d53b998a7bd4ecd2",
      "smaato.com, 1100044045, RESELLER, 07bcf65f187117b4",
      "verve.com, 15503, RESELLER, 0c8f5958fc2d6270",
      "video.unrulymedia.com, 2564526802, RESELLER",
      "xad.com, 958, RESELLER, 81cbf0a75a5e0e9a",
      "aps.amazon.com, 31d73d2c-90bc-4f1d-943e-7ad060d80ad4, DIRECT",
      "adagio.io, 1311, RESELLER",
      "rubiconproject.com, 19116, RESELLER, 0bfd66d529a55807",
      "pubmatic.com, 159110, RESELLER, 5d62403b186f2ace",
      "improvedigital.com, 1790, RESELLER",
      "onetag.com, 6b859b96c564fbe, RESELLER",
      "33across.com, 0015a00002oUk4aAAC, RESELLER, bbea06d9c4d2853c",
      "yahoo.com, 57289, RESELLER, e1a5b5b6e3255540",
      "appnexus.com, 10239, RESELLER, f5ab79cb980f11d1",
      "rubiconproject.com, 16414, RESELLER, 0bfd66d529a55807",
      "pubmatic.com, 156423, RESELLER, 5d62403b186f2ace",
      "rubiconproject.com, 21642, RESELLER, 0bfd66d529a55807",
      "conversantmedia.com, 100141, RESELLER",
      "indexexchange.com, 191973, RESELLER, 50b1c356f2c5c8fc",
      "triplelift.com, 12503, RESELLER, 6c33edb13117fd86",
      "smartadserver.com, 3554, RESELLER",
      "lijit.com, 367236, RESELLER, fafdf38b16bf6b2b",
      "pubmatic.com, 137711, RESELLER, 5d62403b186f2ace",
      "pubmatic.com, 156212, RESELLER, 5d62403b186f2ace",
      "rubiconproject.com, 17960, RESELLER, 0bfd66d529a55807",
      "openx.com, 558899373, RESELLER, 6a698e2ec38604c6",
      "e-planning.net, 83c06e81531537f4, RESELLER, c1ba615865ed87b2",
      "pubmatic.com, 156631, RESELLER, 5d62403b186f2ace",
      "openx.com, 541031350, RESELLER, 6a698e2ec38604c6",
      "rubiconproject.com, 12186, RESELLER, 0bfd66d529a55807",
      "video.unrulymedia.com, 5672421953199218469, RESELLER",
      "triplelift.com, 13482, RESELLER, 6c33edb13117fd86",
      "freewheel.tv, 1568036, RESELLER",
      "freewheel.tv, 1568041, RESELLER",
      "admanmedia.com, 2216, RESELLER",
      "connectad.io, 456, RESELLER, 85ac85a30c93b3e5",
      "rubiconproject.com, 26800, RESELLER, 0bfd66d529a55807",
      "amxrtb.com, 105199699, RESELLER",
      "adform.com, 2865, RESELLER",
      "appnexus.com, 12290, RESELLER, f5ab79cb980f11d1",
      "appnexus.com, 9393, RESELLER, f5ab79cb980f11d1",
      "indexexchange.com, 191503, RESELLER, 50b1c356f2c5c8fc",
      "openx.com, 559680764, RESELLER, 6a698e2ec38604c6",
      "rubiconproject.com, 23844, RESELLER, 0bfd66d529a55807",
      "smartadserver.com, 3056, RESELLER, 060d053dcf45cbf3",
      "yahoo.com, 49648, RESELLER",
      "pubmatic.com, 161527, RESELLER, 5d62403b186f2ace",
      "pubmatic.com, 158355, RESELLER, 5d62403b186f2ace",
      "lijit.com, 260380, RESELLER, fafdf38b16bf6b2b",
      "appnexus.com, 11924, RESELLER, f5ab79cb980f11d1",
      "appnexus.com, 11786, RESELLER",
      "lijit.com, 260380, RESELLER",
      "appnexus.com, 12290, RESELLER",
      "rubiconproject.com, 23802, RESELLER, 0bfd66d529a55807",
      "onetag.com, 76bc3f955fb9fc6, DIRECT",
      "video.unrulymedia.com, 586616193, RESELLER",
      "themediagrid.com, PC9SRJ, RESELLER, 35d5010d7789b49d"
    ]
  },
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uid
integer
required

Publisher ID

Response

200 - application/json
results
object
required
success
boolean
required