brave / brave-browser

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

Move confirmations into ads process #9870

Closed NejcZdovc closed 4 years ago

NejcZdovc commented 4 years ago

When https://github.com/brave/brave-browser/issues/9869 will be done we can move confirmations into ads process and get data that is needed from preferences.

GeetaSarvadnya commented 4 years ago

Verification passed on


Brave | 1.14.67 Chromium: 85.0.4183.83 (Official Build) dev (64-bit)
-- | --
Revision | 94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS | Windows 10 OS Version 1903 (Build 18362.1016)

Brave | 1.14.72 Chromium: 85.0.4183.83 (Official Build) dev (64-bit)
-- | --
Revision | 94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS | Windows 10 OS Version 1903 (Build 18362.1016)
[11284:5676:0828/225534.672:VERBOSE1:page_classifier.cc(86)] Classified page as technology & computing-software
[11284:5676:0828/225534.672:VERBOSE1:page_classifier.cc(94)] Winning page classification over time is technology & computing-software
[11284:5676:0828/225621.733:VERBOSE1:ads_impl.cc(1114)] Ad notification shown:
  uuid: 58a1b398-8031-468b-9a36-292688bbf88e
  parentUuid: 8b4e1de8-8bc1-44ef-b2e9-f47b6799f829
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  title: Coinvest
  body: Grandma loves digital assets.
  targetUrl: https://travala.com/
[11284:5676:0828/225621.733:VERBOSE1:confirmations.cc(119)] Confirm ad:
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  targetUrl: https://travala.com/
  geoTarget: IN
  confirmationType: view
[11284:5676:0828/225625.230:VERBOSE1:confirmations.cc(119)] Confirm ad:
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  targetUrl: https://travala.com/
  geoTarget: IN
  confirmationType: click
[11284:5676:0828/225639.075:VERBOSE1:confirmations.cc(119)] Confirm ad:
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  targetUrl: https://travala.com/
  geoTarget: IN
  confirmationType: landed
  creativeInstanceId: 9340f13f-0e3c-4f3f-b071-7140f35eb70e
  creativeSetId: f706af3a-4cb9-4e85-bf6d-6259bd696d4e
  category: food & drink
  targetUrl: https://travala.com/
  geoTarget: IN
  confirmationType: dismiss
