Skip to main content
GET
/
v1
/
report
/
insight
/
benchmarking
/
cmp
/report/insight/benchmarking/cmp
curl --request GET \
  --url https://api.tagdeliver.com/v1/report/insight/benchmarking/cmp \
  --header 'Authorization: Bearer <token>'
{
  "results": {
    "data": {
      "cmp_not_found": {
        "publisher": 952,
        "cohort": 21936,
        "network": 1093504
      },
      "consent_denied": {
        "publisher": 1,
        "cohort": 308,
        "network": 1813
      },
      "consent_given": {
        "publisher": 16781069,
        "cohort": 6914121,
        "network": 2006403
      }
    }
  },
  "success": true
}

Authorizations

Authorization
string
header
required

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

Query Parameters

uid
integer
required

Publisher ID

range
enum<string>

Date range. All ranges exclude today and run up to yesterday

Available options:
custom,
all_time,
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,
yesterday
start
string<date>

Start date when range=custom

end
string<date>

End date when range=custom

environment
enum<string>
default:all

Environment or platform to report from

Available options:
all,
app,
web
exclude_pubs
string

Excludes publisher data from the Network and Cohort for users organisation

Response

200 - application/json
results
object
required
success
boolean
required