AATStatisticsDelegate

@objc public protocol AATStatisticsDelegate: AnyObject {
    /// Notifies that an ad space has been counted.
    /// - Parameter placement: the placement that counted the ad space
    func AATKitCountedAdSpace(placement: AATPlacement?)

    /// Notifies that a request has been counted for a given network.
    /// - Parameter placement: the placement that counted the request
    /// - Parameter network: Network for which the request has been counted.
    func AATKitCountedRequest(placement: AATPlacement?, for network: AATAdNetwork)

    /// Notifies that a response has been counted for a given network.
    /// - Parameter placement: the placement that counted the response
    /// - Parameter network: Network for which the response has been counted.
    func AATKitCountedResponse(placement: AATPlacement?, for network: AATAdNetwork)

    /// Notifies that an impression has been counted for a given network.
    /// - Parameter placement: the placement that counted the impression
    /// - Parameter network: Network for which the impression has been counted.
    func AATKitCountedImpression(placement: AATPlacement?, for network: AATAdNetwork)

    /// Notifies that a viewable impression has been counted for a given network.
    /// - Parameter placement: the placement that counted the viewable impression
    /// - Parameter network: Network for which the viewable impression has been counted.
    func AATKitCountedVImpression(placement: AATPlacement?, for network: AATAdNetwork)

    /// Notifies that a click has been counted for a given network.
    /// - Parameter placement: the placement that counted the click
    /// - Parameter network: Network for which the click has been counted.
    func AATKitCountedClick(placement: AATPlacement?, for network: AATAdNetwork)

    /// Notifies that a direct deal impression has been counted for a given network.
    /// - Parameter placement: the placement that counted the direct deal impression
    /// - Parameter network: Network for which the direct deal impression has been counted.
    func AATKitCountedDirectDealImpression(placement: AATPlacement?, for network: AATAdNetwork)

    /// Notifies that a mediation cycle has been counted.
    /// - Parameter placement: the placement that counted the mediation cycle
    func AATKitCountedMediationCycle(placement: AATPlacement?)
}

Last updated