diff --git a/vendor/bat-native-ads/src/bat/ads/internal/ad_events/ad_notifications/ad_notification_event_clicked.cc b/vendor/bat-native-ads/src/bat/ads/internal/ad_events/ad_notifications/ad_notification_event_clicked.cc index 47adb618ab1e..0a575b654013 100644 --- a/vendor/bat-native-ads/src/bat/ads/internal/ad_events/ad_notifications/ad_notification_event_clicked.cc +++ b/vendor/bat-native-ads/src/bat/ads/internal/ad_events/ad_notifications/ad_notification_event_clicked.cc @@ -9,6 +9,7 @@ #include "bat/ads/confirmation_type.h" #include "bat/ads/internal/ad_events/ad_events.h" #include "bat/ads/internal/ads/ad_notifications/ad_notifications.h" +#include "bat/ads/internal/ads_client_helper.h" #include "bat/ads/internal/ads_history/ads_history.h" #include "bat/ads/internal/logging.h" @@ -26,6 +27,8 @@ void AdEventClicked::FireEvent(const AdNotificationInfo& ad) { AdNotifications::Get()->Remove(ad.uuid); + AdsClientHelper::Get()->CloseNotification(ad.uuid); + LogAdEvent(ad, ConfirmationType::kClicked, [](const Result result) { if (result != Result::SUCCESS) { BLOG(1, "Failed to log ad notification clicked event");