MediaMelon
  • MediaMelon SDK Integration
  • MediaMelon SDK Events
  • MediaMelon Player SDK Integration
    • React Native
      • React Native Video v5.2.0 with Mediamelon SDK
      • React Native Video v6.4.2 with Mediamelon SDK
    • Web SDK
      • VideoJS Web with Mediamelon Analytics
      • VideoJS Web with Google DAI
      • Shaka Player Web v4
      • MediaMelon Web Kaltura Player Plugin Integration Document
      • NexPlayer Web v4
      • THEOPlayer Web
      • JWPlayer Web
      • Radiant Player Web
      • ChromeCast Player
      • HLSJS Player Web
      • HbbTV SDK
      • Comcast PDK 6
      • Bitmovin Web Player
      • HTML5 Player Web
      • Flow Player Web
      • DashJS Player Web
      • Castlabs Player Web
      • Cordova Plugin Toast (Smart TV)
      • Custom Player Web SDK
      • Plyr Player Web with MediaMelon Analytics
      • React Player SDK with IMA
    • Android SDK
      • App Analytics SDK
      • Bitmovin Android v3.73 with Content Provider Metrics
      • Exoplayer v2.13.2 integration with MediaMelon SDK
      • Exoplayer v2.17.1 with Mediamelon SDK
      • Exoplayer v2.12.2 integration with MediaMelon SDK
      • EXOPlayer-Android(V2.14.2) MediaMelon SDK with Google IMA DAI
      • EXOPlayer-Android(V2.17.1) MediaMelon SDK with Google IMA DAI
      • Exoplayer v2.11
      • Exoplayer v2.18.1 with Mediamelon SDK
      • Theoplayer v6.0.0 with Mediamelon SDK
      • Theoplayer v4.12.6 with Mediamelon SDK
      • Theoplayer v7.5.0 with Mediamelon SDK
      • Exoplayer v2.13.3 integration with MediaMelon SDK
      • Kaltura Android Player Integration with Mediamelon SDK
      • Media3 v1.3.0 and ExoPlayer 2.19.1 with MediaMelon SDK
      • Media3 v1.3.1 with MediaMelon SDK
      • MediaMelon Android Media3 v1.1.1 SDK Integration Document
      • Media3Player-Android(V1.3.0) MediaMelon SDK with Google IMA
    • Roku SDK
      • Roku SDK
      • Roku with RAF SDK
      • Roku with IMA SDK
    • iOS SDK
      • AVPlayer (Cocoapods)
      • AVPlayer with Google DAI SDK ( Framework )
      • AVPlayer Quality Of Experience SDK
      • AVPlayer Generic Framework
      • AVPlayer with Google DAI (Cocoapods)
      • Bitmovin iOS v3.44 with Content Provider Metrics
      • THEOPlayer XCFramework
      • THEOplayer (Cocoapods)
      • MediaMelon iOS Kaltura Player Plugin Integration Document
    • tvOS SDK
      • AVPlayer tvOS XCFramework
      • THEOPlayer tvOS XCFramework
    • Toast SDK
    • Custom Player C++ SDK
    • C++ SDK QoE Ads
    • Ad Integrations
      • Google IMA
      • FreeWheel
      • ServerSide.AI
  • SmartSight Analytics
    • Product Features
    • QBR Streaming
  • SmartSight API's
    • API Overview
      • Metric and Dimensions Dictionary
      • General Guidelines
      • Video Experience
      • Ad Experience
      • Smartquery Insights
      • Errors
      • Alerts
    • Use-case dictionary
Powered by GitBook
On this page
  • Percentage of Ad Fill Rate GET
  • Number of Ad Impression GET
  • Number of Ad Play GET
  • Number of Ad Errors GET
  • Number of Ad Block GET
  • Ad Startup Delay GET
  • Percentage of Ad Buffering Ratio GET
  • Exit Before Ad Starts GET
  • Percentage of Ad Buffering Ratio GET
  • Percentage of CTR GET

Was this helpful?

  1. SmartSight API's
  2. API Overview

Ad Experience

PreviousVideo ExperienceNextSmartquery Insights

Last updated 6 months ago

Was this helpful?

This guide will help you fetch metrics and dimensions used to compile Smartsight Ad Experience dashboards.

Percentage of Ad Fill Rate GET

Returns the percentage number of ads served divided by the total number of ad requests that the server makes

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adfillrate,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

If you run this request yourself it will not work, you should replace the <access_token> in this example with your own Keycloak access_token you get by running

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adfillrate": 100.0,
            "player": "tve-web-theo",
            "totalpages": 17
        },
        .
        ..
        ...
        ....,
        {
            "adfillrate": 0.0,
            "player": "svod-ios-avplayer",
            "totalpages": 17
        }
    ]
}

Number of Ad Impression GET

Returns the total number of times an ad is displayed on user's screen, regardless of whether the users interacted with it

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adimpression,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adimpression": 3,
            "player": "tve-web-theo",
            "totalpages": 17
        },
        .
        ..
        ...
        ....,
        {
            "adimpression": 17,
            "player": "svod-ios-avplayer",
            "totalpages": 17
        }
    ]
}

