-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Labels
OS/DesktopQA/Yesbugfeature/adspriority/P2A bad problem. We might uplift this to the next planned release.A bad problem. We might uplift this to the next planned release.release-notes/exclude
Milestone
Description
Description
NTT view event is triggered in a inactive tab
Steps to reproduce
- Clean profile
- Open 5 NTP
- Open a page in a new tab
- Restart browser
Actual result
View event is triggered in a inactive tab
View confirmation is sent
[399672:399672:1201/174631.051265:VERBOSE3:brave/components/brave_ads/core/internal/ad_units/new_tab_page_ad/new_tab_page_ad_handler.cc:165] Viewed new tab page ad impression with placement id 44ba19fb-52ee-41e7-9394-d0127090b872 and creative instance id f7ceed9a-121a-434f-b35a-278edf3a0e09
[399672:399672:1201/174639.596302:VERBOSE1:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:58] Redeem non-reward confirmation
[399672:399672:1201/174639.596402:VERBOSE1:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:67] Create non-reward confirmation
[399672:399672:1201/174639.596447:VERBOSE6:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:72] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v4/confirmation/95d570a1-33d8-4c28-a742-c383e4dafc35
Content: {"creativeInstanceId":"f7ceed9a-121a-434f-b35a-278edf3a0e09","type":"view"}
Content Type: application/json
Method: kPost
[399672:399672:1201/174639.596468:VERBOSE7:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:73] Headers:
accept: application/json
[399672:399672:1201/174639.810782:VERBOSE6:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:86] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v4/confirmation/95d570a1-33d8-4c28-a742-c383e4dafc35
Response Status Code: 204
Response:
[399672:399672:1201/174639.810885:VERBOSE7:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:87] Headers:
accept-ranges: bytes
access-control-allow-credentials: true
content-security-policy: sandbox
cross-origin-opener-policy: same-origin
cross-origin-resource-policy: same-origin
date: Mon, 01 Dec 2025 16:47:35 GMT
referrer-policy: same-origin
strict-transport-security: max-age=31536000; includeSubDomains; preload
vary: Origin
via: 1.1 varnish
x-cache: MISS
x-cache-hits: 0
x-content-type-options: nosniff
x-frame-options: DENY
x-served-by: cache-bfi-kbfi7400118-BFI
[399672:399672:1201/174639.810989:VERBOSE1:brave/components/brave_ads/core/internal/account/utility/redeem_confirmation/non_reward/redeem_non_reward_confirmation.cc:104] Successfully redeemed non-reward kViewedImpression confirmation for kNewTabPageAd with transaction id 95d570a1-33d8-4c28-a742-c383e4dafc35 and creative instance id f7ceed9a-121a-434f-b35a-278edf3a0e09
[399672:399672:1201/174639.824675:VERBOSE1:brave/components/brave_ads/core/internal/account/confirmations/confirmations.cc:102] Successfully processed kViewedImpression confirmation for kNewTabPageAd with transaction id 95d570a1-33d8-4c28-a742-c383e4dafc35 and creative instance id f7ceed9a-121a-434f-b35a-278edf3a0e09
Expected result
View event is not triggered when NTT is opened in a inactive tab
Reproduces how often
Easily reproduced
Brave version (brave://version info)
| Brave | 1.85.110 Chromium: 143.0.7499.40 (Official Build) (64-bit) |
|---|---|
| Revision | c77031fd1717c6d6a079af3b978de255d84a01fe |
| OS | Linux |
Metadata
Metadata
Assignees
Labels
OS/DesktopQA/Yesbugfeature/adspriority/P2A bad problem. We might uplift this to the next planned release.A bad problem. We might uplift this to the next planned release.release-notes/exclude
Type
Projects
Status
Done