Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix database upgrade paths for iOS #13495

Closed
tmancey opened this issue Jan 12, 2021 · 3 comments · Fixed by brave/brave-core#7567
Closed

Fix database upgrade paths for iOS #13495

tmancey opened this issue Jan 12, 2021 · 3 comments · Fixed by brave/brave-core#7567

Comments

@tmancey
Copy link
Contributor

tmancey commented Jan 12, 2021

Description

Brave Ads are not shown on iOS

Steps to Reproduce

  1. View an ad

Actual result:

Ad is not shown

Expected result:

Ad should be shown

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Version/Channel Information:

  • Can you reproduce this issue with the current release?
  • Can you reproduce this issue with the beta channel?
  • Can you reproduce this issue with the nightly channel?

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

The fix affects the upgrade paths for both desktop and mobile

@tmancey tmancey added bug priority/P2 A bad problem. We might uplift this to the next planned release. QA/Yes feature/ads OS/Desktop labels Jan 12, 2021
@tmancey tmancey self-assigned this Jan 12, 2021
@tmancey tmancey changed the title Fix database upgrade paths for iOS Fix database upgrade paths for iOS - 1.19.x Jan 12, 2021
@tmancey tmancey changed the title Fix database upgrade paths for iOS - 1.19.x Fix database upgrade paths for iOS Jan 12, 2021
@tmancey tmancey added this to the 1.20.x - Nightly milestone Jan 12, 2021
@tmancey tmancey added release-notes/exclude OS/iOS Fixes related to iOS browser functionality and removed OS/Desktop labels Jan 13, 2021
@kjozwiak kjozwiak added OS/Android Fixes related to Android browser functionality OS/Desktop and removed OS/iOS Fixes related to iOS browser functionality labels Jan 26, 2021
@kjozwiak
Copy link
Member

@tmancey assuming this should also be checked on Android correct?

@srirambv
Copy link
Contributor

srirambv commented Jan 27, 2021

Verification passed on OnePlus 6T with Android 10 running 1.19.87 x64 build

  • Verified ad notifications show up
  • Verified clicking on ad notification opens the browser and loads the landing page in a new tab
  • Verified upgrading from 1.17.x / 1.18.x & 1.19.x to 1.19.88 x64 build shows ads as expected
13495.mp4

Verification passed on Samsung Tab A with Android 10 running 1.19.87 x64 build

  • Verified ad notifications show up
  • Verified clicking on ad notification opens the browser and loads the landing page in a new tab
  • Verified upgrading from 1.17.x / 1.18.x & 1.19.x to 1.19.88 x64 build shows ads as expected
13495-Tab.mp4

@kjozwiak
Copy link
Member

kjozwiak commented Jan 28, 2021

Verification PASSED on macOS 11.1 x64 using the following build:

Brave | 1.19.88 Chromium: 88.0.4324.96 (Official Build) (x86_64)
--- | ---
Revision | 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS | macOS Version 11.1 (Build 20C69)

Test Case 1 (ensuring rewards working on 1.19.88 CR: 88.0.4324.96)

  • ensured that both NTP SI/Ad notifications are working and brave://rewards is being updated
  • ensured that connecting a KYC's/Verified account worked without any issues
  • ensured that tipping was working as expected