Number of Ad Play GET

Returns total number of times an ad impression was actually seen by users

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adplay,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adplay": 3,
            "player": "tve-web-theo",
            "totalpages": 17
        },
        .
        ..
        ...
        ....,
        {
            "adplay": 17,
            "player": "svod-ios-avplayer",
            "totalpages": 17
        }
    ]
}

Number of Ad Errors GET

Returns total number of times an ad error occurred during an ad's lifecycle

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=aderror,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "aderror": 2,
            "player": "tve-web-theo",
            "totalpages": 17
        },
        .
        ..
        ...
        ....,
        {
            "aderror": 4,
            "player": "svod-ios-avplayer",
            "totalpages": 17
        }
    ]
}

Number of Ad Block GET

Total number of times an ad was blocked

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adblock,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adblock": 1,
            "player": "tve-web-theo",
            "totalpages": 17
        },
        .
        ..
        ...
        ....,
        {
            "adblock": 0,
            "player": "svod-ios-avplayer",
            "totalpages": 17
        }
    ]
}

Ad Startup Delay GET

Average time taken by ads to start playing back

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adlatency'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 1,
    "pagecount": 1,
    "totalrecords": 1,
    "response": [
        {
            "adlatency": 983.6793103448276,
            "viewercount": 465250,
            "totalpages": 1
        }
    ]
}

Percentage of Ad Buffering Ratio GET

Returns percentage of ad viewing time spent in buffering

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adbufferingratio,player,adviewtime&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adbufferingratio": 0.00669494930947873,
            "player": "svod-tvos-avplayer",
            "adviewtime": 0.0,
            "playdur": 6508582.0,
            "totalpages": 17
        },
        .
        ..
        ...
        ....
        {
            "adbufferingratio": 0.0532,
            "player": "svod-ios-avplayer",
            "adviewtime": 0.0,
            "playdur": 18125257.0,
            "totalpages": 17
        }
    ]
}

Exit Before Ad Starts GET

Average time taken by ads to start playing back

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adstartupabandonmentrate'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 1,
    "pagecount": 1,
    "totalrecords": 1,
    "response": [
        {
            "adstartupabandonmentrate": 3.226294427952345,
            "attempts": 490028,
            "failurerate": 3.4618429967267175,
            "totalpages": 1
        }
    ]
}

Percentage of Ad Buffering Ratio GET

Returns percentage of ad viewing time spent in buffering

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adskippercentage,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adskippercentage": 0.8,
            "player": "tve-web-theo",
            "totalpages": 17
        },
        .
        ..
        ...
        ....
        {
            "adskippercentage": 0.1,
            "player": "svod-tvos-avplayer",
            "totalpages": 17
        }
    ]
}

Percentage of CTR GET

Returns percentage of ads that were clicked by the user

curl 'https://smartsight3.mediamelon.com/mm-apis/qbrData/vod/<customer-id>?planlevel=<level>&period=start=1729666800,end=1730271600&metrics=adclickthroughrate,player&agg=1&aggby=player'
-x GET --header 'Authorization: Bearer <access_token>'

Required request path parameters

Required request query parameters

Response

GET 200
{
    "totalcount": 17,
    "pagecount": 17,
    "totalrecords": 17,
    "response": [
        {
            "adclickthroughrate": 0.14415054145215694,
            "player": "tve-android-exoplayer",
            "totalpages": 17
        },
        .
        ..
        ...
        ....
        {
            "adclickthroughrate": 1.15054145215694,
            "player": "tve-tvos-avplayer",
            "totalpages": 17
        }
    ]
}

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

customer-id string

A path parameter in form of a string. This is the unique identifier and you will be able to find this Id on your user profile page.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adfillrate,playerin string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

Fetch Auth Token

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adimpression,playerin string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adplay,playerin string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=aderror,playerin string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adblock,playerin string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adlatencyin string format. This request needs comma-separated metrics to retrieve the rquested data.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adbufferingratio,player,adviewtime in string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adstartupabandonmentratein string format. This request needs comma-separated metrics to retrieve the rquested data.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adskippercentage,player in string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

planlevelstring

A query parameter in form of a string. This is the plan identifier number associated with CustomerID and you will be able to find this plan level using https://smartsight.mediamelon.com/planLevelByCustId/<customer-id>

period string

metricsstring

Combination of query parameters metrics=adclickthroughrate,player in string format. This request needs comma-separated metrics to retrieve the rquested data.

agg string

A query parameter in form of a string to return data by enabling or disabling aggregation (values: 1 or 2).

aggby string

A query parameter in form of a string. The requested data will aggregated by given dimension query parameter.

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

A query parameter in comma-separated string format. It needs to in the format of start date and end date (eg: start=1729666800,end=1730271600) in epoch time. For reference, use this

Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter
Epoch Time converter