[11548:1780:0828/230629.150:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens
[11548:1780:0828/230629.150:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response:
  URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/626f630f-481e-4ee5-8c6c-2812610f43c8
  Response Status Code: 200
  Response: {"status":"ok"}
[11548:1780:0828/230629.152:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 23 hours, 18 minutes, 43 seconds at 10:25 PM
[11548:1780:0828/230629.152:VERBOSE1:ads_impl.cc(1435)] Successfully redeemed unblinded payment tokens

1.2. Verified page classification for nonsecure site http://orimi.com ``` [8460:17332:0828/232914.292:VERBOSE1:page_classifier.cc(86)] Classified page as hobbies & interests-genealogy [8460:17332:0828/232914.292:VERBOSE1:page_classifier.cc(94)] Winning page classification over time is hobbies & interests-genealogy ``` - Verified ad notification is shown and diagnostic logs are captured ``` [8460:17332:0828/232941.936:VERBOSE1:ads_impl.cc(1114)] Ad notification shown: uuid: ccc40aae-7ba7-4510-b52d-9cf4dfc1d8cd parentUuid: 4ad1a99f-bf39-424d-be06-23030dfebc60 creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing title: AirSwap body: Make peer-to-peer OTC trades with ERC20 tokens targetUrl: https://travala.com/ ``` - Verified `**View**`, `**Click**` `**dismiss**` and `**Landed**` confirmations types for non-secure site ``` [8460:17332:0828/232941.937:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: IN confirmationType: view ``` ``` [8460:17332:0828/232944.634:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: IN confirmationType: click ``` ``` [8460:17332:0828/232958.425:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: IN confirmationType: landed ``` ``` [432:15060:0828/234432.787:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 289ef146-8694-42a5-9023-db7fbad3d726 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: IN confirmationType: dismiss ``` - Verified **0.05 BAT** is assigned for the viewed ad ``` [8460:17332:0828/232943.500:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0.05 BAT, you now have 1 unblinded payment tokens ``` - Verified tokens are successfully redeemed for the viewed ads ``` [6812:3028:0828/234129.171:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens [6812:3028:0828/234129.171:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/635b66b0-97e4-403b-a223-4e468a491320 Response Status Code: 200 Response: {"status":"ok"} [6812:3028:0828/234129.172:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 23 hours, 58 minutes, 9 seconds at 11:39 PM [6812:3028:0828/234129.172:VERBOSE1:ads_impl.cc(1435)] Successfully redeemed unblinded payment tokens ```
2. Verified users are rewarded for viewing ads ``` [18048:18148:0828/231111.441:VERBOSE3:ad_notification_event_viewed.cc(30)] Viewed ad notification with uuid 112cad3b-413e-445b-a8ee-65d00f676c2d and 9340f13f-0e3c-4f3f-b071-7140f35eb70e creative instance id ``` - Verified **0.05 BAT** is assigned for the viewed ad in the logs ``` [18048:18148:0828/231112.350:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0.05 BAT, you now have 1 unblinded payment tokens ``` - Verified Estimated pending rewards is displayed in Ads panel in the UI ![image](https://user-images.githubusercontent.com/38657976/91599974-c8151080-e984-11ea-83fb-c71a83b06edc.png)
3. Verified confirmation is sent to the server when dismissing an ad - Verified dismiss even type is captured in logs ``` [6600:3616:0902/123431.509:VERBOSE3:ad_notification_event_dismissed.cc(32)] Dismissed ad notification with uuid 4b239a54-5ddc-49f6-b099-5b7b24dcee64 and 20f4a3ed-2187-43d0-b13c-c06422fccf2b creative instance id [6600:3616:0902/123431.510:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 20f4a3ed-2187-43d0-b13c-c06422fccf2b creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 category: personal finance targetUrl: https://travala.com/ geoTarget: IN confirmationType: dismiss ``` - Verified confirmations are created and sent to the server for dismiss event ``` [6600:3616:0902/123431.510:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [6600:3616:0902/123431.510:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [6600:3616:0902/123431.511:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/41055f87-16aa-434a-9ec8-1a13411b6357/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiMGtBMnVCLy80cWIxUHNjcHhpUnRCeWFiTU8ra05ORmdHdHF6OXVlRXlTST1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjIwZjRhM2VkLTIxODctNDNkMC1iMTNjLWMwNjQyMmZjY2YyYlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImRpc21pc3NcIn0iLCJzaWduYXR1cmUiOiJLb3NSV0hWNmVDOHZkOTF6aGdINmFvS1NBY1FlYUo2d2FhRVhONUQ2eGhmc3k2clRaaEx3R2pScHEwY1JjTTVsajZaQTUzaldyS3FLSUovWGRyaTg1Zz09IiwidCI6InJ0RlNDdlBFa3hYVC9TN0t5YTd6N25oNTE5MGVJMTBHemR2aWFtcGZzelNRakM0UHNwdmlyUmp2WE9tZzlSUHZ5ajU2eDJvRllzK1V5V2FRYlhCOWNRPT0ifQ== Content: {"blindedPaymentToken":"0kA2uB//4qb1PscpxiRtByabMO+kNNFgGtqz9ueEySI=","buildChannel":"dev","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b","payload":{},"platform":"windows","type":"dismiss"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [6600:3616:0902/123431.918:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [6600:3616:0902/123431.918:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/41055f87-16aa-434a-9ec8-1a13411b6357/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiMGtBMnVCLy80cWIxUHNjcHhpUnRCeWFiTU8ra05ORmdHdHF6OXVlRXlTST1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjIwZjRhM2VkLTIxODctNDNkMC1iMTNjLWMwNjQyMmZjY2YyYlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImRpc21pc3NcIn0iLCJzaWduYXR1cmUiOiJLb3NSV0hWNmVDOHZkOTF6aGdINmFvS1NBY1FlYUo2d2FhRVhONUQ2eGhmc3k2clRaaEx3R2pScHEwY1JjTTVsajZaQTUzaldyS3FLSUovWGRyaTg1Zz09IiwidCI6InJ0RlNDdlBFa3hYVC9TN0t5YTd6N25oNTE5MGVJMTBHemR2aWFtcGZzelNRakM0UHNwdmlyUmp2WE9tZzlSUHZ5ajU2eDJvRllzK1V5V2FRYlhCOWNRPT0ifQ== Response Status Code: 201 Response: {"id":"41055f87-16aa-434a-9ec8-1a13411b6357","payload":{},"createdAt":"2020-09-02T07:04:32.717Z","type":"dismiss","modifiedAt":"2020-09-02T07:04:32.717Z","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b"} ``` ``` [432:15060:0828/234433.640:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [432:15060:0828/234433.640:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/8d849aac-3979-4a31-87e1-0a9453e46d04/paymentToken Response Status Code: 200 Response: {"id":"8d849aac-3979-4a31-87e1-0a9453e46d04","createdAt":"2020-08-28T18:14:33.981Z","type":"dismiss","modifiedAt":"2020-08-28T18:14:34.002Z","creativeInstanceId":"289ef146-8694-42a5-9023-db7fbad3d726","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"wy3nMldK69EP7S/1+55nUWts15QOknX5I9llwCffHg9c6kiQwiSZpmB4w+4Jn6pffPbhxjWp4eurDzghoyc6BQ==","signedTokens":["fHBvSGK0inuFv8i8A4tJd5PosOcaKgsU9i9onI3/0zs="]}} [432:15060:0828/234433.641:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 2 unblinded payment tokens ``` - Verified ad type is recorded as `Dismissed` in the UI ![image](https://user-images.githubusercontent.com/38657976/91603425-99019d80-e98a-11ea-97e2-8cb9d74264bf.png)
4. Verified confirmation is sent to the server when an ad has landed (sustained) - Verified landed confirmation types are captured in logs ``` [6600:3616:0902/115054.835:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 category: personal finance targetUrl: https://travala.com/ geoTarget: IN confirmationType: landed ``` - Verified confirmations are created and sent to the server for the landed event ``` [6600:3616:0902/115054.837:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [6600:3616:0902/115054.837:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [6600:3616:0902/115054.837:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/756cc91c-0cfb-43a9-ab9e-1e072310e05a/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiTnN2ZmpTREpTeW44SEJBbjYyN1grai9lNjl5NnhxVGJuVXhiMCt1dExpUT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImxhbmRlZFwifSIsInNpZ25hdHVyZSI6IlFMc1JTK2MwbVh5V3NRemZlRnZaeUpQU0ltR24zQ3FRYXN0OXF4cTRNbVZvbUFYOTl1VW9VdXMxUCt4VG1VYTM5emYyQmt6NE9ZNDJyOEx1dTZKWWF3PT0iLCJ0IjoiMUFudlhlYXpUTnVJZ0QyOFFVaFYyNHRRVFBFYkZEdENBaFdkNmpLZEIvL3VDNjgxSW1obmEwNHNkWnp3RDVYSWdUcVFsRzFKMm9MeHJhSWk2V3NuU2c9PSJ9 Content: {"blindedPaymentToken":"NsvfjSDJSyn8HBAn627X+j/e69y6xqTbnUxb0+utLiQ=","buildChannel":"dev","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","payload":{},"platform":"windows","type":"landed"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [6600:3616:0902/115055.245:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [6600:3616:0902/115055.245:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/756cc91c-0cfb-43a9-ab9e-1e072310e05a/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiTnN2ZmpTREpTeW44SEJBbjYyN1grai9lNjl5NnhxVGJuVXhiMCt1dExpUT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImxhbmRlZFwifSIsInNpZ25hdHVyZSI6IlFMc1JTK2MwbVh5V3NRemZlRnZaeUpQU0ltR24zQ3FRYXN0OXF4cTRNbVZvbUFYOTl1VW9VdXMxUCt4VG1VYTM5emYyQmt6NE9ZNDJyOEx1dTZKWWF3PT0iLCJ0IjoiMUFudlhlYXpUTnVJZ0QyOFFVaFYyNHRRVFBFYkZEdENBaFdkNmpLZEIvL3VDNjgxSW1obmEwNHNkWnp3RDVYSWdUcVFsRzFKMm9MeHJhSWk2V3NuU2c9PSJ9 Response Status Code: 201 Response: {"id":"756cc91c-0cfb-43a9-ab9e-1e072310e05a","payload":{},"createdAt":"2020-09-02T06:20:56.046Z","type":"landed","modifiedAt":"2020-09-02T06:20:56.046Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953"} ``` ``` [6600:3616:0902/115055.606:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [6600:3616:0902/115055.606:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/756cc91c-0cfb-43a9-ab9e-1e072310e05a/paymentToken Response Status Code: 200 Response: {"id":"756cc91c-0cfb-43a9-ab9e-1e072310e05a","createdAt":"2020-09-02T06:20:56.046Z","type":"landed","modifiedAt":"2020-09-02T06:20:56.069Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"xaODBjMC86SPgNiHwMMZr98mPTxXt/7+4Yc+ay/oSQ1R80EKS1RPccj8P7+Fi6kBpyd+zdnsTEj5VNK/KPjkBw==","signedTokens":["VCc4Vai+DrX6pOQN59wQUYPmRlGuNMRK/4UuxsU5qT4="]}} ```
5. Verified confirmation is sent to the server when flagging an ad - Verified confirmation type **Flag** is captured in logs ( `Mark as inappropriate` is nothing but `Flag` confirmed with @tmancey ) ``` [9816:6840:0902/145540.180:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 45d30d1a-4237-43ff-a66b-76bb15679aad creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b confirmationType: flag ``` - Verified that Flag confirmations are created and sent to the server ``` [9816:6840:0902/145540.181:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [9816:6840:0902/145540.181:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [9816:6840:0902/145540.181:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/cf32abdf-4394-41ab-97a6-b81eb569b2fd/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiUkIzaTNqMFhoWVFCaGduMHNqRjBQVEdGWVBhQm9JUGs4ZDZkVDlwRnpnbz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjQ1ZDMwZDFhLTQyMzctNDNmZi1hNjZiLTc2YmIxNTY3OWFhZFwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImZsYWdcIn0iLCJzaWduYXR1cmUiOiI0NVNsdkJSL3hlaG1tMkJrSG5sbE9xVS9zc2hMUTZlUUVvSXhIRVJmSHNtNE9XN3VJUXZ3Z2lRYmRUYi9UbWF4RTRIUSt3SG9IZnh3Nmg3YXNsajNoQT09IiwidCI6IlJpd0tuV00vNjhIOXB6OGFHSEk2cE1IR0F1ZUIzZytlVTVVeVJMS29lR2x1OUJCRVVTaUM5TldGUkQzMmRhbUpEekFZOWFRdXBhV3k1Z1lBeHRlS3RBPT0ifQ== Content: {"blindedPaymentToken":"RB3i3j0XhYQBhgn0sjF0PTGFYPaBoIPk8d6dT9pFzgo=","buildChannel":"dev","creativeInstanceId":"45d30d1a-4237-43ff-a66b-76bb15679aad","payload":{},"platform":"windows","type":"flag"} ``` ``` [9816:6840:0902/145540.593:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [9816:6840:0902/145540.593:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/cf32abdf-4394-41ab-97a6-b81eb569b2fd/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiUkIzaTNqMFhoWVFCaGduMHNqRjBQVEdGWVBhQm9JUGs4ZDZkVDlwRnpnbz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjQ1ZDMwZDFhLTQyMzctNDNmZi1hNjZiLTc2YmIxNTY3OWFhZFwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImZsYWdcIn0iLCJzaWduYXR1cmUiOiI0NVNsdkJSL3hlaG1tMkJrSG5sbE9xVS9zc2hMUTZlUUVvSXhIRVJmSHNtNE9XN3VJUXZ3Z2lRYmRUYi9UbWF4RTRIUSt3SG9IZnh3Nmg3YXNsajNoQT09IiwidCI6IlJpd0tuV00vNjhIOXB6OGFHSEk2cE1IR0F1ZUIzZytlVTVVeVJMS29lR2x1OUJCRVVTaUM5TldGUkQzMmRhbUpEekFZOWFRdXBhV3k1Z1lBeHRlS3RBPT0ifQ== Response Status Code: 201 Response: {"id":"cf32abdf-4394-41ab-97a6-b81eb569b2fd","payload":{},"createdAt":"2020-09-02T09:25:41.373Z","type":"flag","modifiedAt":"2020-09-02T09:25:41.373Z","creativeInstanceId":"45d30d1a-4237-43ff-a66b-76bb15679aad"} ``` ``` [9816:6840:0902/145540.969:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [9816:6840:0902/145540.969:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/cf32abdf-4394-41ab-97a6-b81eb569b2fd/paymentToken Response Status Code: 200 Response: {"id":"cf32abdf-4394-41ab-97a6-b81eb569b2fd","createdAt":"2020-09-02T09:25:41.373Z","type":"flag","modifiedAt":"2020-09-02T09:25:41.396Z","creativeInstanceId":"45d30d1a-4237-43ff-a66b-76bb15679aad","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=", ```

6. Verified confirmation is sent to the server when upvoting an ad - Verified confirmation type **upvoting** captured in the logs ``` [6600:3616:0902/131416.497:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 confirmationType: upvote ``` - Verified confirmations are created and sent to the server ``` [6600:3616:0902/131416.498:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [6600:3616:0902/131416.498:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [6600:3616:0902/131416.498:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/f1fc751d-c60a-41d9-993a-313569d2fb41/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwieEhReC92bW1KeDVRVnIwUDQyUTNEVC9jb1hoYm16V3VXVjZ1SWp0VlcwRT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcInVwdm90ZVwifSIsInNpZ25hdHVyZSI6IkhFZTBDZnlXcEYvTlByRmY2Um8rMTY5UlJlWld3VlEwTjlZdlFyNVhoWEJ1aVNmRmZJME9oeGdlOEovZERiOVlMZ3RjRUlicEh2R3gzZStwQi9xUDhnPT0iLCJ0IjoiVEtuN0JpWnEySnFsY2RoUnJpdWs1cHptWGg2QjcrcFBUamYrNm4rQ2thOTN2RWk1MDNCemZ3NU9HODFYVURKcHhXbGN4S0djRVZVNzVaNXBLT0FXNXc9PSJ9 Content: {"blindedPaymentToken":"xHQx/vmmJx5QVr0P42Q3DT/coXhbmzWuWV6uIjtVW0E=","buildChannel":"dev","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","payload":{},"platform":"windows","type":"upvote"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [6600:3616:0902/131417.773:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [6600:3616:0902/131417.773:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/f1fc751d-c60a-41d9-993a-313569d2fb41/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwieEhReC92bW1KeDVRVnIwUDQyUTNEVC9jb1hoYm16V3VXVjZ1SWp0VlcwRT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcInVwdm90ZVwifSIsInNpZ25hdHVyZSI6IkhFZTBDZnlXcEYvTlByRmY2Um8rMTY5UlJlWld3VlEwTjlZdlFyNVhoWEJ1aVNmRmZJME9oeGdlOEovZERiOVlMZ3RjRUlicEh2R3gzZStwQi9xUDhnPT0iLCJ0IjoiVEtuN0JpWnEySnFsY2RoUnJpdWs1cHptWGg2QjcrcFBUamYrNm4rQ2thOTN2RWk1MDNCemZ3NU9HODFYVURKcHhXbGN4S0djRVZVNzVaNXBLT0FXNXc9PSJ9 Response Status Code: 201 Response: {"id":"f1fc751d-c60a-41d9-993a-313569d2fb41","payload":{},"createdAt":"2020-09-02T07:44:18.553Z","type":"upvote","modifiedAt":"2020-09-02T07:44:18.553Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953"} ``` ``` [6600:3616:0902/131418.147:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [6600:3616:0902/131418.147:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/f1fc751d-c60a-41d9-993a-313569d2fb41/paymentToken Response Status Code: 200 Response: {"id":"f1fc751d-c60a-41d9-993a-313569d2fb41","createdAt":"2020-09-02T07:44:18.553Z","type":"upvote","modifiedAt":"2020-09-02T07:44:18.579Z","creativeInstanceId":"7c644da6 ```
7. Verified confirmation is sent to the server when downvoting an ad - Verified confirmation type **downvoting** captured in the logs ``` [6600:3616:0902/131442.657:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 20f4a3ed-2187-43d0-b13c-c06422fccf2b creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 confirmationType: downvote ``` - Verified confirmations are created and sent to the server ``` [6600:3616:0902/131442.657:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [6600:3616:0902/131442.658:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [6600:3616:0902/131442.658:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/59ac93c9-2439-434e-9a30-e8d4bdb49f95/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiOEVRVnBtcSsvemx3SDRYR1FkM1RFYVk3UW9WQTJIRkVQYzlHTzI1SVdpdz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjIwZjRhM2VkLTIxODctNDNkMC1iMTNjLWMwNjQyMmZjY2YyYlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImRvd252b3RlXCJ9Iiwic2lnbmF0dXJlIjoiQmYwZU1tK0NwNWN1V0ppK0grdEM5dTIwOUIwd3NnT25HK2loU3pPRXplMFhncnNvUG52Q0U5MjAzMU5CdDE4MEVBR3BUMEJmdGdqdllYYkpOcFE0eVE9PSIsInQiOiIwaHVFNTl1LzRLdzdUd3R2ZGFxMW5CMUorc050c3RHK2JyWitMcmRRSThKVVlYU1ZFUVNFUXB1NmFXOFY1ZHlqYXh2M2phNDg0MWVtL29NZXdLdGR2Zz09In0= Content: {"blindedPaymentToken":"8EQVpmq+/zlwH4XGQd3TEaY7QoVA2HFEPc9GO25IWiw=","buildChannel":"dev","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b","payload":{},"platform":"windows","type":"downvote"} ``` ``` [6600:3616:0902/131443.092:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [6600:3616:0902/131443.092:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/59ac93c9-2439-434e-9a30-e8d4bdb49f95/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiOEVRVnBtcSsvemx3SDRYR1FkM1RFYVk3UW9WQTJIRkVQYzlHTzI1SVdpdz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjIwZjRhM2VkLTIxODctNDNkMC1iMTNjLWMwNjQyMmZjY2YyYlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIndpbmRvd3NcIixcInR5cGVcIjpcImRvd252b3RlXCJ9Iiwic2lnbmF0dXJlIjoiQmYwZU1tK0NwNWN1V0ppK0grdEM5dTIwOUIwd3NnT25HK2loU3pPRXplMFhncnNvUG52Q0U5MjAzMU5CdDE4MEVBR3BUMEJmdGdqdllYYkpOcFE0eVE9PSIsInQiOiIwaHVFNTl1LzRLdzdUd3R2ZGFxMW5CMUorc050c3RHK2JyWitMcmRRSThKVVlYU1ZFUVNFUXB1NmFXOFY1ZHlqYXh2M2phNDg0MWVtL29NZXdLdGR2Zz09In0= Response Status Code: 201 Response: {"id":"59ac93c9-2439-434e-9a30-e8d4bdb49f95","payload":{},"createdAt":"2020-09-02T07:44:43.882Z","type":"downvote","modifiedAt":"2020-09-02T07:44:43.882Z","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b"} ``` ``` [6600:3616:0902/131443.493:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [6600:3616:0902/131443.493:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/59ac93c9-2439-434e-9a30-e8d4bdb49f95/paymentToken Response Status Code: 200 Response: {"id":"59ac93c9-2439-434e-9a30-e8d4bdb49f95","createdAt":"2020-09-02T07:44:43.882Z","type":"downvote","modifiedAt":"2020-09-02T07:44:43.905Z","creativeInstanceId":"20f4a3 ```
8. Verified brave://rewards UI is updated when rewarded for viewing an ad (also confirm same value after restarting the browser) - Viewed an ad and verified that, the viewed ad is rewarded and ads panel shows the correct `estimated pending rewards` and `ads notification count` ![image](https://user-images.githubusercontent.com/38657976/91967399-cb1b5280-ed30-11ea-8526-45d0c584d798.png) - Verified that `Estimated pending rewards` and `ads notification count` retained after the browser restart
9. Confirm brave://rewards UI is updated when viewing an ad (also confirm same value after restarting the browser) - Viewed an ad and verified that ads panel shows the correct `estimated pending rewards` and `ads notification count` ![image](https://user-images.githubusercontent.com/38657976/91968421-429db180-ed32-11ea-9ac3-71af0f86b50e.png) - Verified that `Estimated pending rewards` and `ads notification count` retained after the browser restart
10. Verified brave://rewards UI is updated when claiming an ads grant (also confirm same value after restarting the browser) - Restored ad grants and ads claim is shown in the brave://rewards screen ![image](https://user-images.githubusercontent.com/38657976/91969058-2f3f1600-ed33-11ea-853b-2521740aa72a.png) - Verified able to claim ad grants and Rewards UI is updated ![image](https://user-images.githubusercontent.com/38657976/91969218-68778600-ed33-11ea-843e-30f970bef9a4.png) ![image](https://user-images.githubusercontent.com/38657976/91969281-7927fc00-ed33-11ea-91ba-84fc0c77e4c8.png) - Verified that ad grants value is retained after the browser restart - connected to KYC'd wallet and verified that ad grants are moved to uphold
11. Confirm "Ad notifications received this month" reset to 0 on the 1st of the month (also confirm same value after restarting the browser) - Viewed an Ad and verified that `Ad notifications received this month` is `1` ![image](https://user-images.githubusercontent.com/38657976/91968421-429db180-ed32-11ea-9ac3-71af0f86b50e.png) - Set system date ahead by 1 month ( Oct 1st), verified that `Notification count received` resets to `0` ![image](https://user-images.githubusercontent.com/38657976/91993741-602f4300-ed53-11ea-881c-db4e6157401d.png) - After changing system date, viewed an Ad and verified that `Notification count received` resets to `1` - Restart the browser and verified that ads panel data is retained
12. Verified that "Next payment date" is working as expected (also confirm same value after restarting the browser) - Viewed an Ad and verified that `Next Payment date` is displayed as `Oct 6` ![image](https://user-images.githubusercontent.com/38657976/91968421-429db180-ed32-11ea-9ac3-71af0f86b50e.png) - Set system date ahead by 1 month ( Oct 1st), verified that `Next Payment date` is displayed as `Nov 6` ![image](https://user-images.githubusercontent.com/38657976/91993741-602f4300-ed53-11ea-881c-db4e6157401d.png) - After changing system date, viewed an Ad and verified that `Next Payment date` is displayed as `Oct 6` (which is expected) - Restart the browser and verified that ads panel data is retained
13. Verified tokens are cashed-out periodically - Viewed an Ad exit the browser and set the system date ahead as per the token redemption date from the logs, relaunched the browser and verified that the token are redeemed successfully ``` [12796:8740:0903/221709.130:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 15 hours, 49 minutes, 57 seconds at 2:07 PM ``` ``` [18492:19380:0904/152302.274:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens [18492:19380:0904/152302.274:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/1da5f563-9c07-4270-a2fc-e8138f28fcb4 Response Status Code: 200 Response: {"status":"ok"} [18492:19380:0904/152302.277:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens on Monday, September 7, 2020 at 7:36:35 PM [18492:19380:0904/152302.277:VERBOSE1:ads_impl.cc(1439)] Successfully redeemed unblinded payment tokens [18492:19380:0904/152302.277:VERBOSE1:ad_rewards.cc(54)] Reconcile ad rewards with server ``` - Verified that `Estimated pending Rewards` in Ads panel is retained correctly (not reset to zero) after browser restart and token redemption - Verified the `unblinded_payment_tokens` in `confirmation.json` and confirmed that tokens are cashed out successfully - Viewed 2nd Ad and repeat the above steps and confirmed token are cashout successfully
14. Verified tokens are refilled when running low - Verified 50 unblinded tokens were refilled at startup ``` [8184:10460:0903/155434.522:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [8184:10460:0903/155434.522:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [8184:10460:0903/155434.522:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [8184:10460:0903/155434.522:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 50 tokens ``` - Clean profile, enable rewards and closed browser, removed all the unblinded_tokens except 9 from the `confirmation.json` file. launched the browser again and verified that tokens 41 tokens are refilled ``` [5336:944:0903/201353.480:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [5336:944:0903/201353.481:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [5336:944:0903/201353.481:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [5336:944:0903/201353.483:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 41 tokens ``` ``` [14476:12724:0903/195357.767:VERBOSE1:refill_unblinded_tokens.cc(285)] Added 41 unblinded tokens, you now have 50 unblinded tokens ```
15. Verified catalog is downloaded periodically - Verified catalog downloads at startup ``` [4788:4696:0903/152051.183:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog [4788:4696:0903/152051.183:VERBOSE1:get_catalog.cc(99)] Parsing catalog [4788:4696:0903/152051.193:VERBOSE1:get_catalog.cc(170)] Download catalog in 2 hours, 45 minutes, 58 seconds at 6:06 PM [4788:4696:0903/152051.202:VERBOSE3:bundle.cc(256)] Successfully saved creative ad notifications state [4788:4696:0903/152051.202:VERBOSE3:bundle.cc(266)] Successfully purged expired ad conversions [4788:4696:0903/152051.209:VERBOSE3:bundle.cc(276)] Successfully saved ad conversions state [4788:4696:0903/152051.218:VERBOSE3:get_catalog.cc(150)] Successfully saved catalog ``` - Set the system time ahead by ~ 2 hours, 45 minutes (took from above logs) to check the catalog download periodically, confirmed that new catalog gets downloaded and the timestamp is different for both the catalogs ``` [14064:15024:0903/182917.339:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v4/catalog [14064:15024:0903/182917.339:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog [14064:15024:0903/182917.339:VERBOSE1:get_catalog.cc(99)] Parsing catalog [14064:15024:0903/182917.344:VERBOSE1:get_catalog.cc(170)] Download catalog in 4 hours, 18 minutes, 0 seconds at 10:47 PM [14064:15024:0903/182917.369:VERBOSE3:bundle.cc(256)] Successfully saved creative ad notifications state [14064:15024:0903/182917.369:VERBOSE3:bundle.cc(266)] Successfully purged expired ad conversions [14064:15024:0903/182917.379:VERBOSE3:bundle.cc(276)] Successfully saved ad conversions state [14064:15024:0903/182917.388:VERBOSE3:get_catalog.cc(150)] Successfully saved catalog ```
16. Verified ad conversions are working as expected - Verified ad conversion started once the URL pattern is visited after viewing an Ad ``` [4560:10464:0902/201614.451:VERBOSE1:ad_conversions.cc(318)] Started ad conversion timer for creative instance id c1fce205-484e-4953-b546-650f5c963a42 and creative set id c7f96341-726f-4e5d-9494-5686db89664b which will trigger in 14 hours, 24 minutes, 5 seconds at 10:40 AM ``` - Verified Ad conversion is successful ``` [17760:7484:0904/202321.493:VERBOSE1:ads_impl.cc(1423)] Successfully redeemed unblinded token with confirmation id 59859cd2-9b0e-4eda-b596-a887fa79f4b1, creative instance id c1fce205-484e-4953-b546-650f5c963a42 and conversion ```
17. Verified state level targeting is working as expected - Verified that state-level ads are shown ![image](https://user-images.githubusercontent.com/38657976/92005169-c373a200-ed60-11ea-89f4-139e5e997ced.png) ![image](https://user-images.githubusercontent.com/38657976/92005216-d5eddb80-ed60-11ea-817d-4f8580951239.png) ``` [19720:21336:0902/210909.121:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 8902146f-7699-4a4d-b935-d5b1d7f94e76 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 category: untargeted targetUrl: https://www.brave.com geoTarget: US-OR confirmationType: view ```
18. Verified purchase intent is working as expected ``` [16832:14156:0902/213223.724:VERBOSE1:purchase_intent_classifier.cc(90)] Extracting purchase intent signal from visited URL ``` ``` [16832:14156:0902/213130.319:VERBOSE1:purchase_intent_classifier.cc(324)] Successfully loaded kkjipiepeooghlclkedllogndmohhnhi purchase intent user model ``` - Verified purchaseintent history for a `Keyword` ``` "purchaseIntentSignalHistory": { "gamer-mainstream enthusiasts": [ { "timestamp_in_seconds": 1599062543, "weight": 1 }, { "timestamp_in_seconds": 1599062547, "weight": 1 } ] }, ``` - Verified purchaseintent history for a `site` ``` "purchaseIntentSignalHistory": { "gamer-alpha influencers": [ { "timestamp_in_seconds": 1599121516, "weight": 1 } ], "gamer-mainstream enthusiasts": [ { "timestamp_in_seconds": 1599121516, "weight": 1 } ], "gamer-pc purists": [ { "timestamp_in_seconds": 1599121516, "weight": 1 } ] }, ``` - Encountered https://github.com/brave/brave-browser/issues/10771

Verification in progress with

Brave   1.14.74 Chromium: 85.0.4183.83 (Official Build) dev (64-bit)
Revision    94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS  macOS Version 10.14.6 (Build 18G3020)

Verified test plan from https://github.com/brave/brave-core/pull/6248

1.1 Verified page classification for secure site https://brave.com ``` [684:775:0903/133034.213536:VERBOSE1:page_classifier.cc(86)] Classified page as technology & computing-software [684:775:0903/133034.213608:VERBOSE1:page_classifier.cc(94)] Winning page classification over time is technology & computing-software ```
1.2. Verified page classification for nonsecure site http://orimi.com ``` [684:775:0903/133215.030455:VERBOSE1:page_classifier.cc(86)] Classified page as hobbies & interests-genealogy [684:775:0903/133215.030691:VERBOSE1:page_classifier.cc(94)] Winning page classification over time is technology & computing-software ```
2. Verified users are rewarded for viewing ads ``` [772:775:0903/133604.393710:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0.05 BAT, you now have 1 unblinded payment tokens [772:775:0903/133604.394335:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id d99c9e91-020c-420d-aab1-0223a58b1856, creative instance id 022c8846-80da-4c76-b099-c84391fca85f and view ``` scenario 2
3. Verified confirmation is sent to the server when dismissing an ad ``` [772:775:0903/133632.129631:VERBOSE3:ad_notification_event_dismissed.cc(32)] Dismissed ad notification with uuid fa46aadf-d59a-477d-8c4d-7944214c77ab and 022c8846-80da-4c76-b099-c84391fca85f creative instance id [772:775:0903/133632.129823:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 022c8846-80da-4c76-b099-c84391fca85f creativeSetId: 32439113-32d2-4b50-9497-405b7eedd1d5 category: untargeted targetUrl: https://travala.com/ geoTarget: US confirmationType: dismiss [772:775:0903/133632.129871:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [772:775:0903/133632.130612:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [772:775:0903/133632.130682:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [772:775:0903/133632.130725:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/46b078af-3a36-41d7-a616-6817da88eb10/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiN3FQRmYzVG9sdWoya1FKMmxMWDRJZGlkcTdqeDZIWlNVV3d3cFBHV1Z6dz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjAyMmM4ODQ2LTgwZGEtNGM3Ni1iMDk5LWM4NDM5MWZjYTg1ZlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJkaXNtaXNzXCJ9Iiwic2lnbmF0dXJlIjoiRVVCbEYvRnpuTG9CTWxnMC9jdHBmWjZLbWlIOGl2RW9VcEdwd3VQUExiMk5kTjFodEJ6Q1JSS2kyNnc4dG95L2pYNHBqMU15ajNtcTdIOFVmR3ZjQWc9PSIsInQiOiJUUEY3SEY0dWIrcnhFZnpDV2Rad25LNVdnNEJFSEZRaURtVXBBV0kveE5aaU5HdndYdGI3MW5PT1lpRlppZVhHaFhOc2s5aW9WK1c1ZXk0UnI4U2kvQT09In0= Content: {"blindedPaymentToken":"7qPFf3Toluj2kQJ2lLX4Ididq7jx6HZSUWwwpPGWVzw=","buildChannel":"dev","creativeInstanceId":"022c8846-80da-4c76-b099-c84391fca85f","payload":{},"platform":"macos","type":"dismiss"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [772:775:0903/133632.789613:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [772:775:0903/133632.789697:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/46b078af-3a36-41d7-a616-6817da88eb10/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiN3FQRmYzVG9sdWoya1FKMmxMWDRJZGlkcTdqeDZIWlNVV3d3cFBHV1Z6dz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjAyMmM4ODQ2LTgwZGEtNGM3Ni1iMDk5LWM4NDM5MWZjYTg1ZlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJkaXNtaXNzXCJ9Iiwic2lnbmF0dXJlIjoiRVVCbEYvRnpuTG9CTWxnMC9jdHBmWjZLbWlIOGl2RW9VcEdwd3VQUExiMk5kTjFodEJ6Q1JSS2kyNnc4dG95L2pYNHBqMU15ajNtcTdIOFVmR3ZjQWc9PSIsInQiOiJUUEY3SEY0dWIrcnhFZnpDV2Rad25LNVdnNEJFSEZRaURtVXBBV0kveE5aaU5HdndYdGI3MW5PT1lpRlppZVhHaFhOc2s5aW9WK1c1ZXk0UnI4U2kvQT09In0= Response Status Code: 201 Response: {"id":"46b078af-3a36-41d7-a616-6817da88eb10","payload":{},"createdAt":"2020-09-03T17:36:32.464Z","type":"dismiss","modifiedAt":"2020-09-03T17:36:32.464Z","creativeInstanceId":"022c8846-80da-4c76-b099-c84391fca85f"} [772:775:0903/133632.789790:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [772:775:0903/133632.789869:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [772:775:0903/133632.789915:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/46b078af-3a36-41d7-a616-6817da88eb10/paymentToken Method: BraveAdsUrlRequestMethod::GET [772:775:0903/133632.958169:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/46b078af-3a36-41d7-a616-6817da88eb10/paymentToken [772:775:0903/133632.958492:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/46b078af-3a36-41d7-a616-6817da88eb10/paymentToken [772:775:0903/133632.958843:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [772:775:0903/133632.958926:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/46b078af-3a36-41d7-a616-6817da88eb10/paymentToken Response Status Code: 200 Response: {"id":"46b078af-3a36-41d7-a616-6817da88eb10","createdAt":"2020-09-03T17:36:32.464Z","type":"dismiss","modifiedAt":"2020-09-03T17:36:32.486Z","creativeInstanceId":"022c8846-80da-4c76-b099-c84391fca85f","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"rTPM9Hm1yOfJJ4Oa6fttLi7M/hV5fe+lyAeMqTkJfwcTCiE8JOKixFrJv3ZJUDCLKeq65TcwTQJNPvJSN31jBA==","signedTokens":["spYYyGtqH8/5i072N9ylJG3biOXj0GY4iPT2y9FjsSA="]}} [772:775:0903/133632.960392:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 2 unblinded payment tokens [772:775:0903/133632.961020:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 46b078af-3a36-41d7-a616-6817da88eb10, creative instance id 022c8846-80da-4c76-b099-c84391fca85f and dismiss ``` Scenario 3
4. Verified confirmation is sent to the server when an ad has landed (sustained) ``` [998:775:0903/153144.699766:VERBOSE1:ads_impl.cc(1305)] Start timer to sustain ad for https://travala.com/ which will trigger in 0 hours, 0 minutes, 10 seconds at 3:31 PM ``` ``` [998:775:0903/153154.704535:VERBOSE1:ads_impl.cc(1319)] Sustained ad for https://travala.com/ [998:775:0903/153154.704745:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: bc6523ee-a790-487a-bb0e-7fda52b8af7e creativeSetId: 32439113-32d2-4b50-9497-405b7eedd1d5 category: untargeted targetUrl: https://travala.com/ geoTarget: US confirmationType: landed [998:775:0903/153154.704887:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [998:775:0903/153154.705657:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [998:775:0903/153154.705732:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [998:775:0903/153154.705774:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/3bc1c4f2-af1f-4a22-845b-f04757040622/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiVXJIUUU2V1pEZG5vSjBDQ1BWMUtwTElqamFLVGh1N1ArbEZJNTJzVW9XWT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcImJjNjUyM2VlLWE3OTAtNDg3YS1iYjBlLTdmZGE1MmI4YWY3ZVwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJsYW5kZWRcIn0iLCJzaWduYXR1cmUiOiJIbmVpWllBSU0yMEZmL0F4Ry9FUzNCYmxxWVViL29MVFdtSHByM0dUZ2RGeU5EM1ZsYVk3RjFNaFFIc2EwRlM4emN2SVRFbjZGVG8wdC9SN09nMnhidz09IiwidCI6InViT3V1TWtYTkNpVm4rQUpWaHNRYThDWnBPeWNyR1FVVzhNQ09zL1Y4RWFvU3FWRnNUMVR5S1pwdFk0dUhJSXl4Ui9lMlNQZkEwV0ZISDJpZEhKZUhnPT0ifQ== Content: {"blindedPaymentToken":"UrHQE6WZDdnoJ0CCPV1KpLIjjaKThu7P+lFI52sUoWY=","buildChannel":"dev","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e","payload":{},"platform":"macos","type":"landed"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [998:775:0903/153154.926148:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [998:775:0903/153154.926298:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/3bc1c4f2-af1f-4a22-845b-f04757040622/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiVXJIUUU2V1pEZG5vSjBDQ1BWMUtwTElqamFLVGh1N1ArbEZJNTJzVW9XWT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcImJjNjUyM2VlLWE3OTAtNDg3YS1iYjBlLTdmZGE1MmI4YWY3ZVwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJsYW5kZWRcIn0iLCJzaWduYXR1cmUiOiJIbmVpWllBSU0yMEZmL0F4Ry9FUzNCYmxxWVViL29MVFdtSHByM0dUZ2RGeU5EM1ZsYVk3RjFNaFFIc2EwRlM4emN2SVRFbjZGVG8wdC9SN09nMnhidz09IiwidCI6InViT3V1TWtYTkNpVm4rQUpWaHNRYThDWnBPeWNyR1FVVzhNQ09zL1Y4RWFvU3FWRnNUMVR5S1pwdFk0dUhJSXl4Ui9lMlNQZkEwV0ZISDJpZEhKZUhnPT0ifQ== Response Status Code: 201 Response: {"id":"3bc1c4f2-af1f-4a22-845b-f04757040622","payload":{},"createdAt":"2020-09-03T19:31:54.796Z","type":"landed","modifiedAt":"2020-09-03T19:31:54.796Z","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e"} [998:775:0903/153154.926826:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [998:775:0903/153154.926886:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [998:775:0903/153154.926934:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/3bc1c4f2-af1f-4a22-845b-f04757040622/paymentToken Method: BraveAdsUrlRequestMethod::GET [998:775:0903/153155.077481:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/3bc1c4f2-af1f-4a22-845b-f04757040622/paymentToken [998:775:0903/153155.077741:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/3bc1c4f2-af1f-4a22-845b-f04757040622/paymentToken [998:775:0903/153155.078004:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [998:775:0903/153155.078066:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/3bc1c4f2-af1f-4a22-845b-f04757040622/paymentToken Response Status Code: 200 Response: {"id":"3bc1c4f2-af1f-4a22-845b-f04757040622","createdAt":"2020-09-03T19:31:54.796Z","type":"landed","modifiedAt":"2020-09-03T19:31:54.826Z","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"JZCzW/qzuAVxqUTUu9xf8J/5/sZz42SlBmU1BJLTrw9oCM/aytJ8aYSS9Pw9Hod4LEReijpEtf/zpJIEFaHlAg==","signedTokens":["DjZY6wf2c85ACwTBPsRzy/CGEWnRyMOWXz4FHQYGtRk="]}} [998:775:0903/153155.079223:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 3 unblinded payment tokens [998:775:0903/153155.079731:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 3bc1c4f2-af1f-4a22-845b-f04757040622, creative instance id bc6523ee-a790-487a-bb0e-7fda52b8af7e and landed ```
5. Verified confirmation is sent to the server when flagging an ad ``` [998:775:0903/154023.328492:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: bc6523ee-a790-487a-bb0e-7fda52b8af7e creativeSetId: 32439113-32d2-4b50-9497-405b7eedd1d5 confirmationType: flag [998:775:0903/154023.328592:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [998:775:0903/154023.329222:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [998:775:0903/154023.329835:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [998:775:0903/154023.329897:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2232a7d6-c842-4686-8c67-d0a5086434fe/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiS0J1aXNOQUVvekhSVmVaM2xTaUpveTVWQ1RrOHJlMTFoek5JTlI2cU1RYz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcImJjNjUyM2VlLWE3OTAtNDg3YS1iYjBlLTdmZGE1MmI4YWY3ZVwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJmbGFnXCJ9Iiwic2lnbmF0dXJlIjoiczFuWHN6MnU0NGhpTkowWERHU3lzVFBBa2s3YzF4SW1RQXdHQUMvNmwwOFg1dDNLcXVvN21BUFdNS3ViNXZWR3lSbEJYY2tYR1VrU3FwT2doRWV2UlE9PSIsInQiOiI4WUlFWm1wVTZLTUhHWldPV3F4VTZlTUUwSzErUVBNc1Y2REJML2h6WGx0NWFwKzhRcHAza3Z4U3lQdjFTUFJOSTdUL0IwQlZZdmpzWFhpZkt2Zi9VUT09In0= Content: {"blindedPaymentToken":"KBuisNAEozHRVeZ3lSiJoy5VCTk8re11hzNINR6qMQc=","buildChannel":"dev","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e","payload":{},"platform":"macos","type":"flag"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [998:775:0903/154023.916518:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [998:775:0903/154023.916598:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2232a7d6-c842-4686-8c67-d0a5086434fe/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiS0J1aXNOQUVvekhSVmVaM2xTaUpveTVWQ1RrOHJlMTFoek5JTlI2cU1RYz1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcImJjNjUyM2VlLWE3OTAtNDg3YS1iYjBlLTdmZGE1MmI4YWY3ZVwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJmbGFnXCJ9Iiwic2lnbmF0dXJlIjoiczFuWHN6MnU0NGhpTkowWERHU3lzVFBBa2s3YzF4SW1RQXdHQUMvNmwwOFg1dDNLcXVvN21BUFdNS3ViNXZWR3lSbEJYY2tYR1VrU3FwT2doRWV2UlE9PSIsInQiOiI4WUlFWm1wVTZLTUhHWldPV3F4VTZlTUUwSzErUVBNc1Y2REJML2h6WGx0NWFwKzhRcHAza3Z4U3lQdjFTUFJOSTdUL0IwQlZZdmpzWFhpZkt2Zi9VUT09In0= Response Status Code: 201 Response: {"id":"2232a7d6-c842-4686-8c67-d0a5086434fe","payload":{},"createdAt":"2020-09-03T19:40:23.778Z","type":"flag","modifiedAt":"2020-09-03T19:40:23.778Z","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e"} [998:775:0903/154023.916679:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [998:775:0903/154023.916722:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [998:775:0903/154023.916764:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2232a7d6-c842-4686-8c67-d0a5086434fe/paymentToken Method: BraveAdsUrlRequestMethod::GET [998:775:0903/154024.065690:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/2232a7d6-c842-4686-8c67-d0a5086434fe/paymentToken [998:775:0903/154024.065994:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/2232a7d6-c842-4686-8c67-d0a5086434fe/paymentToken [998:775:0903/154024.066313:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [998:775:0903/154024.066390:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2232a7d6-c842-4686-8c67-d0a5086434fe/paymentToken Response Status Code: 200 Response: {"id":"2232a7d6-c842-4686-8c67-d0a5086434fe","createdAt":"2020-09-03T19:40:23.778Z","type":"flag","modifiedAt":"2020-09-03T19:40:23.802Z","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"DQ5G1HFdDGWFh9bPY1oYKVmNopifZcpKZwtKqXB3AgDVuCuwvKpB/gCDbp4Li9lhAZQrGIHOI/rv0bwG/UCfBA==","signedTokens":["ftau8gIYmnTHzuclZ+AKu4ATyjdqeeAGBkSYOsh4g3A="]}} [998:775:0903/154024.067874:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 4 unblinded payment tokens [998:775:0903/154024.068472:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 2232a7d6-c842-4686-8c67-d0a5086434fe, creative instance id bc6523ee-a790-487a-bb0e-7fda52b8af7e and flag ``` Scenario 5
6. Verified confirmation is sent to the server when upvoting an ad ``` [1072:775:0903/154954.077739:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 confirmationType: upvote [1072:775:0903/154954.077828:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [1072:775:0903/154954.078658:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [1072:775:0903/154954.078762:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [1072:775:0903/154954.078811:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/995ec2ae-8c73-482a-a18e-43b2cd5bd603/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiV21aMHlMTzc4Q2hFYVVOZGdBWFhHdzR0d3VQdkFuMVp3TEhMeEJ0aU1UST1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJ1cHZvdGVcIn0iLCJzaWduYXR1cmUiOiJXcFVneXZrMEY1RE1mTWlRQy84SGhGSFRmeHl3dkxlMFJEMm5xSmszU2thSGFSaEdzZWYwc1BqbjZyNGhtcnlpb3k1ckFMUTF5RC9qSmRQcWhLN3pZdz09IiwidCI6IlpnUFpGbnRrLzl6WWg1OHFjTEZiZm9mWEZqRTVtNCt5SVNNQ2NTVy9CUzhZVTVlaDgrdkNrRFdlbnJJRXc1UE5GSitNZGhFTjJ4cVgwNmx4NWRLelV3PT0ifQ== Content: {"blindedPaymentToken":"WmZ0yLO78ChEaUNdgAXXGw4twuPvAn1ZwLHLxBtiMTI=","buildChannel":"dev","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","payload":{},"platform":"macos","type":"upvote"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [1072:775:0903/154954.284227:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [1072:775:0903/154954.284313:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/995ec2ae-8c73-482a-a18e-43b2cd5bd603/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiV21aMHlMTzc4Q2hFYVVOZGdBWFhHdzR0d3VQdkFuMVp3TEhMeEJ0aU1UST1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJ1cHZvdGVcIn0iLCJzaWduYXR1cmUiOiJXcFVneXZrMEY1RE1mTWlRQy84SGhGSFRmeHl3dkxlMFJEMm5xSmszU2thSGFSaEdzZWYwc1BqbjZyNGhtcnlpb3k1ckFMUTF5RC9qSmRQcWhLN3pZdz09IiwidCI6IlpnUFpGbnRrLzl6WWg1OHFjTEZiZm9mWEZqRTVtNCt5SVNNQ2NTVy9CUzhZVTVlaDgrdkNrRFdlbnJJRXc1UE5GSitNZGhFTjJ4cVgwNmx4NWRLelV3PT0ifQ== Response Status Code: 201 Response: {"id":"995ec2ae-8c73-482a-a18e-43b2cd5bd603","payload":{},"createdAt":"2020-09-03T19:49:54.169Z","type":"upvote","modifiedAt":"2020-09-03T19:49:54.169Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953"} [1072:775:0903/154954.284397:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [1072:775:0903/154954.284441:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [1072:775:0903/154954.284484:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/995ec2ae-8c73-482a-a18e-43b2cd5bd603/paymentToken Method: BraveAdsUrlRequestMethod::GET [1072:775:0903/154954.452837:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/995ec2ae-8c73-482a-a18e-43b2cd5bd603/paymentToken [1072:775:0903/154954.453136:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/995ec2ae-8c73-482a-a18e-43b2cd5bd603/paymentToken [1072:775:0903/154954.453445:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [1072:775:0903/154954.453521:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/995ec2ae-8c73-482a-a18e-43b2cd5bd603/paymentToken Response Status Code: 200 Response: {"id":"995ec2ae-8c73-482a-a18e-43b2cd5bd603","createdAt":"2020-09-03T19:49:54.169Z","type":"upvote","modifiedAt":"2020-09-03T19:49:54.192Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"vTppxd+xWgf/tPZdDYjA7XygZl5zElChpDqQjV3lGQw1nfR5ozlzW/vNiVRaSgE5Oc851Rj9xhtbtuEZ0spQBQ==","signedTokens":["esZ4NQ5IVE1H9RtwbvTNhFGYj5mXZ77YO7H/iFOt7yY="]}} [1072:775:0903/154954.454923:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 3 unblinded payment tokens [1072:775:0903/154954.455478:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 995ec2ae-8c73-482a-a18e-43b2cd5bd603, creative instance id 7c644da6-051a-473f-9bac-bff887540953 and upvote ``` Scenario 6
7. Verified confirmation is sent to the server when downvoting an ad ``` [1072:775:0903/155152.201370:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 confirmationType: downvote [1072:775:0903/155152.201429:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [1072:775:0903/155152.201849:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [1072:775:0903/155152.201899:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [1072:775:0903/155152.201930:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/10c7084a-1595-4093-8e31-d36bdacf2b26/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiMU9pT2xrWkxmSk4zUkFHM2dmZXdlODZoZjFMaGxOcGFjN3ByRFFvZExBUT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJkb3dudm90ZVwifSIsInNpZ25hdHVyZSI6IjJQa25nTFpHSGVrTHpDbDJ6alE4OUVIaGhvOGdmU0NyZUhCc3pKa2ErdFRDMThHeDQ0UXBUYlV2NW9Qc0JyV0pZeWdTNC9oYjQvNVowanRPcXlKdzN3PT0iLCJ0IjoiR3F0cUNSMWxxcWpwa0VBYWcyT0NpMmo3OUt0dExEd3JCQVRCb05SaG9xQTNoRmZzV2xuME1Zckczd2N4M0NrZklUSENNemtKbHQ4eit0NUlEbFJMR3c9PSJ9 Content: {"blindedPaymentToken":"1OiOlkZLfJN3RAG3gfewe86hf1LhlNpac7prDQodLAQ=","buildChannel":"dev","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","payload":{},"platform":"macos","type":"downvote"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [1072:775:0903/155152.635013:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [1072:775:0903/155152.635108:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/10c7084a-1595-4093-8e31-d36bdacf2b26/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiMU9pT2xrWkxmSk4zUkFHM2dmZXdlODZoZjFMaGxOcGFjN3ByRFFvZExBUT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjdjNjQ0ZGE2LTA1MWEtNDczZi05YmFjLWJmZjg4NzU0MDk1M1wiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJkb3dudm90ZVwifSIsInNpZ25hdHVyZSI6IjJQa25nTFpHSGVrTHpDbDJ6alE4OUVIaGhvOGdmU0NyZUhCc3pKa2ErdFRDMThHeDQ0UXBUYlV2NW9Qc0JyV0pZeWdTNC9oYjQvNVowanRPcXlKdzN3PT0iLCJ0IjoiR3F0cUNSMWxxcWpwa0VBYWcyT0NpMmo3OUt0dExEd3JCQVRCb05SaG9xQTNoRmZzV2xuME1Zckczd2N4M0NrZklUSENNemtKbHQ4eit0NUlEbFJMR3c9PSJ9 Response Status Code: 201 Response: {"id":"10c7084a-1595-4093-8e31-d36bdacf2b26","payload":{},"createdAt":"2020-09-03T19:51:52.523Z","type":"downvote","modifiedAt":"2020-09-03T19:51:52.523Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953"} [1072:775:0903/155152.635199:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [1072:775:0903/155152.635245:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [1072:775:0903/155152.635288:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/10c7084a-1595-4093-8e31-d36bdacf2b26/paymentToken Method: BraveAdsUrlRequestMethod::GET [1072:775:0903/155152.804143:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/10c7084a-1595-4093-8e31-d36bdacf2b26/paymentToken [1072:775:0903/155152.804453:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/10c7084a-1595-4093-8e31-d36bdacf2b26/paymentToken [1072:775:0903/155152.804776:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [1072:775:0903/155152.804853:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/10c7084a-1595-4093-8e31-d36bdacf2b26/paymentToken Response Status Code: 200 Response: {"id":"10c7084a-1595-4093-8e31-d36bdacf2b26","createdAt":"2020-09-03T19:51:52.523Z","type":"downvote","modifiedAt":"2020-09-03T19:51:52.545Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"nZKZ+XsX7zDn931ehgEx/zV2gnkfxYruEwnxerPykgNejGHeYXNgkVVv7mToarhQ4W00h5FpMqA3/nIO0FF+CQ==","signedTokens":["XqgH6ZjIR/m6nxJPCcKyUpEcAKk0J1hYJXbwy6dGSm0="]}} [1072:775:0903/155152.806340:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 4 unblinded payment tokens [1072:775:0903/155152.806915:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 10c7084a-1595-4093-8e31-d36bdacf2b26, creative instance id 7c644da6-051a-473f-9bac-bff887540953 and downvote ``` Scenario 7
19. Verified confirmation is sent to the server when clicking an ad ``` [998:775:0903/153141.667502:VERBOSE3:ad_notification_event_clicked.cc(32)] Clicked ad notification with uuid b4b408a3-75fd-41f0-953b-6d9d33cb2a4e and bc6523ee-a790-487a-bb0e-7fda52b8af7e creative instance id [998:775:0903/153141.668828:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: bc6523ee-a790-487a-bb0e-7fda52b8af7e creativeSetId: 32439113-32d2-4b50-9497-405b7eedd1d5 category: untargeted targetUrl: https://travala.com/ geoTarget: US confirmationType: click [998:775:0903/153141.668889:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [998:775:0903/153141.668994:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [998:775:0903/153141.669029:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [998:775:0903/153141.669061:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2a74f485-527d-43a6-9e14-a1cc566cbfea/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwicXZRK0JTYk8vNUpnMGRkd2RLbk9ZMXVxcjBIVW1aQ2E5R0VzdDJacXBCVT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcImJjNjUyM2VlLWE3OTAtNDg3YS1iYjBlLTdmZGE1MmI4YWY3ZVwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJjbGlja1wifSIsInNpZ25hdHVyZSI6ImYwRk5oWUFnWXMwSXgxUXM1djdBZTJJTUM2RlhMaVNnVmlHSlN1aGtZTFdjL0VtU1VYT1BRWWpZOE1QaGJmcjA4NVROS25CRnFoSGRJY3VFWlUxUGVRPT0iLCJ0IjoiNUhoYkgzODNsOEpWQnlRV25IcjJUQU9PWjVQUjdPL2NhNEttdG5ZMktuYUxXNEkrelRiSEZCTGhvczJGblprbytBVlVvT0RxbjVjeE1iNG1sblRlZlE9PSJ9 Content: {"blindedPaymentToken":"qvQ+BSbO/5Jg0ddwdKnOY1uqr0HUmZCa9GEst2ZqpBU=","buildChannel":"dev","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e","payload":{},"platform":"macos","type":"click"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [998:775:0903/153141.938423:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [998:775:0903/153141.938492:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2a74f485-527d-43a6-9e14-a1cc566cbfea/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwicXZRK0JTYk8vNUpnMGRkd2RLbk9ZMXVxcjBIVW1aQ2E5R0VzdDJacXBCVT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcImJjNjUyM2VlLWE3OTAtNDg3YS1iYjBlLTdmZGE1MmI4YWY3ZVwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJjbGlja1wifSIsInNpZ25hdHVyZSI6ImYwRk5oWUFnWXMwSXgxUXM1djdBZTJJTUM2RlhMaVNnVmlHSlN1aGtZTFdjL0VtU1VYT1BRWWpZOE1QaGJmcjA4NVROS25CRnFoSGRJY3VFWlUxUGVRPT0iLCJ0IjoiNUhoYkgzODNsOEpWQnlRV25IcjJUQU9PWjVQUjdPL2NhNEttdG5ZMktuYUxXNEkrelRiSEZCTGhvczJGblprbytBVlVvT0RxbjVjeE1iNG1sblRlZlE9PSJ9 Response Status Code: 201 Response: {"id":"2a74f485-527d-43a6-9e14-a1cc566cbfea","payload":{},"createdAt":"2020-09-03T19:31:41.744Z","type":"click","modifiedAt":"2020-09-03T19:31:41.744Z","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e"} [998:775:0903/153141.938561:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [998:775:0903/153141.938595:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [998:775:0903/153141.938629:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2a74f485-527d-43a6-9e14-a1cc566cbfea/paymentToken Method: BraveAdsUrlRequestMethod::GET [998:775:0903/153142.071491:VERBOSE1:publisher.cc(502)] Publisher list is empty [998:775:0903/153142.112300:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/2a74f485-527d-43a6-9e14-a1cc566cbfea/paymentToken [998:775:0903/153142.112665:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/2a74f485-527d-43a6-9e14-a1cc566cbfea/paymentToken [998:775:0903/153142.114773:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [998:775:0903/153142.115187:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/2a74f485-527d-43a6-9e14-a1cc566cbfea/paymentToken Response Status Code: 200 Response: {"id":"2a74f485-527d-43a6-9e14-a1cc566cbfea","createdAt":"2020-09-03T19:31:41.744Z","type":"click","modifiedAt":"2020-09-03T19:31:41.774Z","creativeInstanceId":"bc6523ee-a790-487a-bb0e-7fda52b8af7e","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"c6k8NEVXm/QStNSuUsRwsM+psoMJ69D7Y8jUT8oJDQy3mCtqQ/4sLCWkEEWkdOXjkac9GyVporyb567FRw5KCg==","signedTokens":["YimOTnBPFw4PMuq37KUeVPXZnKmonZSaWZDakhle4Wc="]}} [998:775:0903/153142.116484:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 2 unblinded payment tokens [998:775:0903/153142.117107:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 2a74f485-527d-43a6-9e14-a1cc566cbfea, creative instance id bc6523ee-a790-487a-bb0e-7fda52b8af7e and click ``` Scenario 19
20. Verified confirmation is sent to the server when viewing an ad ``` [772:775:0903/133603.547851:VERBOSE3:ad_notification_event_viewed.cc(30)] Viewed ad notification with uuid fa46aadf-d59a-477d-8c4d-7944214c77ab and 022c8846-80da-4c76-b099-c84391fca85f creative instance id [772:775:0903/133603.547929:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 022c8846-80da-4c76-b099-c84391fca85f creativeSetId: 32439113-32d2-4b50-9497-405b7eedd1d5 category: untargeted targetUrl: https://travala.com/ geoTarget: US confirmationType: view [772:775:0903/133603.547966:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [772:775:0903/133603.548632:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [772:775:0903/133603.548685:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [772:775:0903/133603.548723:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/d99c9e91-020c-420d-aab1-0223a58b1856/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiVm1sNVZPUVVxK2UzY05EenREL1BXVmhmczF2eVQzb2t4aFJ5VmZ6VDIyND1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjAyMmM4ODQ2LTgwZGEtNGM3Ni1iMDk5LWM4NDM5MWZjYTg1ZlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJ2aWV3XCJ9Iiwic2lnbmF0dXJlIjoic2VQWVVaQXBBREhuelZsbk9nbFdFdlJ5N1hPby9WY0RuTjhTVGczRVdSQVBMU004dm1KQlo1NzVPTTg2aHNZVzJ4K2J5R2Y2bmNYblFDNHZsaittRnc9PSIsInQiOiI5MWdPTVRTMkNXcDhaREE1dmZqUHlqUkVRWEJmcVhpYjRja2hqRUxvSnZpZGlwZEpFREtUVjBTalN1Y0lJSEtVOU16WklqQjcvSVJzWmFXWW5Qa0diQT09In0= Content: {"blindedPaymentToken":"Vml5VOQUq+e3cNDztD/PWVhfs1vyT3okxhRyVfzT224=","buildChannel":"dev","creativeInstanceId":"022c8846-80da-4c76-b099-c84391fca85f","payload":{},"platform":"macos","type":"view"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [772:775:0903/133604.219510:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [772:775:0903/133604.219576:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/d99c9e91-020c-420d-aab1-0223a58b1856/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiVm1sNVZPUVVxK2UzY05EenREL1BXVmhmczF2eVQzb2t4aFJ5VmZ6VDIyND1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjAyMmM4ODQ2LTgwZGEtNGM3Ni1iMDk5LWM4NDM5MWZjYTg1ZlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJ2aWV3XCJ9Iiwic2lnbmF0dXJlIjoic2VQWVVaQXBBREhuelZsbk9nbFdFdlJ5N1hPby9WY0RuTjhTVGczRVdSQVBMU004dm1KQlo1NzVPTTg2aHNZVzJ4K2J5R2Y2bmNYblFDNHZsaittRnc9PSIsInQiOiI5MWdPTVRTMkNXcDhaREE1dmZqUHlqUkVRWEJmcVhpYjRja2hqRUxvSnZpZGlwZEpFREtUVjBTalN1Y0lJSEtVOU16WklqQjcvSVJzWmFXWW5Qa0diQT09In0= Response Status Code: 201 Response: {"id":"d99c9e91-020c-420d-aab1-0223a58b1856","payload":{},"createdAt":"2020-09-03T17:36:04.060Z","type":"view","modifiedAt":"2020-09-03T17:36:04.060Z","creativeInstanceId":"022c8846-80da-4c76-b099-c84391fca85f"} [772:775:0903/133604.219666:VERBOSE1:redeem_unblinded_token.cc(139)] FetchPaymentToken [772:775:0903/133604.219702:VERBOSE2:redeem_unblinded_token.cc(140)] GET /v1/confirmation/{confirmation_id}/paymentToken [772:775:0903/133604.219736:VERBOSE5:redeem_unblinded_token.cc(144)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/d99c9e91-020c-420d-aab1-0223a58b1856/paymentToken Method: BraveAdsUrlRequestMethod::GET [772:775:0903/133604.391433:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/d99c9e91-020c-420d-aab1-0223a58b1856/paymentToken [772:775:0903/133604.391754:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/d99c9e91-020c-420d-aab1-0223a58b1856/paymentToken [772:775:0903/133604.392125:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [772:775:0903/133604.392208:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/d99c9e91-020c-420d-aab1-0223a58b1856/paymentToken Response Status Code: 200 Response: {"id":"d99c9e91-020c-420d-aab1-0223a58b1856","createdAt":"2020-09-03T17:36:04.060Z","type":"view","modifiedAt":"2020-09-03T17:36:04.084Z","creativeInstanceId":"022c8846-80da-4c76-b099-c84391fca85f","paymentToken":{"publicKey":"bPE1QE65mkIgytffeu7STOfly+x10BXCGuk5pVlOHQU=","batchProof":"RhZgzYM8Ydk3G0RT2O7xkKVmw32sYxaK9Vb4I1TmeAw0Y6No9cnSjlclCGSw7DVa8HB2UCaXeyySsUA6+cqyCA==","signedTokens":["cjWV4mtyFQ2fR/akq3gtoxJWHvRU8kAQ5aqVW1dPOjY="]}} [772:775:0903/133604.393710:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0.05 BAT, you now have 1 unblinded payment tokens [772:775:0903/133604.394335:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id d99c9e91-020c-420d-aab1-0223a58b1856, creative instance id 022c8846-80da-4c76-b099-c84391fca85f and view ``` Scenario 20

Verified using

Brave   1.14.73 Chromium: 85.0.4183.83 (Official Build) beta (64-bit)
Revision    94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS  macOS Version 10.14.6 (Build 18G3020)
10. Verified brave://rewards UI is updated when claiming an ads grant (also confirm same value after restarting the browser) Ad panel and wallet balance prior to claiming ad grant: Scenario 10a before scenario 10b before Claimed ad grant: scenario 10c Confirmed `Estimated pending rewards` decreased as expected: scenario 10d note - per discussion with Jimmy there was a bonus added to my Ad grant, so that is why the estimated pending rewards remaining are a bit higher than expected, so this is ok. Also note, Sep 5 is still displayed since today is Sep 4 and the ad grants were sent a bit early. Confirmed wallet balance updated with Ad grant: scenario 10e Confirmed `Estimated pending rewards`, wallet balance, and wallet summary panel all were retained on browser restart: scenario 10f - after restart Confirmed `Estimated pending rewards` and Ad notifications received this month both increment as expected after receiving an ad: Scenario 10g
Brave   1.14.75 Chromium: 85.0.4183.83 (Official Build) dev (64-bit)
Revision    94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS  macOS Version 10.14.6 (Build 18G3020)
8. Verified brave://rewards UI is updated when rewarded for viewing an ad (also confirm same value after restarting the browser) - Viewed an ad and verified that the viewed ad is rewarded and ads panel shows the correct `Estimated pending rewards` and `Ads notification` count - Confirmed data is retained after browser restart 8a 8b
9. Confirm brave://rewards UI is updated when viewing an ad (also confirm same value after restarting the browser) - Viewed an ad and verified that the viewed ad is rewarded and ads panel shows the correct `Estimated pending rewards` and `Ads notification` count - Confirmed data is retained after browser restart 9a 9b
12. Verified that "Next payment date" is working as expected (also confirm same value after restarting the browser) Viewed an Ad and verified that Next Payment date is displayed as Oct 5 12a Set system date ahead by 1 month ( Oct 1st), verified that Next Payment date is displayed as Nov 5 12b After changing system date, viewed an Ad and verified that Next Payment date is displayed as Oct 5 (which is expected since there is server interaction for cashing in the previous tokens which has the correct date) ``` [2125:775:1001/104027.689675:VERBOSE1:ads_impl.cc(1439)] Successfully redeemed unblinded payment tokens [2125:775:1001/104027.689952:VERBOSE1:ad_rewards.cc(54)] Reconcile ad rewards with server [2125:775:1001/104027.690015:VERBOSE1:ad_rewards.cc(162)] GetPayments [2125:775:1001/104027.690057:VERBOSE2:ad_rewards.cc(163)] GET /v1/confirmation/payment/{payment_id} [2125:775:1001/104027.691820:VERBOSE5:ad_rewards.cc(167)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/9f4db138-64a2-4b67-b5d4-65c97b93ee24 Method: BraveAdsUrlRequestMethod::GET [2125:775:1001/104028.068109:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/payment/9f4db138-64a2-4b67-b5d4-65c97b93ee24 [2125:775:1001/104028.068512:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/payment/9f4db138-64a2-4b67-b5d4-65c97b93ee24 [2125:775:1001/104028.068897:VERBOSE1:ad_rewards.cc(176)] OnGetPayments [2125:775:1001/104028.068974:VERBOSE6:ad_rewards.cc(178)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/9f4db138-64a2-4b67-b5d4-65c97b93ee24 Response Status Code: 200 Response: [{"month":"2020-09","transactionCount":"1","balance":"0.05"}] ``` Restart the browser and verified that ads panel data is retained 12c
13. Verified tokens are cashed-out periodically Note - Used `--brave-ads-debug` flag to shorten redemption time ``` [2354:775:0904/131628.697170:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 0 hours, 7 minutes, 5 seconds at 1:23 PM ``` Viewed an ad, confirmed UI updated: 13a Waited for time specified in the logs, and confirmed token redemption occurred: ``` [2354:775:0904/132333.685048:VERBOSE1:redeem_unblinded_payment_tokens.cc(77)] RedeemUnblindedPaymentTokens [2354:775:0904/132333.685213:VERBOSE2:redeem_unblinded_payment_tokens.cc(85)] PUT /v1/confirmation/payment/{payment_id} [2354:775:0904/132333.685293:VERBOSE5:redeem_unblinded_payment_tokens.cc(92)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 Content: {"payload":"{\"paymentId\":\"e4602b2d-45fc-4428-825b-7288d1615114\"}","paymentCredentials":[{"credential":{"signature":"nkaS4JsDbYJkCU9Ll9sU3cTvqg9lb9XPtO+HWMiABViy2Zt/axDCt7Ropv58hsK8Gt0U/aGVobi7vnVB+tqUZg==","t":"LNlQl0AoxJr/m1C5NQkU0tLuellcVpZfgbbcw0qXnnRgZwDXFVvtwNNiPe3YrBa9FjcEgFjXreGXVCJwZjn7/Q=="},"publicKey":"bPE1QE65mkIgytffeu7STOfly+x10BXCGuk5pVlOHQU="},{"credential":{"signature":"rz5i9ASZ6a/nJe92XuJ5qaSD+zVaPwj264MPXUCNOB7qOQJrZm1EEJo1W1lwR9aTSlhPsMmjNo+7E/la4dbMqA==","t":"p94DenNgepFXF+6Mp464dpLk3C2EchaDkC4LRyjCqzFcgCq1fUJK3qsapzWugDorHUsdvQoc684RgebFDrWtyw=="},"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8="}]} Content Type: application/json Method: BraveAdsUrlRequestMethod::PUT [2354:775:0904/132334.042886:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 [2354:775:0904/132334.043213:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 [2354:775:0904/132334.043579:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens [2354:775:0904/132334.043664:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 Response Status Code: 200 Response: {"status":"ok"} [2354:775:0904/132334.045557:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 0 hours, 3 minutes, 35 seconds at 1:27 PM [2354:775:0904/132334.045621:VERBOSE1:ads_impl.cc(1439)] Successfully redeemed unblinded payment tokens [2354:775:0904/132334.045907:VERBOSE1:ad_rewards.cc(54)] Reconcile ad rewards with server [2354:775:0904/132334.045971:VERBOSE1:ad_rewards.cc(162)] GetPayments [2354:775:0904/132334.046012:VERBOSE2:ad_rewards.cc(163)] GET /v1/confirmation/payment/{payment_id} [2354:775:0904/132334.047765:VERBOSE5:ad_rewards.cc(167)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 Method: BraveAdsUrlRequestMethod::GET [2354:775:0904/132334.183165:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 [2354:775:0904/132334.183488:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 [2354:775:0904/132334.183828:VERBOSE1:ad_rewards.cc(176)] OnGetPayments [2354:775:0904/132334.183905:VERBOSE6:ad_rewards.cc(178)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/e4602b2d-45fc-4428-825b-7288d1615114 Response Status Code: 200 Response: [{"month":"2020-09","transactionCount":"1","balance":"0.05"}] ``` Confirmed UI did not show 0 for `Estimated pending rewards` after redemption. Confirmed UI was still correct on browser restart. 13b Confirmed at designated time from logs above `Redeem unblinded payment tokens in 0 hours, 3 minutes, 35 seconds at 1:27 PM` another redemption was attempted but there was nothing to redeem since no ads had been viewed in that time but still another redemption time was scheduled ``` [2417:775:0904/132709.001400:VERBOSE1:redeem_unblinded_payment_tokens.cc(77)] RedeemUnblindedPaymentTokens [2417:775:0904/132709.001491:VERBOSE1:redeem_unblinded_payment_tokens.cc(80)] No unblinded payment tokens to redeem [2417:775:0904/132709.002270:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 0 hours, 13 minutes, 26 seconds at 1:40 PM ```
Brave   1.14.79 Chromium: 85.0.4183.83 (Official Build) dev (64-bit)
Revision    94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS  macOS Version 10.14.6 (Build 18G3020)
11. Confirm "Ad notifications received this month" reset to 0 on the 1st of the month (also confirm same value after restarting the browser) Viewed an Ad and verified that Ad notifications received this month is 1 11a Confirmed that Notification count received resets to 0 when month rolls over 11b After changing system date, viewed an Ad and verified that Notification count received resets to 1 11c Restart the browser and verified that ads panel data is retained Encountered https://github.com/brave/brave-browser/issues/11618 for `Ad notifications received this month` changing in UTC rather than local time for month changeover.
14. Verified tokens are refilled when running low Verified 50 unblinded tokens were refilled at startup ``` [3642:775:0908/085221.051651:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [3642:775:0908/085221.051695:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [3642:775:0908/085221.051725:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [3642:775:0908/085221.056256:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 50 tokens [3642:775:0908/085221.057869:VERBOSE5:refill_unblinded_tokens.cc(109)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c Content: {"blindedTokens":["3BxR+jF................ Content Type: application/json Method: BraveAdsUrlRequestMethod::POST [3642:775:0908/085222.263616:VERBOSE1:refill_unblinded_tokens.cc(119)] OnRequestSignedTokens [3642:775:0908/085222.263650:VERBOSE6:refill_unblinded_tokens.cc(121)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c Response Status Code: 201 Response: {"nonce":"bfe3c491-fc22-4089-8a09-c3244d6d9d08"} [3642:775:0908/085222.263692:VERBOSE1:refill_unblinded_tokens.cc(153)] GetSignedTokens [3642:775:0908/085222.263719:VERBOSE2:refill_unblinded_tokens.cc(154)] GET /v1/confirmation/token/{payment_id}?nonce={nonce} [3642:775:0908/085222.263746:VERBOSE5:refill_unblinded_tokens.cc(158)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=bfe3c491-fc22-4089-8a09-c3244d6d9d08 Method: BraveAdsUrlRequestMethod::GET [3642:775:0908/085222.373666:VERBOSE1:refill_unblinded_tokens.cc(168)] OnGetSignedTokens [3642:775:0908/085222.373715:VERBOSE6:refill_unblinded_tokens.cc(170)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=bfe3c491-fc22-4089-8a09-c3244d6d9d08 Response Status Code: 200 Response: {"batchProof":"5HyY2d2fju........... [3642:775:0908/085222.382656:VERBOSE1:refill_unblinded_tokens.cc(285)] Added 50 unblinded tokens, you now have 50 unblinded tokens [3642:775:0908/085222.383066:VERBOSE1:ads_impl.cc(1451)] Successfully refilled unblinded tokens ``` Clean profile, enable rewards and closed browser, removed all the unblinded_tokens except 8 from the `confirmation.json` file. launched the browser again and verified that tokens 42 tokens are refilled ``` [3734:775:0908/085836.994599:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [3734:775:0908/085836.994632:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [3734:775:0908/085836.994663:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [3734:775:0908/085836.998384:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 42 tokens [3734:775:0908/085837.000136:VERBOSE5:refill_unblinded_tokens.cc(109)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c Content: {"blindedTokens":["MloEjxGzj.................. Content Type: application/json Method: BraveAdsUrlRequestMethod::POST [3734:775:0908/085837.134546:VERBOSE1:refill_unblinded_tokens.cc(168)] OnGetSignedTokens [3734:775:0908/085837.134623:VERBOSE6:refill_unblinded_tokens.cc(170)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=27ef72c0-70c8-47da-80f5-997d1d86b307 Response Status Code: 200 Response: {"batchProof":"dTQSw.................. [3734:775:0908/085837.137494:VERBOSE1:refill_unblinded_tokens.cc(241)] Failed to verify and unblind tokens [3734:775:0908/085837.137572:VERBOSE1:refill_unblinded_tokens.cc(243)] Batch proof: dTQS............. [3734:775:0908/085837.137617:VERBOSE1:refill_unblinded_tokens.cc(245)] Tokens (42): [3734:775:0908/085837.137655:VERBOSE1:refill_unblinded_tokens.cc(248)] 9CO8Kunu............... [3734:775:0908/085837.139332:VERBOSE1:refill_unblinded_tokens.cc(251)] Blinded tokens (42): [3734:775:0908/085837.139364:VERBOSE1:refill_unblinded_tokens.cc(254)] MloEjxGzjo............. [3734:775:0908/085837.140773:VERBOSE1:refill_unblinded_tokens.cc(257)] Signed tokens (42): [3734:775:0908/085837.140804:VERBOSE1:refill_unblinded_tokens.cc(260)] PqgpvCx................ [3734:775:0908/085837.142104:VERBOSE1:refill_unblinded_tokens.cc(263)] Public key: crDVI1R6xHQZ4D9cQu4muVM5MaaM1QcOT4It8Y/CYlw= [3734:775:0908/085837.142136:VERBOSE1:ads_impl.cc(1455)] Failed to refill unblinded tokens [3734:775:0908/085837.663926:VERBOSE1:refill_unblinded_tokens.cc(119)] OnRequestSignedTokens [3734:775:0908/085837.663986:VERBOSE6:refill_unblinded_tokens.cc(121)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c Response Status Code: 201 Response: {"nonce":"d0db0b5d-f900-46c4-ae7c-4f15955b7827"} [3734:775:0908/085837.664039:VERBOSE1:refill_unblinded_tokens.cc(153)] GetSignedTokens [3734:775:0908/085837.664069:VERBOSE2:refill_unblinded_tokens.cc(154)] GET /v1/confirmation/token/{payment_id}?nonce={nonce} [3734:775:0908/085837.664099:VERBOSE5:refill_unblinded_tokens.cc(158)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=d0db0b5d-f900-46c4-ae7c-4f15955b7827 Method: BraveAdsUrlRequestMethod::GET[3734:775:0908/085837.760457:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=d0db0b5d-f900-46c4-ae7c-4f15955b7827 [3734:775:0908/085837.760887:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=d0db0b5d-f900-46c4-ae7c-4f15955b7827 [3734:775:0908/085837.761180:VERBOSE1:refill_unblinded_tokens.cc(168)] OnGetSignedTokens [3734:775:0908/085837.761234:VERBOSE6:refill_unblinded_tokens.cc(170)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/1c52054b-83d3-43b9-b1cc-4f6a771a352c?nonce=d0db0b5d-f900-46c4-ae7c-4f15955b7827 Response Status Code: 200 Response: {"batchProof":"Pl5uSFmPoC.................. [3734:775:0908/085837.772233:VERBOSE1:refill_unblinded_tokens.cc(285)] Added 42 unblinded tokens, you now have 50 unblinded tokens [3734:775:0908/085837.772895:VERBOSE1:ads_impl.cc(1451)] Successfully refilled unblinded tokens ``` Check for refill ``` [3760:775:0908/090449.608704:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [3760:775:0908/090449.608752:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [3760:775:0908/090449.608788:VERBOSE1:refill_unblinded_tokens.cc(97)] No need to refill unblinded tokens as we already have 47 unblinded tokens which is above the minimum threshold of 20 ``` Confirmed refill when below minimum threshold ``` [3760:775:0908/090645.717792:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [3760:775:0908/090645.717862:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [3760:775:0908/090645.717913:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [3760:775:0908/090645.721650:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 31 tokens [3760:775:0908/090645.723558:VERBOSE5:refill_unblinded_tokens.cc(109)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90 Content: {"blindedTokens":["SsnoJ11wz3XO............... Content Type: application/json Method: BraveAdsUrlRequestMethod::POST [3760:775:0908/090646.055012:VERBOSE1:refill_unblinded_tokens.cc(119)] OnRequestSignedTokens [3760:775:0908/090646.055098:VERBOSE6:refill_unblinded_tokens.cc(121)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90 Response Status Code: 201 Response: {"nonce":"44e02c1e-e381-47f6-984c-ba720473ebdb"} [3760:775:0908/090646.055175:VERBOSE1:refill_unblinded_tokens.cc(153)] GetSignedTokens [3760:775:0908/090646.055213:VERBOSE2:refill_unblinded_tokens.cc(154)] GET /v1/confirmation/token/{payment_id}?nonce={nonce} [3760:775:0908/090646.055249:VERBOSE5:refill_unblinded_tokens.cc(158)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb Method: BraveAdsUrlRequestMethod::GET [3760:775:0908/090646.158390:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb [3760:775:0908/090646.158700:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb [3760:775:0908/090646.159062:VERBOSE1:refill_unblinded_tokens.cc(168)] OnGetSignedTokens [3760:775:0908/090646.159146:VERBOSE6:refill_unblinded_tokens.cc(170)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb Response Status Code: 202 Response: {"error":"Tokens are not ready","statusCode":202} [3760:775:0908/090646.159222:INFO:refill_unblinded_tokens.cc(174)] Failed to get signed tokens [3760:775:0908/090646.159267:VERBOSE1:ads_impl.cc(1455)] Failed to refill unblinded tokens [3760:775:0908/090646.159442:VERBOSE1:refill_unblinded_tokens.cc(304)] Retry refilling unblinded tokens in 0 hours, 0 minutes, 0 seconds at 9:06 AM [3760:775:0908/090646.159526:VERBOSE1:ads_impl.cc(1459)] Retry refilling unblinded tokens [3760:775:0908/090646.159576:VERBOSE1:refill_unblinded_tokens.cc(153)] GetSignedTokens [3760:775:0908/090646.159619:VERBOSE2:refill_unblinded_tokens.cc(154)] GET /v1/confirmation/token/{payment_id}?nonce={nonce} [3760:775:0908/090646.159663:VERBOSE5:refill_unblinded_tokens.cc(158)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb Method: BraveAdsUrlRequestMethod::GET [3760:775:0908/090646.261443:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb [3760:775:0908/090646.261745:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb [3760:775:0908/090646.262093:VERBOSE1:refill_unblinded_tokens.cc(168)] OnGetSignedTokens [3760:775:0908/090646.262172:VERBOSE6:refill_unblinded_tokens.cc(170)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/token/55bdbdbc-3c90-49bf-a45a-141297b4ef90?nonce=44e02c1e-e381-47f6-984c-ba720473ebdb Response Status Code: 200 Response: {"batchProof":"BtOxwE+0................... [3760:775:0908/090646.271137:VERBOSE1:refill_unblinded_tokens.cc(285)] Added 31 unblinded tokens, you now have 50 unblinded tokens [3760:775:0908/090646.271908:VERBOSE1:ads_impl.cc(1451)] Successfully refilled unblinded tokens ```
15. Verified catalog is downloaded periodically Note - Used `--brave-ads-debug` to shorten time between catalog downloads for efficiency Verified catalog downloads at startup ``` [3808:775:0908/091332.705145:VERBOSE1:get_catalog.cc(46)] Download catalog [3808:775:0908/091332.705172:VERBOSE2:get_catalog.cc(47)] GET /v3/catalog [3808:775:0908/091332.705196:VERBOSE5:get_catalog.cc(51)] URL Request: URL: https://ads-serve.bravesoftware.com/v4/catalog Method: BraveAdsUrlRequestMethod::GET [3808:775:0908/091332.887470:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v4/catalog [3808:775:0908/091332.887741:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v4/catalog [3808:775:0908/091332.888880:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog [3808:775:0908/091332.888919:VERBOSE1:get_catalog.cc(99)] Parsing catalog [3808:775:0908/091332.891587:VERBOSE1:get_catalog.cc(117)] Generating bundle [3808:775:0908/091332.892236:VERBOSE1:bundle.cc(207)] creative set id 2b67d6ee-e6d1-4d4e-a1b9-6be11a60c11d has no entries [3808:775:0908/091332.892290:VERBOSE1:bundle.cc(207)] creative set id 175bc3ca-50f0-4749-bfc8-c7ff7482de0f has no entries [3808:775:0908/091332.892323:VERBOSE1:bundle.cc(207)] creative set id 7be431a0-c6e4-4ca6-bcac-672e77294b7d has no entries [3808:775:0908/091332.892353:VERBOSE1:bundle.cc(207)] creative set id 486d1bbe-e460-474e-ac26-d554cb1a21d4 has no entries [3808:775:0908/091332.894926:VERBOSE1:get_catalog.cc(125)] Successfully generated bundle [3808:775:0908/091332.895002:VERBOSE1:confirmations.cc(50)] SetCatalogIssuers: [3808:775:0908/091332.895044:VERBOSE1:confirmations.cc(51)] Public key: crDVI1R6xHQZ4D9cQu4muVM5MaaM1QcOT4It8Y/CYlw= [3808:775:0908/091332.895085:VERBOSE1:confirmations.cc(52)] Issuers: [3808:775:0908/091332.895126:VERBOSE1:confirmations.cc(55)] Name: 0.01BAT [3808:775:0908/091332.895162:VERBOSE1:confirmations.cc(56)] Public key: JiwFR2EU/Adf1lgox+xqOVPuc6a/rxdy/LguFG5eaXg= [3808:775:0908/091332.895192:VERBOSE1:confirmations.cc(55)] Name: 0.025BAT [3808:775:0908/091332.895220:VERBOSE1:confirmations.cc(56)] Public key: CrQLMWmUuYog6Q93nScS8Lo1HHSex8WM2Qxij7qhjkQ= [3808:775:0908/091332.895251:VERBOSE1:confirmations.cc(55)] Name: 0.15BAT [3808:775:0908/091332.895281:VERBOSE1:confirmations.cc(56)] Public key: iJcG3AkH1sgl+5YCZuo+4Q/7aeBOnYyntkIUXeMbDCs= [3808:775:0908/091332.895321:VERBOSE1:confirmations.cc(55)] Name: 0.20BAT [3808:775:0908/091332.895352:VERBOSE1:confirmations.cc(56)] Public key: VihGXGoiQ5Fjxe4SrskIVMcmERa1LoAgvhFxxfLmNEI= [3808:775:0908/091332.895390:VERBOSE1:confirmations.cc(55)] Name: 0.3BAT [3808:775:0908/091332.895419:VERBOSE1:confirmations.cc(56)] Public key: 6DBiZUS47m8eb5ohI2MiRaERLzS4DQgMp4nxPLKAenA= [3808:775:0908/091332.895446:VERBOSE1:confirmations.cc(55)] Name: 0.25BAT [3808:775:0908/091332.895473:VERBOSE1:confirmations.cc(56)] Public key: YOIEGq4joK7rtkWdcNdNNGT5xlU/KIrri4AX19qwZW4= [3808:775:0908/091332.895501:VERBOSE1:confirmations.cc(55)] Name: 0BAT [3808:775:0908/091332.895528:VERBOSE1:confirmations.cc(56)] Public key: lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8= [3808:775:0908/091332.895555:VERBOSE1:confirmations.cc(55)] Name: 0.05BAT [3808:775:0908/091332.895604:VERBOSE1:confirmations.cc(56)] Public key: bPE1QE65mkIgytffeu7STOfly+x10BXCGuk5pVlOHQU= [3808:775:0908/091332.895632:VERBOSE1:confirmations.cc(55)] Name: 0.10BAT [3808:775:0908/091332.895660:VERBOSE1:confirmations.cc(56)] Public key: aDD4SJmIj2xwdA6D00K1dopTg90oOFpwd2iiK8bqqlQ= [3808:775:0908/091332.902354:VERBOSE1:get_catalog.cc(170)] Download catalog in 0 hours, 1 minute, 34 seconds at 9:15 AM ``` Waited for time referenced in logs, confirmed catalog download was attempted: ``` [3808:775:0908/091506.902790:VERBOSE1:get_catalog.cc(46)] Download catalog [3808:775:0908/091506.902953:VERBOSE2:get_catalog.cc(47)] GET /v3/catalog [3808:775:0908/091506.903032:VERBOSE5:get_catalog.cc(51)] URL Request: URL: https://ads-serve.bravesoftware.com/v4/catalog Method: BraveAdsUrlRequestMethod::GET [3808:775:0908/091506.915746:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v4/catalog [3808:775:0908/091506.916075:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v4/catalog [3808:775:0908/091506.917093:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog [3808:775:0908/091506.917142:VERBOSE1:get_catalog.cc(99)] Parsing catalog [3808:775:0908/091506.920051:VERBOSE1:get_catalog.cc(112)] Catalog id 15117dd1a716bdb18fa236a46ceabc86f394ad4c matches current catalog id 15117dd1a716bdb18fa236a46ceabc86f394ad4c [3808:775:0908/091506.920348:VERBOSE1:get_catalog.cc(170)] Download catalog in 0 hours, 5 minutes, 55 seconds at 9:21 AM ``` Waited for second time referenced in logs, confirmed catalog download was attempted again: ``` [3808:775:0908/092101.925863:VERBOSE1:get_catalog.cc(46)] Download catalog [3808:775:0908/092101.926024:VERBOSE2:get_catalog.cc(47)] GET /v3/catalog [3808:775:0908/092101.926101:VERBOSE5:get_catalog.cc(51)] URL Request: URL: https://ads-serve.bravesoftware.com/v4/catalog Method: BraveAdsUrlRequestMethod::GET [3808:775:0908/092102.381083:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v4/catalog [3808:775:0908/092102.381391:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v4/catalog [3808:775:0908/092102.382117:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog [3808:775:0908/092102.382167:VERBOSE1:get_catalog.cc(99)] Parsing catalog [3808:775:0908/092102.384986:VERBOSE1:get_catalog.cc(112)] Catalog id 15117dd1a716bdb18fa236a46ceabc86f394ad4c matches current catalog id 15117dd1a716bdb18fa236a46ceabc86f394ad4c [3808:775:0908/092102.385240:VERBOSE1:get_catalog.cc(170)] Download catalog in 0 hours, 4 minutes, 45 seconds at 9:25 AM ```
16. Verified ad conversions are working as expected Note - used `--brave-ads-debug` to shorten timer Verified ad conversion started once the URL pattern is visited after viewing an Ad ``` [4706:775:0908/105535.381734:VERBOSE1:ad_conversions.cc(77)] Checking visited URL for ad conversions [4706:775:0908/105535.382743:VERBOSE1:ad_conversions.cc(145)] Ad conversion for creative set id f706af3a-4cb9-4e85-bf6d-6259bd696d4e and postview [4706:775:0908/105535.383168:VERBOSE1:ad_conversions.cc(318)] Started ad conversion timer for creative instance id 221d036d-a815-42d2-944a-d8e894804b4f and creative set id f706af3a-4cb9-4e85-bf6d-6259bd696d4e which will trigger in 0 hours, 32 minutes, 46 seconds at 11:28 AM ``` Verified Ad conversion is successful ``` [4706:775:0908/112821.006197:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 221d036d-a815-42d2-944a-d8e894804b4f creativeSetId: f706af3a-4cb9-4e85-bf6d-6259bd696d4e confirmationType: conversion [4706:775:0908/112821.006256:VERBOSE1:redeem_unblinded_token.cc(63)] Redeem token [4706:775:0908/112821.006833:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [4706:775:0908/112821.006920:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [4706:775:0908/112821.006975:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/60d88587-5487-43cf-b4f4-449b37bea581/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiWXVPcTJIWGF6T2E1a25STEx5QjByaXBMajZneURVRzg0ZVhCQ05rbzB4VT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjIyMWQwMzZkLWE4MTUtNDJkMi05NDRhLWQ4ZTg5NDgwNGI0ZlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJjb252ZXJzaW9uXCJ9Iiwic2lnbmF0dXJlIjoiTWhwZ0U1YXo4bHdvTnlSbUtxTTdpVkFKd1RNMkF1OENwaW1DT1lwcHFESEVtazJKVlFtdEg0SjJZdDhuc2EwMlUyU0FMa3ZCSVZ1OXV3M1d4SXBYc0E9PSIsInQiOiJOdWtraDk0aW1UMGVhWGNvaDV0c1ZURmQyNXQ3eHFTaFNlMmFRNmJRbGhOQ29JdzJub2RJUTh4eUZlZEpod0hvaG44ZjhvMlJsQXNhdzRRd2dQd2xHdz09In0= Content: {"blindedPaymentToken":"YuOq2HXazOa5knRLLyB0ripLj6gyDUG84eXBCNko0xU=","buildChannel":"dev","creativeInstanceId":"221d036d-a815-42d2-944a-d8e894804b4f","payload":{},"platform":"macos","type":"conversion"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST [4706:775:0908/112821.802184:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [4706:775:0908/112821.802268:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/60d88587-5487-43cf-b4f4-449b37bea581/eyJwYXlsb2FkIjoie1wiYmxpbmRlZFBheW1lbnRUb2tlblwiOlwiWXVPcTJIWGF6T2E1a25STEx5QjByaXBMajZneURVRzg0ZVhCQ05rbzB4VT1cIixcImJ1aWxkQ2hhbm5lbFwiOlwiZGV2XCIsXCJjcmVhdGl2ZUluc3RhbmNlSWRcIjpcIjIyMWQwMzZkLWE4MTUtNDJkMi05NDRhLWQ4ZTg5NDgwNGI0ZlwiLFwicGF5bG9hZFwiOnt9LFwicGxhdGZvcm1cIjpcIm1hY29zXCIsXCJ0eXBlXCI6XCJjb252ZXJzaW9uXCJ9Iiwic2lnbmF0dXJlIjoiTWhwZ0U1YXo4bHdvTnlSbUtxTTdpVkFKd1RNMkF1OENwaW1DT1lwcHFESEVtazJKVlFtdEg0SjJZdDhuc2EwMlUyU0FMa3ZCSVZ1OXV3M1d4SXBYc0E9PSIsInQiOiJOdWtraDk0aW1UMGVhWGNvaDV0c1ZURmQyNXQ3eHFTaFNlMmFRNmJRbGhOQ29JdzJub2RJUTh4eUZlZEpod0hvaG44ZjhvMlJsQXNhdzRRd2dQd2xHdz09In0= Response Status Code: 201 Response: {"id":"60d88587-5487-43cf-b4f4-449b37bea581","payload":{},"createdAt":"2020-09-08T15:28:21.405Z","type":"conversion","modifiedAt":"2020-09-08T15:28:21.405Z","creativeInstanceId":"221d036d-a815-42d2-944a-d8e894804b4f"} ``` ``` [4706:775:0908/112821.957302:VERBOSE1:ads_impl.cc(1427)] Successfully redeemed unblinded token with confirmation id 60d88587-5487-43cf-b4f4-449b37bea581, creative instance id 221d036d-a815-42d2-944a-d8e894804b4f and conversion ```
17. Verified state level targeting is working as expected * Confirmed if locale is not US (ex. Canada), I see the below in logs: ``` [4868:775:0908/120307.612142:VERBOSE1:subdivision_targeting.cc(84)] Ads subdivision targeting is not supported for en-CA locale ``` * Confirmed in UI that state selection is not possible if locale is not US 17a * Confirmed when locale is US, I see below in the logs: ``` [5083:775:0908/121553.525389:VERBOSE1:subdivision_targeting.cc(105)] Automatically detecting ads subdivision [5083:775:0908/121553.525470:VERBOSE1:subdivision_targeting.cc(162)] Fetch ads subdivision [5083:775:0908/121553.525524:VERBOSE2:subdivision_targeting.cc(163)] GET /v5/getstate [5083:775:0908/121553.525574:VERBOSE5:subdivision_targeting.cc(167)] URL Request: URL: https://ads-serve.bravesoftware.com/v5/getstate Method: BraveAdsUrlRequestMethod::GET ``` ``` [5083:775:0908/121553.628744:VERBOSE6:ads_service_impl.cc(1082)] URL request started for /v5/getstate [5083:775:0908/121553.629120:VERBOSE6:ads_service_impl.cc(1097)] URL request complete for /v5/getstate [5083:775:0908/121553.629697:VERBOSE6:subdivision_targeting.cc(176)] URL Response: URL: https://ads-serve.bravesoftware.com/v5/getstate Response Status Code: 200 ``` * Confirmed able to select state manually or opt out in UI. Encountered https://github.com/brave/brave-browser/issues/11095 * Confirmed subdivision targeting is auto-detected by default on a fresh install * Confirmed subdivision fetch is scheduled (used --brave-ads-debug to shorten timers): ``` [5083:775:0908/121553.631913:VERBOSE1:subdivision_targeting.cc(265)] Fetch ads subdivision in 0 hours, 0 minutes, 4 seconds at 12:15 PM ``` * Confirmed I do not see ads targeted to a different state ``` [5083:775:0908/121810.629065:VERBOSE2:ads_impl.cc(970)] creativeSetId f706af3a-4cb9-4e85-bf6d-6259bd696d4e excluded as not within the targeted subdivision ``` * Confirmed if I select `Disable` in the drop down, logs reflect this. Confirmed this selection is retained on restart and not updated automatically. ``` [5083:775:0908/121932.741079:VERBOSE1:subdivision_targeting.cc(91)] Ads subdivision targeting is disabled ``` 17b * Confirmed if I manually select a state in the drop down, logs reflect this. Confirmed this selection is retained on restart and not updated automatically. ``` [5083:775:0908/122002.405805:VERBOSE1:subdivision_targeting.cc(100)] Ads subdivision targeting is enabled for US-FL ``` 17c * Confirmed I receive ads for state selected and not ads available to other states (manually selected FL): ``` [5083:775:0908/122250.811093:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 221d036d-a815-42d2-944a-d8e894804b4f creativeSetId: f706af3a-4cb9-4e85-bf6d-6259bd696d4e category: untargeted targetUrl: https://www.travala.com/ geoTarget: US-FL confirmationType: view ```
18. Verified purchase intent is working as expected ``` [5246:775:0908/125227.923067:VERBOSE1:purchase_intent_classifier.cc(340)] Successfully loaded kkjipiepeooghlclkedllogndmohhnhi purchase intent user model [5246:775:0908/125227.923210:VERBOSE1:purchase_intent_classifier.cc(56)] Parsed purchase intent user model version 1 with a signal level of 1, classification threshold of 2 and a signal decay time window of 3600 seconds [5246:775:0908/125227.923366:VERBOSE1:purchase_intent_classifier.cc(348)] Successfully initialized kkjipiepeooghlclkedllogndmohhnhi purchase intent user model ``` ``` [5196:775:0908/125137.425577:VERBOSE1:purchase_intent_classifier.cc(97)] Extracting purchase intent signal from visited URL [5196:775:0908/125137.425644:VERBOSE1:purchase_intent_classifier.cc(105)] Extracted purchase intent signal from visited URL ``` Verified purchase intent history for a Keyword (gaming laptops searched from URL bar) in client.json ``` "purchaseIntentSignalHistory": { "gamer-pc purists": [ { "timestamp_in_seconds": 1599584432, "weight": 1 }, { "timestamp_in_seconds": 1599584433, "weight": 1 } ] }, ``` Verified purchase intent history for a Site (reddit.com) in client.json ``` "purchaseIntentSignalHistory": { "gamer-alpha influencers": [ { "timestamp_in_seconds": 1599584007, "weight": 1 }, { "timestamp_in_seconds": 1599584008, "weight": 1 } ], "gamer-mainstream enthusiasts": [ { "timestamp_in_seconds": 1599584007, "weight": 1 }, { "timestamp_in_seconds": 1599584008, "weight": 1 } ], "gamer-pc purists": [ { "timestamp_in_seconds": 1599584007, "weight": 1 }, { "timestamp_in_seconds": 1599584008, "weight": 1 } ] }, ```

Verification passed on

Brave 1.14.79 Chromium: 85.0.4183.83 (Official Build) dev (64-bit)
Revision 94abc2237ae0c9a4cb5f035431c8adfb94324633-refs/branch-heads/4183@{#1658}
OS Ubuntu 18.04 LTS
[1281:5674:0910/175534.612:VERBOSE1:page_classifier.cc(86)] Classified page as technology & computing-software
[1281:5674:0910/175534.621:VERBOSE1:page_classifier.cc(94)] Winning page classification over time is technology & computing-software
[1281:5674:0910/175534.733:VERBOSE1:ads_impl.cc(1114)] Ad notification shown:
  uuid: 58a1b398-8031-468b-9a36-292688bbf88e
  parentUuid: 8b4e1de8-8bc1-44ef-b2e9-f47b6799f829
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
[1281:5674:0910/175534.733:VERBOSE1:confirmations.cc(119)] Confirm ad:
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  targetUrl: https://travala.com/
  geoTarget: PL
  confirmationType: view
[1281:5674:0910/175535.230:VERBOSE1:confirmations.cc(119)] Confirm ad:
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  targetUrl: https://travala.com/
  geoTarget: PL
  confirmationType: click
[1281:5674:0910/175536.075:VERBOSE1:confirmations.cc(119)] Confirm ad:
  creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953
  creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8
  category: personal finance
  targetUrl: https://travala.com/
  geoTarget: PL
  confirmationType: landed
  creativeInstanceId: 9340f13f-0e3c-4f3f-b071-7140f35eb70e
  creativeSetId: f706af3a-4cb9-4e85-bf6d-6259bd696d4e
  category: food & drink
  targetUrl: https://travala.com/
  geoTarget: PL
  confirmationType: dismiss
[2154:1700:0910/180511.251:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens
[2154:1700:0910/180511.251:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response:
  URL: [retracted]
  Response Status Code: 200
  Response: {"status":"ok"}
[2154:1700:0910/180511.500:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 23 hours, 18 minutes, 43 seconds at 10:25 PM
[2154:1700:0910/180511.500:VERBOSE1:ads_impl.cc(1435)] Successfully redeemed unblinded payment tokens

1.2. Verified page classification for nonsecure site http://orimi.com ``` [8460:17332:0910/232914.292:VERBOSE1:page_classifier.cc(86)] Classified page as hobbies & interests-genealogy [8460:17332:0910/232914.292:VERBOSE1:page_classifier.cc(94)] Winning page classification over time is hobbies & interests-genealogy ``` - Verified ad notification is shown and diagnostic logs are captured ``` [8460:17332:0910/190541.006:VERBOSE1:ads_impl.cc(1114)] Ad notification shown: uuid: ccc40aae-7ba7-4510-b52d-9cf4dfc1d8cd parentUuid: 4ad1a99f-bf39-424d-be06-23030dfebc60 creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing ``` - Verified `**View**`, `**Click**` `**dismiss**` and `**Landed**` confirmations types for non-secure site ``` [8460:17332:0910/190541.007:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: PL confirmationType: view ``` ``` [8460:17332:0910/190541.034:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: PL confirmationType: click ``` ``` [8460:17332:0910/190542.025:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 0a018a25-c13f-430d-a2b9-4e9ecbac08d1 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: PL confirmationType: landed ``` ``` [1321:11077:0910/190841.781:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 289ef146-8694-42a5-9023-db7fbad3d726 creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b category: technology & computing targetUrl: https://travala.com/ geoTarget: PL confirmationType: dismiss ``` - Verified **0.05 BAT** is assigned for the viewed ad ``` [8460:17332:0910/190544.506:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0.05 BAT, you now have 1 unblinded payment tokens ``` - Verified tokens are successfully redeemed for the viewed ads ``` [9812:3121:0910/190544.561:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens [9812:3121:0910/190544.561:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response: URL: [retracted] Response Status Code: 200 Response: {"status":"ok"} [9812:3121:0910/190544.562:VERBOSE1:ads_impl.cc(1435)] Successfully redeemed unblinded payment tokens ```
2. Verified users are rewarded for viewing ads ``` [11032:9199:0910/201132.001:VERBOSE3:ad_notification_event_viewed.cc(30)] Viewed ad notification with uuid 112cad3b-413e-445b-a8ee-65d00f676c2d and 9340f13f-0e3c-4f3f-b071-7140f35eb70e creative instance id ``` - Verified **0.05 BAT** is assigned for the viewed ad in the logs ``` [11032:9199:0910/201134.390:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0.05 BAT, you now have 1 unblinded payment tokens ``` - Verified Estimated pending rewards is displayed in Ads panel in the UI
3. Verified confirmation is sent to the server when dismissing an ad - Verified dismiss even type is captured in logs ``` [11100:4121:0910/210431.309:VERBOSE3:ad_notification_event_dismissed.cc(32)] Dismissed ad notification with uuid 4b239a54-5ddc-49f6-b099-5b7b24dcee64 and 20f4a3ed-2187-43d0-b13c-c06422fccf2b creative instance id [11100:4121:0910/210431.310:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 20f4a3ed-2187-43d0-b13c-c06422fccf2b creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 category: personal finance targetUrl: https://travala.com/ geoTarget: PL confirmationType: dismiss ``` - Verified confirmations are created and sent to the server for dismiss event ``` [11100:4121:0910/210431.410:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [11100:4121:0910/210431.410:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [11100:4121:0910/210431.412:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/[retracted] Content: {"blindedPaymentToken":"0lA2uC//2qb1PscpxiRtByabMO+kNNFgGtqz9ueEySI=","buildChannel":"dev","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b","payload":{},"platform":"linux","type":"dismiss"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [11100:4121:0910/210431.718:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [11100:4121:0910/210431.718:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Response Status Code: 201 Response: {"id":"31055f86-16aa-434a-9ec8-2a13411b6359","payload":{},"createdAt":"2020-09-10T21:04:32.717Z","type":"dismiss","modifiedAt":"2020-09-10T21:04:32.717Z","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b"} ``` ``` [1431:1060:0910/210541.040:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [1431:1060:0910/210541.040:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/4d849aac-3979-4a31-87e1-0a9453e46d03/paymentToken Response Status Code: 200 Response: {"id":"4d849aac-3979-4a31-87e1-0a9453e46d03","createdAt":"2020-09-10T20:14:33.981Z","type":"dismiss","modifiedAt":"2020-09-10T20:14:34.002Z","creativeInstanceId":"289ef146-8694-42a5-9023-db7fbad3d726","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"wy3nMldK69EP7S/1+55nUWts15QOknX5I9llwCffHg9c6kiQwiSZpmB4w+4Jn6pffPbhxjWp4eurDzghoyc6BQ==","signedTokens":["fHBvSGK0inuFv8i8A4tJd5PosOcaKgsU9i9onI3/0zs="]}} [1431:1060:0910/210541.041:VERBOSE1:redeem_unblinded_token.cc(349)] Added 1 unblinded payment token with an estimated redemption value of 0 BAT, you now have 2 unblinded payment tokens ``` - Verified ad type is recorded as `Dismissed` in the UI
4. Verified confirmation is sent to the server when an ad has landed (sustained) - Verified landed confirmation types are captured in logs ``` [7701:1611:0910/220154.232:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 category: personal finance targetUrl: https://travala.com/ geoTarget: PL confirmationType: landed ``` - Verified confirmations are created and sent to the server for the landed event ``` [7701:1611:0910/220154.234:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [7701:1611:0910/220154.234:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [7701:1611:0910/220154.234:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Content: {"blindedPaymentToken":"DsvfjSDJSyn8HBAn627X+j/e69y6xqTbnUxb0+utLiH=","buildChannel":"dev","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","payload":{},"platform":"linux","type":"landed"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [7701:1611:0910/220155.245:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [7701:1611:0910/220155.245:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Response Status Code: 201 Response: {"id":"356cc91c-0cfb-43a9-ab9e-1e072310e07b","payload":{},"createdAt":"2020-09-10T21:20:56.046Z","type":"landed","modifiedAt":"2020-09-10T21:20:56.046Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953"} ``` ``` [7701:1611:0910/220155.606:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [7701:1611:0910/220155.606:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/356cc91c-0cfb-43a9-ab9e-1e072310e07b/paymentToken Response Status Code: 200 Response: {"id":"356cc91c-0cfb-43a9-ab9e-1e072310e07b","createdAt":"2020-09-10T21:20:56.046Z","type":"landed","modifiedAt":"2020-09-10T21:20:56.069Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=","batchProof":"xaODBjMC86SPgNiHwMMZr98mPTxXt/7+4Yc+ay/oSQ1R80EKS1RPccj8P7+Fi6kBpyd+zdnsTEj5VNK/KPjkBw==","signedTokens":["VCc4Vai+DrX6pOQN59wQUYPmRlGuNMRK/4UuxsU5qT4="]}} ```
5. Verified confirmation is sent to the server when flagging an ad - Verified confirmation type **Flag** is captured in logs ( `Mark as inappropriate` is nothing but `Flag` confirmed with @tmancey ) ``` [12219:7890:0910/221029.180:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 45d30d1a-4237-43ff-a66b-76bb15679aad creativeSetId: c7f96341-726f-4e5d-9494-5686db89664b confirmationType: flag ``` - Verified that Flag confirmations are created and sent to the server ``` [12219:7890:0910/221029.051:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [12219:7890:0910/221029.051:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [12219:7890:0910/221029.051:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Content: {"blindedPaymentToken":"DB3i3j0XhYQBhgn0sjF0PTGFYPaBoIPk8d6dT9pFzgz=","buildChannel":"dev","creativeInstanceId":"45d30d1a-4237-43ff-a66b-76bb15679aad","payload":{},"platform":"linux","type":"flag"} ``` ``` [12219:7890:0910/221029.526:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [12219:7890:0910/221029.526:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Response Status Code: 201 Response: {"id":"gf32abdf-4394-41ab-97a6-b81eb569b2fz","payload":{},"createdAt":"2020-09-10T21:10:29.222Z","type":"flag","modifiedAt":"2020-09-10T21:10:29.222Z","creativeInstanceId":"45d30d1a-4237-43ff-a66b-76bb15679aad"} ``` ``` [12219:7890:0910/221029.969:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [12219:7890:0910/221029.969:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/gf32abdf-4394-41ab-97a6-b81eb569b2fz/paymentToken Response Status Code: 200 Response: {"id":"gf32abdf-4394-41ab-97a6-b81eb569b2fz","createdAt":"2020-09-10T21:10:29.222Z","type":"flag","modifiedAt":"2020-09-10T21:10:29.222Z","creativeInstanceId":"45d30d1a-4237-43ff-a66b-76bb15679aad","paymentToken":{"publicKey":"lLO5tErGoTK0askrALab6pKGAnBHqELSyw/evqZRwH8=", ```

6. Verified confirmation is sent to the server when upvoting an ad - Verified confirmation type **upvoting** captured in the logs ``` [7909:6666:0910/211526.128:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 7c644da6-051a-473f-9bac-bff887540953 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 confirmationType: upvote ``` - Verified confirmations are created and sent to the server ``` [7909:6666:0910/211526.129:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [7909:6666:0910/211526.129:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [7909:6666:0910/211526.129:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Content: {"blindedPaymentToken":"dHQx/vmmJx5QVr0P42Q3DT/coXhbmzWuWV6uIjtVW0Z=","buildChannel":"dev","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953","payload":{},"platform":"linux","type":"upvote"} Content Type: application/json Method: BraveAdsUrlRequestMethod::POST ``` ``` [7909:6666:0910/211527.773:VERBOSE1:redeem_unblinded_token.cc(117)] OnCreateConfirmation [7909:6666:0910/211527.773:VERBOSE6:redeem_unblinded_token.cc(119)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Response Status Code: 201 Response: {"id":"z1fc751d-c60a-41d9-993a-313569d2ff33","payload":{},"createdAt":"2020-09-10T21:15:28.441Z","type":"upvote","modifiedAt":"2020-09-10T21:15:28.441Z","creativeInstanceId":"7c644da6-051a-473f-9bac-bff887540953"} ``` ``` [7909:6666:0910/211528.147:VERBOSE1:redeem_unblinded_token.cc(155)] OnFetchPaymentToken [7909:6666:0910/211528.147:VERBOSE6:redeem_unblinded_token.cc(157)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/z1fc751d-c60a-41d9-993a-313569d2ff33/paymentToken Response Status Code: 200 ```
7. Verified confirmation is sent to the server when downvoting an ad - Verified confirmation type **downvoting** captured in the logs ``` [7706:4411:0910/211921.244:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 20f4a3ed-2187-43d0-b13c-c06422fccf2b creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 confirmationType: downvote ``` - Verified confirmations are created and sent to the server ``` [7706:4411:0910/211921.244:VERBOSE1:redeem_unblinded_token.cc(99)] CreateConfirmation [7706:4411:0910/211921.247:VERBOSE2:redeem_unblinded_token.cc(100)] POST /v1/confirmation/{confirmation_id}/{credential} [7706:4411:0910/211921.247:VERBOSE5:redeem_unblinded_token.cc(104)] URL Request: URL: https://ads-serve.bravesoftware.com/v1/confirmation/ Content: {"blindedPaymentToken":"2EQVpmq+/zlwH4XGQd3TEaY7QoVA2HFEPc9GO25Izda=","buildChannel":"dev","creativeInstanceId":"20f4a3ed-2187-43d0-b13c-c06422fccf2b","payload":{},"platform":"linux","type":"downvote"} ```
8. Verified brave://rewards UI is updated when rewarded for viewing an ad (also confirm same value after restarting the browser) - Viewed an ad and verified that, the viewed ad is rewarded and ads panel shows the correct `estimated pending rewards` and `ads notification count` - Verified that `Estimated pending rewards` and `ads notification count` retained after the browser restart
9. Confirm brave://rewards UI is updated when viewing an ad (also confirm same value after restarting the browser) - Viewed an ad and verified that ads panel shows the correct `estimated pending rewards` and `ads notification count` - Verified that `Estimated pending rewards` and `ads notification count` retained after the browser restart
10. Verified brave://rewards UI is updated when claiming an ads grant (also confirm same value after restarting the browser) - Restored ad grants and ads claim is shown in the brave://rewards screen ![image](https://user-images.githubusercontent.com/34715963/93123973-379b3780-f6c9-11ea-87d0-3fc494a954bf.png) - Verified able to claim ad grants and Rewards UI is updated ![image](https://user-images.githubusercontent.com/34715963/93123799-f30f9c00-f6c8-11ea-97d9-ca2e3c0192a3.png) - Verified that ad grants value is retained after the browser restart - connected to KYC'd wallet and verified that ad grants are moved to uphold
11. Confirm "Ad notifications received this month" reset to 0 on the 1st of the month (also confirm same value after restarting the browser) - Viewed an Ad and verified that `Ad notifications received this month` is `1` ![image](https://user-images.githubusercontent.com/34715963/93124341-c445f580-f6c9-11ea-8722-bd214b7876d1.png) - Set system date ahead by 1 month ( Oct 1st), verified that `Notification count received` resets to `0` - After changing system date, viewed an Ad and verified that `Notification count received` resets to `1` - Restart the browser and verified that ads panel data is retained
12. Verified that "Next payment date" is working as expected (also confirm same value after restarting the browser) - Viewed an Ad and verified that `Next Payment date` is displayed as `Oct 6` ![image](https://user-images.githubusercontent.com/34715963/93124341-c445f580-f6c9-11ea-8722-bd214b7876d1.png) - Set system date ahead by 1 month (Oct 1st), verified that `Next Payment date` is displayed as `Nov 6` - After changing system date, viewed an Ad and verified that `Next Payment date` is displayed as `Oct 6` (which is expected) - Restart the browser and verified that ads panel data is retained
13. Verified tokens are cashed-out periodically - Viewed an Ad exit the browser and set the system date ahead as per the token redemption date from the logs, relaunched the browser and verified that the token are redeemed successfully ``` [1209:1225:0910/221628.674483:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 0 hours, 5 minutes, 1 seconds at 10:23 PM ``` ``` [1209:1225:0910/222334.128812:VERBOSE1:redeem_unblinded_payment_tokens.cc(101)] OnRedeemUnblindedPaymentTokens [1209:1225:0910/222334.128899:VERBOSE6:redeem_unblinded_payment_tokens.cc(103)] URL Response: URL: https://ads-serve.bravesoftware.com/v1/confirmation/payment/f4602b2d-45fc-4428-825b-7288d1615222 Response Status Code: 200 Response: {"status":"ok"} [1209:1225:0910/222334.128933:VERBOSE1:redeem_unblinded_payment_tokens.cc(71)] Redeem unblinded payment tokens in 0 hours, 2 minutes, 2 seconds at 10:27 PM [1209:1225:0910/222334.128949:VERBOSE1:ads_impl.cc(1439)] Successfully redeemed unblinded payment tokens ``` - Verified that `Estimated pending Rewards` in Ads panel is retained correctly (not reset to zero) after browser restart and token redemption - Verified the `unblinded_payment_tokens` in `confirmation.json` and confirmed that tokens are cashed out successfully - Viewed 2nd Ad and repeat the above steps and confirmed token are cashout successfully
14. Verified tokens are refilled when running low - Verified 50 unblinded tokens were refilled at startup ``` [12388:6483:0910/222811.476474:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [12388:6483:0910/222811.476474:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [12388:6483:0910/222811.476474:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [12388:6483:0910/222811.476474:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 50 tokens ``` - Clean profile, enable rewards and closed browser, removed all the unblinded_tokens except 8 from the `confirmation.json` file. launched the browser again and verified that tokens 42 tokens are refilled ``` [3381:16478:0910/223015.774883:VERBOSE1:refill_unblinded_tokens.cc(75)] Refill unblinded tokens [3381:16478:0910/223015.775222:VERBOSE1:refill_unblinded_tokens.cc(91)] RequestSignedTokens [3381:16478:0910/223015.775222:VERBOSE2:refill_unblinded_tokens.cc(101)] POST /v1/confirmation/token/{payment_id} [3381:16478:0910/223015.777232:VERBOSE1:refill_unblinded_tokens.cc(351)] Generated and blinded 42 tokens ```
15. Verified catalog is downloaded periodically - Verified catalog downloads at startup ``` [14733:696:0910/223511.147483:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog ``` - Set the system time ahead to check the catalog download periodically, confirmed that new catalog gets downloaded and the timestamp is different for both the catalogs ``` [1064:15111:0910/235555.499932:VERBOSE1:get_catalog.cc(73)] Successfully downloaded catalog ```
16. Verified ad conversions are working as expected - Verified ad conversion started once the URL pattern is visited after viewing an Ad ``` [10846:10846:0910/205810.084939:VERBOSE1:ad_conversions.cc(318)] Started ad conversion timer for creative instance id d175cdfd-57bf-46c3-9b00-89eed71c6ae5 and creative set id 175bc3ca-50f0-4749-bfc8-c7ff7482de0f which will trigger in 0 hours, 6 minutes, 23 seconds at 9:04 PM ``` - Verified Ad conversion is successful
17. Verified state level targeting is working as expected - Verified that state-level ads are shown ``` [7721:3722:0910/232011.272939:VERBOSE1:confirmations.cc(119)] Confirm ad: creativeInstanceId: 8902146f-7699-4a4d-b935-d5b1d7f94e76 creativeSetId: 37f7ba07-355d-4d0f-8cdb-b9241550c0c8 category: untargeted targetUrl: https://www.brave.com geoTarget: US-OR confirmationType: view ```
18. Verified purchase intent is working as expected - Verified purchaseintent history for a `Keyword` ``` "purchaseIntentSignalHistory":{"gamer":[{"timestamp_in_seconds":1599770267,"weight":1},{"timestamp_in_seconds":1599770268,"weight":1}],"gamer-mainstream enthusiasts":[{"timestamp_in_seconds":1599770267,"weight":1},{"timestamp_in_seconds":1599770268,"weight":1}],"gamer-pc purists":[{"timestamp_in_seconds":1599770267,"weight":1},{"timestamp_in_seconds":1599770268,"weight":1}]} ``` - Verified purchaseintent history for a `site` ``` "purchaseIntentSignalHistory":{"gamer-alpha influencers":[{"timestamp_in_seconds":1599774275,"weight":1}]} ```

srirambv commented 3 years ago

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