NTP SI logs
[20811:775:0128/001548.783182:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 5d230797-b219-4846-8955-68f017650a72 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[20811:775:0128/001548.783329:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[20811:775:0128/001548.784824:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
```[20811:775:0128/001730.768940:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[20811:775:0128/001732.770642:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[20811:775:0128/001732.774099:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[20811:775:0128/001732.774158:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[20811:775:0128/001732.774196:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[20811:775:0128/001732.774232:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[20811:775:0128/001732.778730:VERBOSE2:ad_notification_serving.cc(271)] 5 eligible ads before pacing
[20811:775:0128/001732.778793:VERBOSE2:eligible_ads_priority_filter.cc(81)] 5 eligible ads with a priority of 1
[20811:775:0128/001732.778838:VERBOSE2:ad_notification_serving.cc(276)] 5 eligible ads after pacing
[20811:775:0128/001732.778877:VERBOSE1:ad_notification_serving.cc(262)] Found 5 eligible ads
[20811:775:0128/001732.779552:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid 8f966a28-8605-4d82-a0d7-eb4a1f2394a1 in 120 seconds
[20811:775:0128/001732.779669:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 8f966a28-8605-4d82-a0d7-eb4a1f2394a1
  creativeInstanceId: 7f548020-1d9e-445f-9569-510f0ab107c2
  creativeSetId: 10e18661-afcd-44bc-8ed4-6d9771687a40
  campaignId: 8f19a586-122b-4111-ab21-c417f13a7df2
  category: technology & computing-software
  title: Coinsmart.com
  body: Get $30 in BTC to try CoinSmart today. #1 Canadian Exchange.
  targetUrl: https://www.coinsmart.com/bravecrypto/?utm_source=brave&utm_medium=cpc&utm_campaign=brave_sept```

Test Case 2 (upgrading from 1.17.x to 1.19.88 CR: 88.0.4324.96)

Ads Enabled

  • downloaded/installed 1.17.75 CR: 87.0.4280.88 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.17.75 CR: 87.0.4280.88 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[21083:775:0128/002650.694759:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid f081f16d-40c5-4f31-a558-656a96645751 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[21083:775:0128/002650.695091:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[21083:775:0128/002650.698979:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
[21083:775:0128/002850.698660:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[21083:775:0128/002851.700195:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[21083:775:0128/002851.704879:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[21083:775:0128/002851.704938:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[21083:775:0128/002851.704979:VERBOSE1:ad_notification_serving.cc(164)]   crypto-crypto
[21083:775:0128/002851.705015:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[21083:775:0128/002851.706373:VERBOSE1:eligible_ad_notifications.cc(70)] All advertisers have been shown, so round robin
[21083:775:0128/002851.706442:VERBOSE1:client.cc(389)] Resetting seen advertisers
[21083:775:0128/002851.708740:VERBOSE2:ad_notification_serving.cc(271)] 4 eligible ads before pacing
[21083:775:0128/002851.708813:VERBOSE2:eligible_ads_priority_filter.cc(81)] 4 eligible ads with a priority of 1
[21083:775:0128/002851.708856:VERBOSE2:ad_notification_serving.cc(276)] 4 eligible ads after pacing
[21083:775:0128/002851.708896:VERBOSE1:ad_notification_serving.cc(262)] Found 4 eligible ads
[21083:775:0128/002851.709760:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid 67091ce8-0ed8-4722-8fe7-597de0bb8c4c in 120 seconds
[21083:775:0128/002851.709935:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 67091ce8-0ed8-4722-8fe7-597de0bb8c4c
  creativeInstanceId: 448925ea-49c4-4c95-b855-9a2f8931ce3b
  creativeSetId: 13989e23-da60-4745-97bd-a4bb6fd941bb
  campaignId: 4e2bcb48-5438-4eff-bf66-103a0212b484
  category: technology & computing-software
  title: CoinSmart - Simple Crypto
  body: #1 crypto exchange. Get up to $150 for joining.
  targetUrl: https://coinsmart.kickoffpages.com/

Ads Disabled

  • installed 1.17.75 CR: 87.0.4280.88 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[21302:775:0128/003200.122656:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 1035fdf3-7859-43c0-8337-f3c1ed417138 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[21302:775:0128/003200.122792:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[21302:775:0128/003200.124274:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
[21302:775:0128/003306.955709:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[21302:775:0128/003308.957197:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[21302:775:0128/003308.960125:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[21302:775:0128/003308.960174:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[21302:775:0128/003308.960210:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[21302:775:0128/003308.960244:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[21302:775:0128/003308.963053:VERBOSE2:ad_notification_serving.cc(271)] 5 eligible ads before pacing
[21302:775:0128/003308.963106:VERBOSE2:ad_notification_pacing.cc(46)] Pacing ad delivery for creative instance id 448925ea-49c4-4c95-b855-9a2f8931ce3b [Roll(0.713495):0.983904]
[21302:775:0128/003308.963145:VERBOSE2:eligible_ads_priority_filter.cc(81)] 4 eligible ads with a priority of 1
[21302:775:0128/003308.963189:VERBOSE2:ad_notification_serving.cc(276)] 4 eligible ads after pacing
[21302:775:0128/003308.963232:VERBOSE1:ad_notification_serving.cc(262)] Found 4 eligible ads
[21302:775:0128/003308.963914:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid cb212cc9-7eed-4a5e-b204-0882be09e49d in 120 seconds
[21302:775:0128/003308.964028:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: cb212cc9-7eed-4a5e-b204-0882be09e49d
  creativeInstanceId: 7f548020-1d9e-445f-9569-510f0ab107c2
  creativeSetId: 10e18661-afcd-44bc-8ed4-6d9771687a40
  campaignId: 8f19a586-122b-4111-ab21-c417f13a7df2
  category: technology & computing-software
  title: Coinsmart.com
  body: Get $30 in BTC to try CoinSmart today. #1 Canadian Exchange.
  targetUrl: https://www.coinsmart.com/bravecrypto/?utm_source=brave&utm_medium=cpc&utm_campaign=brave_sept

Test Case 3 (upgrading from 1.18.x to 1.19.88 CR: 88.0.4324.96)

Ads Enabled

  • downloaded/installed 1.18.78 CR: 87.0.4280.141 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.18.78 CR: 87.0.4280.141 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[21595:775:0128/004531.969160:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid ef67c7f4-987e-4388-bb92-05fa5560b855 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[21595:775:0128/004531.969305:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b
[21595:775:0128/004531.970736:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
[21595:775:0128/005508.833985:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[21595:775:0128/005653.929934:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[21595:775:0128/005653.933656:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[21595:775:0128/005653.933718:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[21595:775:0128/005653.933757:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[21595:775:0128/005653.933793:VERBOSE1:ad_notification_serving.cc(164)]   crypto-crypto
[21595:775:0128/005653.935055:VERBOSE1:eligible_ad_notifications.cc(70)] All advertisers have been shown, so round robin
[21595:775:0128/005653.935110:VERBOSE1:client.cc(389)] Resetting seen advertisers
[21595:775:0128/005653.937248:VERBOSE2:ad_notification_serving.cc(271)] 4 eligible ads before pacing
[21595:775:0128/005653.937308:VERBOSE2:eligible_ads_priority_filter.cc(81)] 4 eligible ads with a priority of 1
[21595:775:0128/005653.937344:VERBOSE2:ad_notification_serving.cc(276)] 4 eligible ads after pacing
[21595:775:0128/005653.937377:VERBOSE1:ad_notification_serving.cc(262)] Found 4 eligible ads
[21595:775:0128/005653.938183:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid d49c2d27-61be-46a7-a2ea-ec9d27dbe2d8 in 120 seconds
[21595:775:0128/005653.938335:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: d49c2d27-61be-46a7-a2ea-ec9d27dbe2d8
  creativeInstanceId: 448925ea-49c4-4c95-b855-9a2f8931ce3b
  creativeSetId: 13989e23-da60-4745-97bd-a4bb6fd941bb
  campaignId: 4e2bcb48-5438-4eff-bf66-103a0212b484
  category: technology & computing-software
  title: CoinSmart - Simple Crypto
  body: #1 crypto exchange. Get up to $150 for joining.
  targetUrl: https://coinsmart.kickoffpages.com/

Ads Disabled

  • installed 1.18.78 CR: 87.0.4280.141 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[21823:775:0128/010150.186721:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 6972d1e9-d217-4d2b-8125-2a88209cf5fa and creative instance id fc2af2be-baed-4f40-8d7d-ed740d744897
[21823:775:0128/010150.186841:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id fc2af2be-baed-4f40-8d7d-ed740d744897
[21823:775:0128/010150.188753:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
[21823:775:0128/010313.174717:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[21823:775:0128/010318.176580:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[21823:775:0128/010318.180083:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[21823:775:0128/010318.180146:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[21823:775:0128/010318.180186:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[21823:775:0128/010318.180230:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[21823:775:0128/010318.183623:VERBOSE2:ad_notification_serving.cc(271)] 5 eligible ads before pacing
[21823:775:0128/010318.183686:VERBOSE2:eligible_ads_priority_filter.cc(81)] 5 eligible ads with a priority of 1
[21823:775:0128/010318.183733:VERBOSE2:ad_notification_serving.cc(276)] 5 eligible ads after pacing
[21823:775:0128/010318.183773:VERBOSE1:ad_notification_serving.cc(262)] Found 5 eligible ads
[21823:775:0128/010318.184498:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid 095d59ac-4ef3-4cb1-8de8-96d20e05c1aa in 120 seconds
[21823:775:0128/010318.184629:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 095d59ac-4ef3-4cb1-8de8-96d20e05c1aa
  creativeInstanceId: f385d5c8-853d-47fc-a8f9-71e5af1dd6ca
  creativeSetId: 10e18661-afcd-44bc-8ed4-6d9771687a40
  campaignId: 8f19a586-122b-4111-ab21-c417f13a7df2
  category: technology & computing-software
  title: Coinsmart.com
  body: Crypto gets you 10% off on Twitch! Buy BTC at CoinSmart.com
  targetUrl: https://www.coinsmart.com/bravecrypto/?utm_source=brave&utm_medium=cpc&utm_campaign=brave_sept

Test Case 4 (upgrading from 1.19.86 CR: 88.0.4324.96 to 1.19.88 CR: 88.0.4324.96)

Ads Enabled

  • downloaded/installed 1.19.86 CR: 88.0.4324.96 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.19.86 CR: 88.0.4324.96 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[22192:775:0128/012032.268955:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid c7a63294-ddf1-4fa6-82d9-79c653099372 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[22192:775:0128/012032.269195:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[22192:775:0128/012032.270879:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
[22192:775:0128/012315.724939:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[22192:775:0128/012321.731982:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[22192:775:0128/012321.736416:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[22192:775:0128/012321.736476:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[22192:775:0128/012321.736516:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[22192:775:0128/012321.736553:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[22192:775:0128/012321.740390:VERBOSE2:ad_notification_serving.cc(271)] 5 eligible ads before pacing
[22192:775:0128/012321.740445:VERBOSE2:eligible_ads_priority_filter.cc(81)] 5 eligible ads with a priority of 1
[22192:775:0128/012321.740479:VERBOSE2:ad_notification_serving.cc(276)] 5 eligible ads after pacing
[22192:775:0128/012321.740510:VERBOSE1:ad_notification_serving.cc(262)] Found 5 eligible ads
[22192:775:0128/012321.741286:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid 750c3d39-b275-412f-8624-17f8575e07e0 in 120 seconds
[22192:775:0128/012321.741440:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 750c3d39-b275-412f-8624-17f8575e07e0
  creativeInstanceId: 448925ea-49c4-4c95-b855-9a2f8931ce3b
  creativeSetId: 13989e23-da60-4745-97bd-a4bb6fd941bb
  campaignId: 4e2bcb48-5438-4eff-bf66-103a0212b484
  category: technology & computing-software
  title: CoinSmart - Simple Crypto
  body: #1 crypto exchange. Get up to $150 for joining.
  targetUrl: https://coinsmart.kickoffpages.com/

Ads Disabled

  • installed 1.18.78 CR: 87.0.4280.141 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[22423:775:0128/012747.527952:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 072567e3-65b2-4d04-aac3-f90aab39625d and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[22423:775:0128/012747.528132:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[22423:775:0128/012747.529594:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event
Ad notification logs
[22587:775:0128/015946.013860:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[22587:775:0128/015957.022757:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[22587:775:0128/015957.026719:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[22587:775:0128/015957.026781:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[22587:775:0128/015957.026822:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[22587:775:0128/015957.026857:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[22587:775:0128/015957.030488:VERBOSE2:ad_notification_serving.cc(271)] 5 eligible ads before pacing
[22587:775:0128/015957.030551:VERBOSE2:ad_notification_pacing.cc(46)] Pacing ad delivery for creative instance id 448925ea-49c4-4c95-b855-9a2f8931ce3b [Roll(0.717126):0.978816]
[22587:775:0128/015957.030589:VERBOSE2:eligible_ads_priority_filter.cc(81)] 4 eligible ads with a priority of 1
[22587:775:0128/015957.030624:VERBOSE2:ad_notification_serving.cc(276)] 4 eligible ads after pacing
[22587:775:0128/015957.030670:VERBOSE1:ad_notification_serving.cc(262)] Found 4 eligible ads
[22587:775:0128/015957.031350:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid a6f01085-4835-4c5e-b5a8-5f391786f4d3 in 120 seconds
[22587:775:0128/015957.031510:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: a6f01085-4835-4c5e-b5a8-5f391786f4d3
  creativeInstanceId: f385d5c8-853d-47fc-a8f9-71e5af1dd6ca
  creativeSetId: 10e18661-afcd-44bc-8ed4-6d9771687a40
  campaignId: 8f19a586-122b-4111-ab21-c417f13a7df2
  category: technology & computing-software
  title: Coinsmart.com
  body: Crypto gets you 10% off on Twitch! Buy BTC at CoinSmart.com
  targetUrl: https://www.coinsmart.com/bravecrypto/?utm_source=brave&utm_medium=cpc&utm_campaign=brave_sept

Verification passed on


Brave | 1.19.88 Chromium: 88.0.4324.96 (Official Build) (64-bit)
-- | --
Revision | 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS | Windows 10 OS Version 2004 (Build 19041.746)


Case 1: Ads basic flow

Clean profile 1.19.88

  • Ensured Ads are enabled by default when rewards is enabled via BR panel/NTP/Brave Rewards
  • Ensured Estimated pending rewards and Ads received this month stats are displayed correctly after viewing an Ad
  • Ensured Ads history is shown correctly
  • Ensured Estimated pending rewards is shown correctly in NTP widget
  • Ensured that Estimated pending rewards and Ads received this month stats retained after the browser restart
  • Ensured Estimated pending rewards is retained on NTP after browser restart (takes some time to show the value, this is expected discussed with @tmancey)
  • Ensured users are rewarded for viewing NTP SI
Screenshots

image
image
image

Ads logs

[18204:29292:0128/134439.048:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid 8118cf9a-6868-44fd-87b6-607a6b360d35 in 120 seconds
[18204:29292:0128/134439.050:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 8118cf9a-6868-44fd-87b6-607a6b360d35
  creativeInstanceId: d40a18ed-13c4-44cd-b7f4-905a94a36106
  creativeSetId: 5e0743eb-a516-4bcd-8605-f52982a57af3
  campaignId: cc3a515f-cc43-4816-aa93-749c2b942a8f
  category: personal finance
  title: BAT: Mainstream Utility
  body: Brave/BAT: First crypto application with +1M users
[18204:29292:0128/134439.817:VERBOSE1:confirmations.cc(228)] Successfully redeemed unblinded token with confirmation id a84f074a-0499-4838-8b22-a81a372326b9, creative instance id d40a18ed-13c4-44cd-b7f4-905a94a36106 and view
[18204:29292:0128/134439.824:VERBOSE1:confirmations.cc(249)] Added 1 unblinded payment token with an estimated redemption value of 0.01 BAT, you now have 2 unblinded payment tokens

NTP SI Ads Logs

[18204:29292:0128/134353.164:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid cb484b6d-f7af-4270-8ad4-0399c20c5032 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[18204:29292:0128/134353.164:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[18204:29292:0128/134353.193:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event

Tokens redeem

[32040:12084:0128/135508.379:VERBOSE1:account.cc(175)] Successfully redeemed unblinded payment tokens
[32040:12084:0128/135508.387:VERBOSE1:ad_rewards.cc(247)] Reconcile ad rewards

Case 2: Rewards basic flow

Clean profile 1.19.88

  • Ensured users can send one-time tips to verified pubs
  • Ensured users can send recurring tips to verified pubs
  • Ensured one-time tips or recurring tips sent to non-verified pubs are listed in the pending contribution table
  • Verified Auto contribution
  • Ensured users can connect KYC'd uphold wallet and perform AC/ send one-time tips/recurring tips
  • Ensured that transactions are listed in uphold

Case 3: Upgrading from 1.19.86 CR: 88.0.4324.96 to 1.19.88 CR: 88.0.4324.96

Ads Enabled

  • downloaded/installed 1.19.86 CR: 88.0.4324.96 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.19.86 CR: 88.0.4324.96 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
Ad notification logs
[7748:20388:0128/151359.958:VERBOSE1:page_classifier.cc(82)] Classified page as technology & computing-software
[7748:20388:0128/151359.958:VERBOSE1:page_classifier.cc(90)] Winning page classification over time is technology & computing-software
[7748:20388:0128/151359.963:VERBOSE1:conversions.cc(221)] No conversions found for visited URL
[7748:20388:0128/151414.255:VERBOSE1:ads_impl.cc(164)] Browser state changed to idle
[7748:20388:0128/151435.418:VERBOSE1:ads_impl.cc(172)] Browser state changed to unidle
[7748:20388:0128/151435.424:INFO:notification_helper_win.cc(166)] Focus Assist is disabled
[7748:20388:0128/151435.442:INFO:notification_helper_win.cc(203)] Notifications are enabled
[7748:20388:0128/151435.446:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[7748:20388:0128/151435.446:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[7748:20388:0128/151435.453:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[7748:20388:0128/151435.456:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[7748:20388:0128/151435.472:VERBOSE1:ad_notification_serving.cc(179)] No eligible ads found for categories
[7748:20388:0128/151435.474:VERBOSE1:ad_notification_serving.cc(195)] Serve ad for parent categories:
[7748:20388:0128/151435.475:VERBOSE1:ad_notification_serving.cc(197)]   technology & computing
[7748:20388:0128/151435.482:VERBOSE1:ad_notification_serving.cc(197)]   personal finance
[7748:20388:0128/151435.484:VERBOSE1:ad_notification_serving.cc(197)]   home
[7748:20388:0128/151435.493:VERBOSE2:ad_notification_serving.cc(271)] 153 eligible ads before pacing
[7748:20388:0128/151435.494:VERBOSE2:eligible_ads_priority_filter.cc(81)] 74 eligible ads with a priority of 1
[7748:20388:0128/151435.494:VERBOSE3:eligible_ads_priority_filter.cc(89)] 79 ads with a lower priority of 2
[7748:20388:0128/151435.495:VERBOSE2:ad_notification_serving.cc(276)] 74 eligible ads after pacing
[7748:20388:0128/151435.505:VERBOSE1:ad_notification_serving.cc(262)] Found 74 eligible ads
[7748:20388:0128/151435.505:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid 790040d3-1109-4bef-8670-b6dc83fcc644 in 120 seconds
[7748:20388:0128/151435.506:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 790040d3-1109-4bef-8670-b6dc83fcc644
  creativeInstanceId: 37c008b7-930d-4931-ac29-d9632b58e7fd
  creativeSetId: 30673bff-92e2-43c5-ab65-a46d97ec19d7
  campaignId: ce8c3a4b-e21f-4f60-8d39-53ee23820dac
  category: personal finance
  title: BlockFi
  body: Earn 1.5% back in Bitcoin with a Bitcoin Rewards Credit Card
[7748:20388:0128/151436.274:VERBOSE1:confirmations.cc(228)] Successfully redeemed unblinded token with confirmation id 4e5762a1-ed2b-4d6a-8f72-1ff829d53992, creative instance id 37c008b7-930d-4931-ac29-d9632b58e7fd and view
[7748:20388:0128/151436.274:VERBOSE1:confirmations.cc(249)] Added 1 unblinded payment token with an estimated redemption value of 0.025 BAT, you now have 1 unblinded payment tokens
NTP SI Ads logs
[7748:20388:0128/151441.185:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid dda72dff-3bad-4122-9c8f-bff3e0f2b22e and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[7748:20388:0128/151441.185:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[7748:20388:0128/151441.200:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event

Case 4: Upgrading from 1.18.x to 1.19.88 CR: 88.0.4324.96

Ads Enabled

  • downloaded/installed 1.18.78 CR: 87.0.4280.141 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.18.78 CR: 87.0.4280.141 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
Ad notification logs
[30668:9716:0128/154659.498:VERBOSE1:ad_notification_serving.cc(159)] Serve ad for categories:
[30668:9716:0128/154659.498:VERBOSE1:ad_notification_serving.cc(161)]   technology & computing-software
[30668:9716:0128/154659.499:VERBOSE1:ad_notification_serving.cc(161)]   personal finance-personal finance
[30668:9716:0128/154659.499:VERBOSE1:ad_notification_serving.cc(161)]   home-appliances
[30668:9716:0128/154659.501:VERBOSE1:ad_notification_serving.cc(176)] No eligible ads found for categories
[30668:9716:0128/154659.509:VERBOSE1:ad_notification_serving.cc(192)] Serve ad for parent categories:
[30668:9716:0128/154659.510:VERBOSE1:ad_notification_serving.cc(194)]   technology & computing
[30668:9716:0128/154659.510:VERBOSE1:ad_notification_serving.cc(194)]   personal finance
[30668:9716:0128/154659.510:VERBOSE1:ad_notification_serving.cc(194)]   home
[30668:9716:0128/154659.519:VERBOSE2:ad_notification_serving.cc(268)] 153 eligible ads before pacing
[30668:9716:0128/154659.520:VERBOSE2:eligible_ads_priority_filter.cc(81)] 74 eligible ads with a priority of 1
[30668:9716:0128/154659.525:VERBOSE3:eligible_ads_priority_filter.cc(89)] 79 ads with a lower priority of 2
[30668:9716:0128/154659.525:VERBOSE2:ad_notification_serving.cc(273)] 74 eligible ads after pacing
[30668:9716:0128/154659.526:VERBOSE1:ad_notification_serving.cc(259)] Found 74 eligible ads
[30668:9716:0128/154659.526:VERBOSE1:ads_service_impl.cc(1739)] Timeout ad notification with uuid 85a22c62-62de-41b2-bba9-afe5b64a053d in 120 seconds
[30668:9716:0128/154659.526:VERBOSE1:ad_notification_serving.cc(95)] Ad notification delivered:
  uuid: 85a22c62-62de-41b2-bba9-afe5b64a053d
  creativeInstanceId: 36b1b454-fab8-4468-8a91-d1b905de4317
  creativeSetId: 5e0743eb-a516-4bcd-8605-f52982a57af3
  campaignId: cc3a515f-cc43-4816-aa93-749c2b942a8f
  category: personal finance
  title: BAT: First Private Ad Network
  body: Serving ads from some of the industry's biggest brands.
  targetUrl: https://basicattentiontoken.org/#ad-network
[30668:9716:0128/154700.294:VERBOSE1:redeem_unblinded_token.cc(339)] Added 1 unblinded payment token with an estimated redemption value of 0.01 BAT, you now have 2 unblinded payment tokens
[30668:9716:0128/154700.301:VERBOSE1:ads_impl.cc(512)] Successfully redeemed unblinded token with confirmation id 944262e0-596f-43a2-849f-e126053a1b3d, creative instance id 36b1b454-fab8-4468-8a91-d1b905de4317 and view
NTP SI Ads logs
[30668:9716:0128/154625.564:VERBOSE3:new_tab_page_ad_event_viewed.cc(78)] Viewed new tab page ad with uuid 38e611d7-8f3e-4efc-a1a9-b829f9dd7c19 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[30668:9716:0128/154625.564:VERBOSE1:confirmations.cc(91)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[30668:9716:0128/154625.565:VERBOSE1:redeem_unblinded_token.cc(66)] Redeem token
[30668:9716:0128/154625.581:VERBOSE6:new_tab_page_ad_event_viewed.cc(88)] Successfully logged new tab page ad viewed event

Ads Disabled

  • installed 1.18.78 CR: 87.0.4280.141 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
Ad Notification logs
[15092:32596:0128/160632.565:VERBOSE1:ad_notification_serving.cc(162)] Serve ad for categories:
[15092:32596:0128/160632.566:VERBOSE1:ad_notification_serving.cc(164)]   technology & computing-software
[15092:32596:0128/160632.571:VERBOSE1:ad_notification_serving.cc(164)]   personal finance-personal finance
[15092:32596:0128/160632.576:VERBOSE1:ad_notification_serving.cc(164)]   home-appliances
[15092:32596:0128/160632.584:VERBOSE1:ad_notification_serving.cc(179)] No eligible ads found for categories
[15092:32596:0128/160632.584:VERBOSE1:ad_notification_serving.cc(195)] Serve ad for parent categories:
[15092:32596:0128/160632.584:VERBOSE1:ad_notification_serving.cc(197)]   technology & computing
[15092:32596:0128/160632.585:VERBOSE1:ad_notification_serving.cc(197)]   personal finance
[15092:32596:0128/160632.586:VERBOSE1:ad_notification_serving.cc(197)]   home
[15092:32596:0128/160632.597:VERBOSE2:ad_notification_serving.cc(271)] 153 eligible ads before pacing
[15092:32596:0128/160632.598:VERBOSE2:eligible_ads_priority_filter.cc(81)] 74 eligible ads with a priority of 1
[15092:32596:0128/160632.598:VERBOSE3:eligible_ads_priority_filter.cc(89)] 79 ads with a lower priority of 2
[15092:32596:0128/160632.598:VERBOSE2:ad_notification_serving.cc(276)] 74 eligible ads after pacing
[15092:32596:0128/160632.599:VERBOSE1:ad_notification_serving.cc(262)] Found 74 eligible ads
[15092:32596:0128/160632.599:VERBOSE1:ads_service_impl.cc(1743)] Timeout ad notification with uuid cb2c09f1-82a1-4909-a208-d9e2abbfffe6 in 120 seconds
[15092:32596:0128/160632.600:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: cb2c09f1-82a1-4909-a208-d9e2abbfffe6
  creativeInstanceId: c772a152-5d40-4b59-9ffa-2ef368900eeb
  creativeSetId: 5e0743eb-a516-4bcd-8605-f52982a57af3
  campaignId: cc3a515f-cc43-4816-aa93-749c2b942a8f
  category: technology & computing
  title: BAT and Advertising
  body: 2.5K+ campaigns have served to +190 countries. Learn more
  targetUrl: https://basicattentiontoken.org/#ad-network?learnmore=campaigns
[15092:32596:0128/160633.376:VERBOSE1:confirmations.cc(228)] Successfully redeemed unblinded token with confirmation id 48946d26-e19b-465d-bb77-4df84e1898e2, creative instance id c772a152-5d40-4b59-9ffa-2ef368900eeb and view
[15092:32596:0128/160633.383:VERBOSE1:confirmations.cc(249)] Added 1 unblinded payment token with an estimated redemption value of 0.01 BAT, you now have 2 unblinded payment tokens
NTP SI Ads logs
[15092:32596:0128/160558.509:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 0293aef8-b54d-4b91-9acc-3a462d262ae4 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[15092:32596:0128/160558.509:VERBOSE1:confirmations.cc(94)] Confirming view ad for creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[15092:32596:0128/160558.513:VERBOSE1:redeem_unblinded_token.cc(49)] Redeem unblinded token
[15092:32596:0128/160558.526:VERBOSE6:new_tab_page_ad_event_viewed.cc(35)] Successfully logged new tab page ad viewed event

Verification passed on

Brave 1.19.88 Chromium: 88.0.4324.96 (Official Build) (64-bit)
Revision 68dba2d8a0b149a1d3afac56fa74648032bcf46b-refs/branch-heads/4324@{#1784}
OS Ubuntu 18.04 LTS

Test Case 1 (ensuring rewards working on 1.19.88 CR: 88.0.4324.96)

  • ensured that both NTP SI/Ad notifications are working and brave://rewards is being updated
  • ensured that connecting a KYC's/Verified account worked without any issues
  • ensured that tipping was working as expected
NTP SI logs
[5396:5396:0128/151046.594600:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 2f32fecc-a15d-4179-a536-15fc16607c59 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[5396:5396:0128/151047.147075:VERBOSE1:confirmations.cc(228)] Successfully redeemed unblinded token with confirmation id cd70633d-deea-497b-bea9-19c581f215f2, creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4 and view
[5396:5396:0128/151047.147413:VERBOSE1:confirmations.cc(249)] Added 1 unblinded payment token with an estimated redemption value of 0.01 BAT, you now have 1 unblinded payment tokens
Ad notification logs
[5396:5396:0128/151235.346558:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 25d17372-0415-4043-9435-7fead9f0fead
  creativeInstanceId: f67f71aa-6e08-4c75-b303-522a4468a5f7
  creativeSetId: dce1b0d8-cf10-410e-936f-96b2a0b84e00
  campaignId: 028af44e-dca7-4f50-97b0-31b2aa8d0bcc
  category: untargeted
  title: Nexo's Earn on Crypto
  body: Get 8% APY on your crypto assets, paid out daily.
[5396:5396:0128/151235.913238:VERBOSE1:confirmations.cc(249)] Added 1 unblinded payment token with an estimated redemption value of 0.025 BAT, you now have 2 unblinded payment tokens

Test Case 2 (upgrading from 1.17.x to 1.19.88 CR: 88.0.4324.96)

Ads Enabled

  • downloaded/installed 1.17.75 CR: 87.0.4280.88 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.17.75 CR: 87.0.4280.88 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[10193:10193:0128/153430.963480:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 0c5c73b2-2df6-40c2-acdb-a874c30fbfd0 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
[10193:10193:0128/153431.536801:VERBOSE1:confirmations.cc(228)] Successfully redeemed unblinded token with confirmation id ec966b3e-4079-4f3e-acbc-9c180b3a292e, creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4 and view
[10193:10193:0128/153431.537061:VERBOSE1:confirmations.cc(249)] Added 1 unblinded payment token with an estimated redemption value of 0.01 BAT, you now have 4 unblinded payment tokens
Ad notification logs
[10193:10193:0128/153837.871290:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 640a20f6-6c7b-4906-b322-997649c71f52
  creativeInstanceId: 9867a588-d9f8-4c03-a5db-9434184b018c
  creativeSetId: 46fa3850-f600-4d3a-a46e-b8cb6653bcd8
  campaignId: d4a1c3ed-b1aa-46b5-b8bf-e2cc34d6af9d
  category: untargeted
  title: Tired of Gmail spying on you?
  body: Try ProtonMail, the secure email that respects your privacy.
  targetUrl: https://go.getproton.me/aff_c?offer_id=15&aff_id=1397
[10193:10193:0128/153837.876785:VERBOSE3:ad_notification_event_viewed.cc(24)] Viewed ad notification with uuid 640a20f6-6c7b-4906-b322-997649c71f52 and creative instance id 9867a588-d9f8-4c03-a5db-9434184b018c

Ads Disabled

  • installed 1.17.75 CR: 87.0.4280.88 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[12364:12364:0128/154331.247183:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 425b80ec-98fd-4751-acec-647074dd6d5c and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
Ad notification logs
[12364:12364:0128/154511.919403:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 7bddfd51-dc5f-424b-867a-b276f628c389
  creativeInstanceId: 84fcbc27-300d-4d10-a98c-367fcb1896d8
  creativeSetId: dce1b0d8-cf10-410e-936f-96b2a0b84e00
  campaignId: 028af44e-dca7-4f50-97b0-31b2aa8d0bcc
  category: untargeted
  title: Earn on Crypto with Nexo
  body: Earn up to 8% Interest on Bitcoin & Ethereum.

Test Case 3 (upgrading from 1.18.x to 1.19.88 CR: 88.0.4324.96)

Ads Enabled

  • downloaded/installed 1.18.78 CR: 87.0.4280.141 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.18.78 CR: 87.0.4280.141 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[12806:12806:0128/154725.148726:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid ad1649b2-3306-4d64-bb2f-65eae26b05ee and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4
Ad notification logs
[12806:12806:0128/155928.938968:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 8a52434d-62fa-478f-a528-3f18c30f1be4
  creativeInstanceId: a5a4333d-4e9d-4d1b-9504-0184e626efa6
  creativeSetId: dce1b0d8-cf10-410e-936f-96b2a0b84e00
  campaignId: 028af44e-dca7-4f50-97b0-31b2aa8d0bcc
  category: untargeted
  title: Save with Nexo

Ads Disabled

  • installed 1.18.78 CR: 87.0.4280.141 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[13277:13277:0128/160104.811481:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 0af29c1c-2685-4d97-a11e-5e5ada7e6897 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4

Ad notification logs
[13277:13277:0128/160213.761573:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: b18e8a91-c05f-4547-992c-5e1fa843cf6e
  creativeInstanceId: abae02bb-001d-4211-8943-d8c01e3ab2c1
  creativeSetId: dce1b0d8-cf10-410e-936f-96b2a0b84e00
  campaignId: 028af44e-dca7-4f50-97b0-31b2aa8d0bcc
  category: untargeted
  title: Nexo’s Savings Account
  body: Earn up to 8% APY with compounding interest, paid out daily.

Test Case 4 (upgrading from 1.19.86 CR: 88.0.4324.96 to 1.19.88 CR: 88.0.4324.96)

Ads Enabled

  • downloaded/installed 1.19.86 CR: 88.0.4324.96 and enabled ads via brave://rewards
  • viewed both a NTP SI & ad notification and ensured that Estimated pending rewards, Ads received this month and 7-day Ads History were being updated
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that the data from 1.19.86 CR: 88.0.4324.96 was still present
    • Estimated pending rewards, Ads received this month and 7-day Ads History
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated
NTP SI logs
[13710:13710:0128/160414.974327:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 641dad0e-426f-463b-9a2d-b7e4cde84212 and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4

Ad notification logs
[13710:13710:0128/160600.964316:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: fb18d611-9054-4c37-8aa8-cc97e93693e9
  creativeInstanceId: 15e1e052-e0db-4629-a4ce-1aeaab6e92f1
  creativeSetId: dce1b0d8-cf10-410e-936f-96b2a0b84e00
  campaignId: 028af44e-dca7-4f50-97b0-31b2aa8d0bcc
  category: untargeted
  title: Save with Nexo
  body: Up to 8% APY on BTC & ETH, with daily pay outs.

Ads Disabled

  • installed 1.18.78 CR: 87.0.4280.141 and disabled ads via brave://rewards
  • Upgraded to 1.19.88 CR: 88.0.4324.96 and launched Brave
  • ensured that ads were still disabled via brave://rewards
  • enabled ads via brave://rewards
  • ensured that viewing a NTP SI ad was working and brave://rewards was being updated
  • ensured that viewing an ad notification was working and brave://rewards was being updated

Encountered #13815

NTP SI logs

Was not rewarded for NTP SI

[7494:7494:0128/151803.807719:INFO:creative_new_tab_page_ads_database_table.cc(426)] Failed to get creative new tab page ad
[7494:7494:0128/151803.808073:VERBOSE1:new_tab_page_ad.cc(77)] Failed to fire new tab page ad event for wallpaper id

Issue was fixed after browser restart

[14159:14159:0128/160959.141510:VERBOSE3:new_tab_page_ad_event_viewed.cc(26)] Viewed new tab page ad with uuid 76b82841-9786-4ed8-bfdc-ea0bddef1cdc and creative instance id ae0843a5-2859-45ed-be26-b91bd08420b4

Ad notification logs

Was unable to view ads

[7494:7494:0128/152037.687266:VERBOSE1:ad_notification_serving.cc(242)] No eligible ads found for untargeted category
[7494:7494:0128/152037.687338:VERBOSE1:ad_notification_serving.cc(243)] Ad notification not served: No eligible ads found

Issue was fixed after browser restart

[14159:14159:0128/161126.889501:VERBOSE1:ad_notification_serving.cc(98)] Ad notification delivered:
  uuid: 74e5e773-5f53-49a3-b135-ee32de5d2fa6
  creativeInstanceId: e5a7f7d5-b93d-443e-ab07-21fcf096bb83
  creativeSetId: dce1b0d8-cf10-410e-936f-96b2a0b84e00
  campaignId: 028af44e-dca7-4f50-97b0-31b2aa8d0bcc
  category: untargeted
  title: Nexo 12% Fiat Savings Account
  body: Enjoy up to 12% APY on your USD, EUR and GBP with Nexo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants