RTBNativeAd

class RTBNativeAd internal constructor(
    /**
     * Native ad title
     */
    val title: String?,
    /**
     * Native ad call to action text
     */
    val callToAction: String?,
    /**
     * Native ad body text
     */
    val body: String?,
    /**
     * Native ad icon url
     */
    val iconUrl: String?,
    /**
     * Native ad main image url
     */
    val imageUrl: String?,
    /**
     * Native ad rating
     */
    val rating: Int?,
    /**
     * Native ad sponsered text
     */
    val sponsered: String?
) {

    var listener: RTBNativeAdInteractionDelegate? = null

    fun trackImpression(view: View)

}

Last updated