Ad Experience
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
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 Fetch Auth Token
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=adfillrate,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.
Response
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
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=adimpression,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.
Response
Number of Ad Play GET
Returns total number of times an ad impression was actually seen by users
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=adplay,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.
Response
Number of Ad Errors GET
Returns total number of times an ad error occurred during an ad's lifecycle
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=aderror,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.
Response
Number of Ad Block GET
Total number of times an ad was blocked
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=adblock,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.
Response
Ad Startup Delay GET
Average time taken by ads to start playing back
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=adlatency
in string format. This request needs comma-separated metrics to retrieve the rquested data.
Response
Percentage of Ad Buffering Ratio GET
Returns percentage of ad viewing time spent in buffering
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
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.
Response
Exit Before Ad Starts GET
Average time taken by ads to start playing back
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
Combination of query parameters metrics=adstartupabandonmentrate
in string format. This request needs comma-separated metrics to retrieve the rquested data.
Response
Percentage of Ad Buffering Ratio GET
Returns percentage of ad viewing time spent in buffering
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
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.
Response
Percentage of CTR GET
Returns percentage of ads that were clicked by the user
Required request path parameters
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.
Required request query parameters
planlevel
string
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
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
metrics
string
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.
Response
Last updated