brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.84k stars 2.33k forks source link

Brave Ads crashes if a user enables `ShouldAlwaysTriggerBraveNewTabPageAdEvents` feature and views a new tab page ad #31780

Closed tmancey closed 1 year ago

tmancey commented 1 year ago

Description

Brave Ads crashes if a user enables ShouldAlwaysTriggerBraveNewTabPageAdEvents feature and subsequently views a new tab page ad.

[ 00 ] base::ImmediateCrash() ( immediate_crash.h:146 )
[ 01 ] logging::CheckFailure() ( check.h:184 )
[ 02 ] brave_ads::NewTabPageAdHandler::MaybeServe(base::OnceCallback<void (absl::optional<brave_ads::NewTabPageAdInfo> const&)>) ( new_tab_page_ad_handler.cc:67 )
[ 03 ] bat_ads::mojom::BatAdsStubDispatch::AcceptWithResponder(bat_ads::mojom::BatAds*, mojo::Message*, std::__Cr::unique_ptr<mojo::MessageReceiverWithStatus, std::__Cr::default_delete<mojo::MessageReceiverWithStatus>>) ( bat_ads.mojom.cc:16883 )
[ 04 ] mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) ( interface_endpoint_client.cc:970 )
[ 05 ] mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept(mojo::Message*) ( interface_endpoint_client.cc:363 )
[ 06 ] mojo::MessageDispatcher::Accept(mojo::Message*) ( message_dispatcher.cc:48 )
[ 07 ] mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) ( interface_endpoint_client.cc:701 )
[ 08 ] mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) ( multiplex_router.cc:1096 )
[ 09 ] mojo::internal::MultiplexRouter::ProcessTasks(mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) ( multiplex_router.cc:925 )
[ 10 ] mojo::internal::MultiplexRouter::LockAndCallProcessTasks() ( multiplex_router.cc:1124 )
[ 11 ] base::TaskAnnotator::RunTaskImpl(base::PendingTask&) ( callback.h:152 )
[ 12 ] void base::TaskAnnotator::RunTask<base::internal::TaskTracker::RunTaskImpl(base::internal::Task&, base::TaskTraits const&, base::internal::TaskSource*, base::SequenceToken const&)::$_0>(perfetto::StaticString, base::PendingTask&, base::internal::TaskTracker::RunTaskImpl(base::internal::Task&, base::TaskTraits const&, base::internal::TaskSource*, base::SequenceToken const&)::$_0&&) ( task_annotator.h:88 )
[ 13 ] base::internal::TaskTracker::RunTaskImpl(base::internal::Task&, base::TaskTraits const&, base::internal::TaskSource*, base::SequenceToken const&) ( task_tracker.cc:643 )
[ 14 ] base::internal::TaskTracker::RunSkipOnShutdown(base::internal::Task&, base::TaskTraits const&, base::internal::TaskSource*, base::SequenceToken const&) ( task_tracker.cc:628 )
[ 15 ] base::internal::TaskTracker::RunTask(base::internal::Task, base::internal::TaskSource*, base::TaskTraits const&) ( task_tracker.cc:658 )
[ 16 ] base::internal::TaskTracker::RunAndPopNextTask(base::internal::RegisteredTaskSource) ( task_tracker.cc:400 )
[ 17 ] base::internal::WorkerThread::RunWorker() ( worker_thread.cc:480 )
[ 18 ] base::internal::WorkerThread::RunDedicatedWorker() ( worker_thread.cc:376 )
[ 19 ] base::internal::WorkerThread::ThreadMain() ( worker_thread.cc:342 )
[ 20 ] base::(anonymous namespace)::ThreadFunc(void*) ( platform_thread_posix.cc:101 )
[ 21 ] 0x7f8229a8f18a
[ 22 ] 0x7f8229a8eea0
[ 23 ] 0x7f8229a8eea0
[ 24 ] 0x7f8229b1dbd0

Steps to Reproduce

  1. Enable brave://flags/#brave-ads-should-always-trigger-new-tab-page-ad-events (disabled by default)
  2. Quit the browser
  3. Serve a new tab page ad

Actual result:

Crash

Expected result:

Should not crash

Reproduces how often:

Easily reproduced

