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

url = "https://api.tagdeliver.com/v1/report/insight/diagnostics/{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/insight/diagnostics/{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/insight/diagnostics/{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/insight/diagnostics/{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/insight/diagnostics/{uid}")
.header("Authorization", "Bearer <token>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.tagdeliver.com/v1/report/insight/diagnostics/{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": {
    "cmp_error_rate": 0.000012248597535582175,
    "cmp_rejection_rate": 0.0007226761063681238,
    "heavy_ad_intervention": 0.008883808374338501,
    "mobile_ad_density": 0.057,
    "tag_latency": 2541.999829099,
    "tag_error_rate": 0.014790873642187355,
    "viewability": 0.5244113080657661,
    "cmp_stub_status": "Found",
    "direct": 0.692101487343152,
    "expired_integrations": null,
    "ads_txt_issues": 2,
    "traffic_trend": "In decline"
  },
  "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

Response

200 - application/json
results
object
required
success
boolean
required