Handles one native event for an ad: the event name and its payload.
typedef CompanionAdEventHandler = void Function(String event, Map? args);