Brave version (brave://version info)

Version/Channel Information:

Other Additional Information:

Miscellaneous Information:

This flag is disabled by default.

kjozwiak commented 1 year ago

The above requires 1.57.26 or higher for 1.57.x verification 👍

btlechowski commented 1 year ago

Verification passed on

Brave 1.57.27 Chromium: 115.0.5790.114 (Official Build) beta (64-bit)
Revision 18977fb43f693d5a8deeb48bd1cfa52651d3f73e
OS Ubuntu 18.04 LTS

Verified opt-out NTP-SI view confirmation was successfully redeemed:

[9037:9037:0728/140149.709421:VERBOSE3:new_tab_page_ad_handler.cc(165)] Served new tab page ad with placement id b0f27ce6-2ce9-4643-81d4-a4d0320e2f6d and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140149.710987:VERBOSE9:client_state_manager.cc(476)] Saving client state
[9037:9037:0728/140149.712642:VERBOSE2:tab_manager.cc(212)] Tab id 2012586341 did change
[9037:9037:0728/140149.734285:VERBOSE9:client_state_manager.cc(485)] Successfully saved client state
[9037:9037:0728/140149.761715:VERBOSE3:new_tab_page_ad_handler.cc(174)] Viewed new tab page ad with placement id b0f27ce6-2ce9-4643-81d4-a4d0320e2f6d and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140149.774562:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and view valued at 0
[9037:9037:0728/140149.780853:VERBOSE1:confirmations.cc(186)] Confirming opted-out view for new_tab_page_ad with transaction id 1780c378-ec7a-4a2b-87f7-820c4010e461 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140149.795740:VERBOSE1:redeem_opted_out_confirmation.cc(57)] Redeem opted-out confirmation
[9037:9037:0728/140149.807858:VERBOSE1:redeem_opted_out_confirmation.cc(66)] CreateConfirmation
[9037:9037:0728/140149.808616:VERBOSE2:redeem_opted_out_confirmation.cc(67)] POST /v3/confirmation/{transactionId}
[9037:9037:0728/140149.808860:VERBOSE6:redeem_opted_out_confirmation.cc(71)] URL Request:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/1780c378-ec7a-4a2b-87f7-820c4010e461
  Content: {"creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","transactionId":"1780c378-ec7a-4a2b-87f7-820c4010e461","type":"view"}
  Content Type: application/json
  Method: kPost
[9037:9037:0728/140149.811124:VERBOSE7:redeem_opted_out_confirmation.cc(72)]   Headers:
    accept: application/json
