Skip to main content

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​

AttributeTypeRequiredDescription
enabledBooleanYesEnable the plugin (Defaults to false if no value is given.)
appIdStringYesUnique ID assigned to the player/site and configured by product provided by Nielsen
initializationMap<String: String>NoThe initialization parameters of the Nielsen SDK.
metadataMap<String: String>NoThe 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)