Nielsen DCR & DTVR
Nielsen Digital Content Ratings (DCR) and Digital TV Ratings (DTVR) are both measurement systems developed by Nielsen to provide insights into audience behavior and engagement across digital media.
Configuration
| Attribute | Type | Required | Description |
|---|---|---|---|
| enabled | Boolean | Yes | Enable the plugin (Defaults to false if no value is given.) |
| appId | String | Yes | Unique ID assigned to the player/site and configured by product provided by Nielsen |
| initialization | Map<String: String> | No | The initialization parameters of the Nielsen SDK. |
| metadata | Map<String: String> | No | The metadata to be sent to the Nielsen. |
Project Gradle
repositories {
maven {
setUrl("https://raw.githubusercontent.com/NielsenDigitalSDK/nielsenappsdk-android/master/")
}
}
Gradle dependencies
dependencies {
implementation 'com.nielsenappsdk.global:ad:9.1.0.0'
}
val luraConfiguration = LuraConfiguration(
plugins = LuraPluginsConfigurations(
nielsen = NielsenConfiguration(
enabled = true,
appId = "APP_ID_PROVIDED_BY_NIELSEN",
initialization = mapOf("Key" to "Value")
metadata = mapOf("Key" to "Value"),
)
)
)
playerView = findViewById(R.id.lura_player_view)
player = LuraPlayer(context = this, playerView = playerView)
player.setConfig(luraConfiguration)