[9037:9037:0728/140150.862521:VERBOSE1:redeem_opted_out_confirmation.cc(85)] OnCreateConfirmation
[9037:9037:0728/140150.863026:VERBOSE6:redeem_opted_out_confirmation.cc(87)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/1780c378-ec7a-4a2b-87f7-820c4010e461
  Response Status Code: 418
  Response: {"id":"1780c378-ec7a-4a2b-87f7-820c4010e461","payload":{},"createdAt":"2023-07-28T12:19:35.356Z","type":"view","modifiedAt":"2023-07-28T12:19:35.356Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443"}
[9037:9037:0728/140150.863206:VERBOSE7:redeem_opted_out_confirmation.cc(88)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 211
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:19:35 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410020-HEL
    x-xss-protection: 0
[9037:9037:0728/140150.863414:VERBOSE1:redeem_opted_out_confirmation.cc(109)] Successfully redeemed opted-out view confirmation for new_tab_page_ad with transaction id 1780c378-ec7a-4a2b-87f7-820c4010e461 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified opt-out NTP-SI click confirmation was successfully redeemed:

[9037:9037:0728/140308.796317:VERBOSE3:new_tab_page_ad_handler.cc(186)] Clicked new tab page ad with placement id b0f27ce6-2ce9-4643-81d4-a4d0320e2f6d and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140308.815294:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and click valued at 0
[9037:9037:0728/140308.901137:VERBOSE1:confirmations.cc(186)] Confirming opted-out click for new_tab_page_ad with transaction id ed770bbd-7968-44ed-b444-61c7b519b256 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140308.947816:VERBOSE1:redeem_opted_out_confirmation.cc(57)] Redeem opted-out confirmation
[9037:9037:0728/140308.948412:VERBOSE1:redeem_opted_out_confirmation.cc(66)] CreateConfirmation
[9037:9037:0728/140308.948959:VERBOSE2:redeem_opted_out_confirmation.cc(67)] POST /v3/confirmation/{transactionId}
[9037:9037:0728/140308.949843:VERBOSE6:redeem_opted_out_confirmation.cc(71)] URL Request:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/ed770bbd-7968-44ed-b444-61c7b519b256
  Content: {"creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","transactionId":"ed770bbd-7968-44ed-b444-61c7b519b256","type":"click"}
  Content Type: application/json
  Method: kPost
[9037:9037:0728/140308.951488:VERBOSE7:redeem_opted_out_confirmation.cc(72)]   Headers:
    accept: application/json
[9037:9037:0728/140309.445464:WARNING:CONSOLE(1)] "Could not find style data in module named null", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[9037:9037:0728/140309.456190:WARNING:CONSOLE(1)] "Could not find style data in module named null", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[9037:9037:0728/140309.471558:WARNING:CONSOLE(1)] "Could not find style data in module named null", source: chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js (1)
[9037:9037:0728/140309.533439:ERROR:CONSOLE(2061)] "[Brave Settings Overrides] Appearance Page cannot find use default theme button template", source: chrome://settings/settings.js (2061)
[9037:9037:0728/140309.670214:VERBOSE1:redeem_opted_out_confirmation.cc(85)] OnCreateConfirmation
[9037:9037:0728/140309.671455:VERBOSE6:redeem_opted_out_confirmation.cc(87)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/ed770bbd-7968-44ed-b444-61c7b519b256
  Response Status Code: 418
  Response: {"id":"ed770bbd-7968-44ed-b444-61c7b519b256","payload":{},"createdAt":"2023-07-28T12:21:36.480Z","type":"click","modifiedAt":"2023-07-28T12:21:36.480Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443"}
[9037:9037:0728/140309.673445:VERBOSE7:redeem_opted_out_confirmation.cc(88)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 212
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:21:36 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410020-HEL
    x-xss-protection: 0
[9037:9037:0728/140309.694945:VERBOSE1:redeem_opted_out_confirmation.cc(109)] Successfully redeemed opted-out click confirmation for new_tab_page_ad with transaction id ed770bbd-7968-44ed-b444-61c7b519b256 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified opt-out NTP-SI landed confirmation was successfully redeemed:

[9037:9037:0728/140310.053865:VERBOSE1:transfer.cc(76)] Transfer ad for chrome://settings/search in 0 hours, 0 minutes, 10 seconds at 14:03:20.052
[9037:9037:0728/140310.076470:VERBOSE2:tab_manager.cc(145)] Tab id 2012586341 HTML content changed
[9037:9037:0728/140310.077417:VERBOSE1:conversions.cc(286)] Checking URL for conversions
[9037:9037:0728/140310.077951:VERBOSE1:text_embedding_processor.cc(94)] chrome scheme is not supported for processing HTML content
[9037:9037:0728/140310.078059:VERBOSE2:tab_manager.cc(160)] Tab id 2012586341 text content changed
[9037:9037:0728/140310.078129:VERBOSE1:purchase_intent_processor.cc(195)] chrome scheme is not supported for processing purchase intent
[9037:9037:0728/140310.078245:VERBOSE1:text_classification_processor.cc(86)] chrome scheme is not supported for processing text content
[9037:9037:0728/140310.083976:VERBOSE1:conversions.cc(367)] There were no conversion matches
[9037:9037:0728/140317.050634:VERBOSE1:browser_manager.cc(56)] Browser did resign active
[9037:9037:0728/140317.052143:VERBOSE1:browser_manager.cc(76)] Browser did enter background
[9037:9037:0728/140320.078406:VERBOSE6:transfer.cc(124)] Successfully logged transferred ad event
[9037:9037:0728/140320.078932:VERBOSE1:transfer.cc(126)] Transferred ad for chrome://settings/search
[9037:9037:0728/140320.080445:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and landed valued at 0
[9037:9037:0728/140320.082509:VERBOSE1:confirmations.cc(186)] Confirming opted-out landed for new_tab_page_ad with transaction id 36afbe1b-e5bb-45b9-b2f3-1ccf1127085c and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140320.084895:VERBOSE1:redeem_opted_out_confirmation.cc(57)] Redeem opted-out confirmation
[9037:9037:0728/140320.085144:VERBOSE1:redeem_opted_out_confirmation.cc(66)] CreateConfirmation
[9037:9037:0728/140320.085363:VERBOSE2:redeem_opted_out_confirmation.cc(67)] POST /v3/confirmation/{transactionId}
[9037:9037:0728/140320.085503:VERBOSE6:redeem_opted_out_confirmation.cc(71)] URL Request:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/36afbe1b-e5bb-45b9-b2f3-1ccf1127085c
  Content: {"creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","transactionId":"36afbe1b-e5bb-45b9-b2f3-1ccf1127085c","type":"landed"}
  Content Type: application/json
  Method: kPost
[9037:9037:0728/140320.085559:VERBOSE7:redeem_opted_out_confirmation.cc(72)]   Headers:
    accept: application/json
[9037:9037:0728/140320.671938:VERBOSE1:redeem_opted_out_confirmation.cc(85)] OnCreateConfirmation
[9037:9037:0728/140320.672296:VERBOSE6:redeem_opted_out_confirmation.cc(87)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/36afbe1b-e5bb-45b9-b2f3-1ccf1127085c
  Response Status Code: 418
  Response: {"id":"36afbe1b-e5bb-45b9-b2f3-1ccf1127085c","payload":{},"createdAt":"2023-07-28T12:21:53.700Z","type":"landed","modifiedAt":"2023-07-28T12:21:53.700Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443"}
[9037:9037:0728/140320.672543:VERBOSE7:redeem_opted_out_confirmation.cc(88)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 213
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:21:53 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410020-HEL
    x-xss-protection: 0
[9037:9037:0728/140320.673092:VERBOSE1:redeem_opted_out_confirmation.cc(109)] Successfully redeemed opted-out landed confirmation for new_tab_page_ad with transaction id 36afbe1b-e5bb-45b9-b2f3-1ccf1127085c and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified opt-out NTP-SI conversion confirmation was successfully redeemed:

[9037:9037:0728/140520.957925:VERBOSE1:conversions.cc(380)] Conversion for new_tab_page_ad with campaign id 0c281843-7d8b-40f1-9bb9-91d4e74ff5a4, creative set id 46cf9cc5-4932-4440-9aca-96ce04c73aa2, creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and advertiser id 803953a8-56b4-4d4b-942a-fa81357f1427
[9037:9037:0728/140520.966096:VERBOSE1:conversions.cc(369)] There was a conversion match
[9037:9037:0728/140520.989720:VERBOSE6:conversions.cc(397)] Successfully logged conversion event
[9037:9037:0728/140520.992530:VERBOSE3:conversions.cc(427)] Successfully added conversion to queue
[9037:9037:0728/140520.996163:VERBOSE1:conversions.cc(558)] Convert new_tab_page_ad with campaign id 0c281843-7d8b-40f1-9bb9-91d4e74ff5a4, creative set id 46cf9cc5-4932-4440-9aca-96ce04c73aa2, creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and advertiser id 803953a8-56b4-4d4b-942a-fa81357f1427 in 0 hours, 1 minute, 0 seconds at 14:06:20.960
[9037:9037:0728/140621.032148:VERBOSE1:conversions.cc(457)] Successfully converted new_tab_page_ad with campaign id 0c281843-7d8b-40f1-9bb9-91d4e74ff5a4, creative set id 46cf9cc5-4932-4440-9aca-96ce04c73aa2, creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and advertiser id 803953a8-56b4-4d4b-942a-fa81357f1427 on Friday, July 28, 2023 at 2:06:20 PM
[9037:9037:0728/140621.033460:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and conversion valued at 0
[9037:9037:0728/140621.035740:VERBOSE1:confirmations.cc(186)] Confirming opted-out conversion for new_tab_page_ad with transaction id 1bcbf476-c254-4640-b703-0e09b9ec8dcd and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9037:9037:0728/140621.036610:VERBOSE1:redeem_opted_out_confirmation.cc(57)] Redeem opted-out confirmation
[9037:9037:0728/140621.037000:VERBOSE1:redeem_opted_out_confirmation.cc(66)] CreateConfirmation
[9037:9037:0728/140621.037110:VERBOSE2:redeem_opted_out_confirmation.cc(67)] POST /v3/confirmation/{transactionId}
[9037:9037:0728/140621.037174:VERBOSE6:redeem_opted_out_confirmation.cc(71)] URL Request:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/1bcbf476-c254-4640-b703-0e09b9ec8dcd
  Content: {"creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","transactionId":"1bcbf476-c254-4640-b703-0e09b9ec8dcd","type":"conversion"}
  Content Type: application/json
  Method: kPost
[9037:9037:0728/140621.037466:VERBOSE7:redeem_opted_out_confirmation.cc(72)]   Headers:
    accept: application/json
[9037:9037:0728/140621.040959:VERBOSE1:conversions.cc(273)] Conversion queue is empty
[9037:9037:0728/140621.507561:VERBOSE1:redeem_opted_out_confirmation.cc(85)] OnCreateConfirmation
[9037:9037:0728/140621.507851:VERBOSE6:redeem_opted_out_confirmation.cc(87)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/1bcbf476-c254-4640-b703-0e09b9ec8dcd
  Response Status Code: 418
  Response: {"id":"1bcbf476-c254-4640-b703-0e09b9ec8dcd","payload":{},"createdAt":"2023-07-28T12:26:22.120Z","type":"conversion","modifiedAt":"2023-07-28T12:26:22.120Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443"}
[9037:9037:0728/140621.507939:VERBOSE7:redeem_opted_out_confirmation.cc(88)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 217
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:26:22 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410020-HEL
    x-xss-protection: 0
[9037:9037:0728/140621.508357:VERBOSE1:redeem_opted_out_confirmation.cc(109)] Successfully redeemed opted-out conversion confirmation for new_tab_page_ad with transaction id 1bcbf476-c254-4640-b703-0e09b9ec8dcd and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified opt-in NTP-SI view confirmation was successfully redeemed:

[9677:9677:0728/143117.748929:VERBOSE3:new_tab_page_ad_handler.cc(174)] Viewed new tab page ad with placement id e83c90b0-3321-43b7-9d9a-8279bc48fc2a and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9677:9677:0728/143117.752359:VERBOSE9:client_state_manager.cc(476)] Saving client state
[9677:9677:0728/143117.766687:VERBOSE2:tab_manager.cc(145)] Tab id 632569979 HTML content changed
[9677:9677:0728/143117.767205:VERBOSE1:conversions.cc(251)] URL is not supported for conversions
[9677:9677:0728/143117.767971:VERBOSE1:text_embedding_processor.cc(94)] chrome scheme is not supported for processing HTML content
[9677:9677:0728/143117.768396:VERBOSE2:tab_manager.cc(160)] Tab id 632569979 text content changed
[9677:9677:0728/143117.768788:VERBOSE1:purchase_intent_processor.cc(195)] chrome scheme is not supported for processing purchase intent
[9677:9677:0728/143117.769203:VERBOSE1:text_classification_processor.cc(86)] chrome scheme is not supported for processing text content
[9677:9677:0728/143117.781391:VERBOSE9:client_state_manager.cc(485)] Successfully saved client state
[9677:9677:0728/143117.802364:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and view valued at 0.01
[9677:9677:0728/143117.803046:VERBOSE1:confirmations.cc(108)] Confirming opted-in view for new_tab_page_ad with transaction id 2e24539c-9863-4165-8400-2d4de89a7be2 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9677:9677:0728/143117.812623:VERBOSE9:confirmation_state_manager.cc(184)] Saving confirmations state
[9677:9677:0728/143117.813755:VERBOSE1:redeem_opted_in_confirmation.cc(71)] Redeem opted-in confirmation
[9677:9677:0728/143117.821404:VERBOSE1:redeem_opted_in_confirmation.cc(92)] CreateConfirmation
[9677:9677:0728/143117.821870:VERBOSE2:redeem_opted_in_confirmation.cc(93)] POST /v3/confirmation/{transactionId}/{credential}
[9677:9677:0728/143117.822574:VERBOSE6:redeem_opted_in_confirmation.cc(98)] URL Request:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/2e24539c-9863-4165-8400-2d4de89a7be2/eyJzaWduYXR1cmUiOiJEL05mejQvTnpOUXhRMDZOOTV2YWx2bjBRTUsrc1ppUmYxRHBSSXVKUDQ1SmVCV0dSZFZnTFhuNlA3VE9KeW44YmpQaVkzSUVFY2FEZkxsSkhwYzRCdz09IiwidCI6IkVhSlFVVUJFR2M5ckFrY0dsTHBsYUlCUENNWVVXUnhiaWRTWURPRjduSEQwaGRwc0pmK0s1UkRINmc5Rk9iNSthUHo1SVpHejkyaGRjRlN3bnM1QnR3PT0ifQ==
  Content: {"blindedPaymentTokens":["jKL4TI7WkmKfzKoh0IfheWWJ6zI4P3SbJUYmz1+nTGc="],"buildChannel":"beta","catalog":[{"id":"54f08875ddff0cb5e494d44164efaf2311ed98db"}],"createdAtTimestamp":"2023-07-28T12:00:00.000Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","platform":"linux","publicKey":"qFLDJTMazEUG6Non1dIEf9m8q5E8IZU/3MkTe5RVvHU=","rotating_hash":"Is8BFeNGso5infx0XO9K42cNjglVYjvvpk0CSFc29TQ=","segment":"untargeted","studies":[],"systemTimestamp":"2023-07-28T12:00:00.000Z","transactionId":"2e24539c-9863-4165-8400-2d4de89a7be2","type":"view","versionNumber":"115.0.5790.114"}
  Content Type: application/json
  Method: kPost
[9677:9677:0728/143247.693255:VERBOSE1:redeem_opted_in_confirmation.cc(71)] Redeem opted-in confirmation
[9677:9677:0728/143247.698366:VERBOSE1:redeem_opted_in_confirmation.cc(127)] FetchPaymentToken
[9677:9677:0728/143247.698775:VERBOSE6:redeem_opted_in_confirmation.cc(131)] URL Request:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/2e24539c-9863-4165-8400-2d4de89a7be2/paymentToken
  Method: kGet
[9677:9677:0728/143247.698860:VERBOSE7:redeem_opted_in_confirmation.cc(132)]   Headers:

[9677:9677:0728/143247.699252:VERBOSE9:confirmation_state_manager.cc(193)] Successfully saved confirmations state
[9677:9677:0728/143247.832566:VERBOSE1:redeem_opted_in_confirmation.cc(145)] OnFetchPaymentToken
[9677:9677:0728/143247.832821:VERBOSE6:redeem_opted_in_confirmation.cc(147)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/2e24539c-9863-4165-8400-2d4de89a7be2/paymentToken
  Response Status Code: 200
  Response: {"id":"2e24539c-9863-4165-8400-2d4de89a7be2","createdAt":"2023-07-28T12:32:33.362Z","type":"view","modifiedAt":"2023-07-28T12:32:35.639Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","paymentToken":{"publicKey":"1M++FmdtZ73C2g+3wWMFskohnHVzOgAA2vV9xzlXfRg=","batchProof":"J1NblRipvzP8AuHym00nBh/RzpsCgLxDvdQJAAkDIAqecd8yPRLwZlcwIwDXSgmgGil3oUT7xPqLj1B+ezwHCQ==","signedTokens":["0LHi7EwdbUjETeuBPgJIrakN4dZbnEh0/Or9X/uJb2k="]}}
[9677:9677:0728/143247.832894:VERBOSE7:redeem_opted_in_confirmation.cc(148)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 442
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:34:51 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin, Accept-Encoding
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410024-HEL
    x-xss-protection: 0
[9677:9677:0728/143247.835885:VERBOSE1:redeem_opted_in_confirmation.cc(361)] Successfully redeemed opted-in view confirmation for new_tab_page_ad with transaction id 2e24539c-9863-4165-8400-2d4de89a7be2 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9677:9677:0728/143247.836489:VERBOSE9:confirmation_state_manager.cc(184)] Saving confirmations state
[9677:9677:0728/143247.838921:VERBOSE1:confirmations.cc(272)] You have 1 unblinded payment tokens which will be redeemed in 0 hours, 0 minutes, 2 seconds at 14:32:49.889

Verified opt-in NTP-SI click confirmation was successfully redeemed:

[9677:9677:0728/143427.325987:VERBOSE3:new_tab_page_ad_handler.cc(186)] Clicked new tab page ad with placement id e83c90b0-3321-43b7-9d9a-8279bc48fc2a and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9677:9677:0728/143427.428080:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and click valued at 0
[9677:9677:0728/143427.439072:VERBOSE1:confirmations.cc(108)] Confirming opted-in click for new_tab_page_ad with transaction id 50bb0ac8-72e9-4b35-85aa-886989b2d679 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9677:9677:0728/143430.709753:VERBOSE1:redeem_opted_in_confirmation.cc(145)] OnFetchPaymentToken
[9677:9677:0728/143430.710529:VERBOSE6:redeem_opted_in_confirmation.cc(147)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/50bb0ac8-72e9-4b35-85aa-886989b2d679/paymentToken
  Response Status Code: 200
  Response: {"id":"50bb0ac8-72e9-4b35-85aa-886989b2d679","createdAt":"2023-07-28T12:37:30.467Z","type":"click","modifiedAt":"2023-07-28T12:37:32.787Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","paymentToken":{"publicKey":"1M++FmdtZ73C2g+3wWMFskohnHVzOgAA2vV9xzlXfRg=","batchProof":"vkr8c2YdbqLmWyyA6gIT2qvMih0r9V9fVicSClRGAA4f9fo1phze3KXsMOeZf2mMOlN85ELTmK52WRjU+Km4DA==","signedTokens":["cNDixc3kkqqNW06Rv4kjVQzzchsfHEdhC30auJ6Wuw0="]}}
[9677:9677:0728/143430.711783:VERBOSE7:redeem_opted_in_confirmation.cc(148)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 443
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:37:34 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin, Accept-Encoding
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410024-HEL
    x-xss-protection: 0
[9677:9677:0728/143430.714596:VERBOSE1:redeem_opted_in_confirmation.cc(361)] Successfully redeemed opted-in click confirmation for new_tab_page_ad with transaction id 50bb0ac8-72e9-4b35-85aa-886989b2d679 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified opt-in NTP-SI landed confirmation was successfully redeemed:

[9677:9677:0728/143438.586343:VERBOSE6:transfer.cc(124)] Successfully logged transferred ad event
[9677:9677:0728/143438.586658:VERBOSE1:transfer.cc(126)] Transferred ad for chrome://settings/search
[9677:9677:0728/143438.601312:VERBOSE3:account.cc(248)] Successfully processed deposit for new_tab_page_ad with creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and landed valued at 0
[9677:9677:0728/143438.602529:VERBOSE1:confirmations.cc(108)] Confirming opted-in landed for new_tab_page_ad with transaction id 3a28ea18-d7c6-4aab-b14f-51afc6d82e72 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443
[9677:9677:0728/143447.346981:VERBOSE1:redeem_opted_in_confirmation.cc(145)] OnFetchPaymentToken
[9677:9677:0728/143447.347416:VERBOSE6:redeem_opted_in_confirmation.cc(147)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/3a28ea18-d7c6-4aab-b14f-51afc6d82e72/paymentToken
  Response Status Code: 200
  Response: {"id":"3a28ea18-d7c6-4aab-b14f-51afc6d82e72","createdAt":"2023-07-28T12:37:47.874Z","type":"landed","modifiedAt":"2023-07-28T12:37:50.032Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","paymentToken":{"publicKey":"1M++FmdtZ73C2g+3wWMFskohnHVzOgAA2vV9xzlXfRg=","batchProof":"OPrtTf//W0lcCIf8+YOe3nEbBCU9LlzUBukeobHXOgHhx602NiDHW8RWsMa7JKfg92Nu7VlUi2+wdNN0RpTSCA==","signedTokens":["7lxZzgrA/C2vQFUR5eXc6RjFpynmtBLFa7rQQ5dYLUM="]}}
[9677:9677:0728/143447.347850:VERBOSE7:redeem_opted_in_confirmation.cc(148)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 444
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:38:02 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin, Accept-Encoding
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410024-HEL
    x-xss-protection: 0
[9677:9677:0728/143447.350560:VERBOSE1:redeem_opted_in_confirmation.cc(361)] Successfully redeemed opted-in landed confirmation for new_tab_page_ad with transaction id 3a28ea18-d7c6-4aab-b14f-51afc6d82e72 and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified opt-in NTP-SI conversion confirmation was successfully redeemed:

[9677:9677:0728/144203.302651:VERBOSE1:conversions.cc(380)] Conversion for new_tab_page_ad with campaign id 0c281843-7d8b-40f1-9bb9-91d4e74ff5a4, creative set id 46cf9cc5-4932-4440-9aca-96ce04c73aa2, creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and advertiser id 803953a8-56b4-4d4b-942a-fa81357f1427
[9677:9677:0728/144203.304587:VERBOSE1:conversions.cc(369)] There was a conversion match
[9677:9677:0728/144203.329238:VERBOSE6:conversions.cc(397)] Successfully logged conversion event
[9677:9677:0728/144203.342127:VERBOSE3:conversions.cc(427)] Successfully added conversion to queue
[9677:9677:0728/144203.349433:VERBOSE1:conversions.cc(558)] Convert new_tab_page_ad with campaign id 0c281843-7d8b-40f1-9bb9-91d4e74ff5a4, creative set id 46cf9cc5-4932-4440-9aca-96ce04c73aa2, creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443 and advertiser id 803953a8-56b4-4d4b-942a-fa81357f1427 in 0 hours, 1 minute, 0 seconds at 14:43:03.302
[9677:9677:0728/144321.550112:VERBOSE1:redeem_opted_in_confirmation.cc(145)] OnFetchPaymentToken
[9677:9677:0728/144321.550381:VERBOSE6:redeem_opted_in_confirmation.cc(147)] URL Response:
  URL: https://anonymous.ads.bravesoftware.com/v3/confirmation/42b9c085-95cf-43b9-bef8-d44cdf53eaad/paymentToken
  Response Status Code: 200
  Response: {"id":"42b9c085-95cf-43b9-bef8-d44cdf53eaad","createdAt":"2023-07-28T12:51:00.778Z","type":"conversion","modifiedAt":"2023-07-28T12:51:02.968Z","creativeInstanceId":"ef2ac6fc-7d91-4fef-acdf-f34c1a514443","paymentToken":{"publicKey":"1M++FmdtZ73C2g+3wWMFskohnHVzOgAA2vV9xzlXfRg=","batchProof":"pfNK48TH/lH+JfTWkWZ+dXuTjFHYRSPgQ2ePFQobtQQcMpDlDPAWyAMdUUrA8McfakCNIALIF195zorkr3K2AA==","signedTokens":["1rfZzqZ0sbhLfRtVSRMSwmDvPaK8vaaeVNOsNYes+Qg="]}}
[9677:9677:0728/144321.550571:VERBOSE7:redeem_opted_in_confirmation.cc(148)]   Headers:
    accept-ranges: bytes
    access-control-allow-credentials: true
    cache-control: no-cache
    content-length: 448
    content-security-policy: default-src 'self';base-uri 'self';font-src 'self' https: data:;form-action 'self';frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests
    content-type: application/json; charset=utf-8
    cross-origin-opener-policy: same-origin
    cross-origin-resource-policy: same-origin
    date: Fri, 28 Jul 2023 12:51:32 GMT
    expires: 0
    origin-agent-cluster: ?1
    referrer-policy: no-referrer
    strict-transport-security: max-age=15552000; includeSubDomains
    vary: Origin, Accept-Encoding
    via: 1.1 varnish
    x-cache: MISS
    x-cache-hits: 0
    x-content-type-options: nosniff
    x-dns-prefetch-control: off
    x-download-options: noopen
    x-frame-options: SAMEORIGIN
    x-permitted-cross-domain-policies: none
    x-served-by: cache-hel1410034-HEL
    x-xss-protection: 0
[9677:9677:0728/144321.553675:VERBOSE1:redeem_opted_in_confirmation.cc(361)] Successfully redeemed opted-in conversion confirmation for new_tab_page_ad with transaction id 42b9c085-95cf-43b9-bef8-d44cdf53eaad and creative instance id ef2ac6fc-7d91-4fef-acdf-f34c1a514443

Verified conversion envelop is attached: image