StatisticsListener

/**
 * Notifies about placement reporting events, like counted adspace, request etc.
 */
interface StatisticsListener {
    /**
     * Notifies that an adspace has been counted.
     */
    fun countedAdSpace()
    
    /**
     * Notifies than an mediation cycle has been counted.
     */
    fun countedMediationCycle()
    
    /**
     * Notifies that an request has been counted for a given network.
     *
     * @param network Network for which the request has been counted.
     */
    fun countedRequest(network: AdNetwork)
    
    /**
     * Notifies that an response has been counted for a given network.
     *
     * @param network Network for which the response has been counted.
     */
    fun countedResponse(network: AdNetwork)
    
    /**
     * Notifies that an impression has been counted for a given network.
     *
     * @param network Network for which the impression has been counted.
     */
    fun countedImpression(network: AdNetwork)
    
    /**
     * Notifies that an viewable impression has been counted for a given network.
     *
     * @param network Network for which the viewable impression has been counted.
     */
    fun countedVimpression(network: AdNetwork)
    
    /**
     * Notifies that an direct deal impression has been counted for a given network.
     *
     * @param network Network for which the direct deal impression has been counted.
     */
    fun countedDirectDealImpression(network: AdNetwork)
    
    /**
     * Notifies that an click has been counted for a given network.
     *
     * @param network Network for which the click has been counted.
     */
    fun countedClick(network: AdNetwork)
}

Last updated