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?)
}
@protocol AATStatisticsDelegate
/// Notifies that an ad space has been counted.
/// \param placement the placement that counted the ad space
- (void)AATKitCountedAdSpaceWithPlacement:(id <AATPlacement> _Nullable)placement;
/// Notifies that a request has been counted for a given network.
/// \param placement the placement that counted the request
/// \param network Network for which the request has been counted.
- (void)AATKitCountedRequestWithPlacement:(id <AATPlacement> _Nullable)placement for:(enum AATAdNetwork)network;
/// Notifies that a response has been counted for a given network.
/// \param placement the placement that counted the response
/// \param network Network for which the response has been counted.
- (void)AATKitCountedResponseWithPlacement:(id <AATPlacement> _Nullable)placement for:(enum AATAdNetwork)network;
/// Notifies that an impression has been counted for a given network.
/// \param placement the placement that counted the impression
/// \param network Network for which the impression has been counted.
- (void)AATKitCountedImpressionWithPlacement:(id <AATPlacement> _Nullable)placement for:(enum AATAdNetwork)network;
/// Notifies that a viewable impression has been counted for a given network.
/// \param placement the placement that counted the viewable impression
/// \param network Network for which the viewable impression has been counted.
- (void)AATKitCountedVImpressionWithPlacement:(id <AATPlacement> _Nullable)placement for:(enum AATAdNetwork)network;
/// Notifies that a click has been counted for a given network.
/// \param placement the placement that counted the click
/// \param network Network for which the click has been counted.
- (void)AATKitCountedClickWithPlacement:(id <AATPlacement> _Nullable)placement for:(enum AATAdNetwork)network;
/// Notifies that a direct deal impression has been counted for a given network.
/// \param placement the placement that counted the direct deal impression
/// \param network Network for which the direct deal impression has been counted.
- (void)AATKitCountedDirectDealImpressionWithPlacement:(id <AATPlacement> _Nullable)placement for:(enum AATAdNetwork)network;
/// Notifies that a mediation cycle has been counted.
/// \param placement the placement that counted the mediation cycle
- (void)AATKitCountedMediationCycleWithPlacement:(id <AATPlacement> _Nullable)placement;
@end
Last updated