The callback type to handle an event occurring for an Ad.
typedef AdEventCallback = void Function(Ad ad);