-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Brave ads command line arguments to use the --rewards
command line arguments
#17526
Comments
Need to obtain expectations for the |
Ads
I do not see any uses for ledger. cc @emerick |
cc @zenparsing @szilardszaloki @Miyayes in case any of you know something the |
@LaurenWags it appears that that flag is not used in the context of Rewards. |
Verified with
Verified flags listed in #17526 (comment). --rewards=staging=true - PASSEDConfirmed when using
--rewards=staging=false - PASSEDConfirmed when using
--rewards=debug=true - PASSEDVerified items listed in #17526 (comment). Note all times listed are approximate due to +/- jitter.
|
Verification
|
Brave | 1.41.94 Chromium: 103.0.5060.114 (Official Build) (64-bit) |
---|---|
Revision | a1c2360c5b02a6d4d6ab33796ad8a268a6128226-refs/branch-heads/5060@{#1124} |
OS | Windows 10 Version 21H2 (Build 19044.1806) |
Verified flags listed in #17526 (comment).
--rewards=staging=true - PASSED
Commandline used:
--enable-logging=stderr --v=0 --vmodule="*/variations/*"=9,"*/bat-native-ledger/*"=9,"*/brave_rewards/*"=9,"*/bat-native-ads/*"=9,"*/bat-native-confirmations/*"=9,"*/brave_ads/*"=9,"*/brave_user_model/*"=9 --rewards=staging=true
Confirmed when using --rewards=staging=true
cmd line flag, the following calls were made to staging domains:
Parameters
[ REQUEST ]
> URL: https://api.rewards.bravesoftware.com/v1/parameters
> Method: GET
Issuers
[732:8444:0707/125133.225:VERBOSE1:issuers.cc(66)] FetchIssuers
[732:8444:0707/125133.225:VERBOSE2:issuers.cc(67)] GET /v1/issuers/
[732:8444:0707/125133.225:VERBOSE6:issuers.cc(71)] URL Request:
URL: https://static.ads.bravesoftware.com/v1/issuers/
Method: kGet
Subdivision
[732:8444:0707/125133.228:VERBOSE1:subdivision_targeting.cc(187)] FetchSubdivisionTargeting
[732:8444:0707/125133.228:VERBOSE2:subdivision_targeting.cc(188)] GET /v1/getstate
[732:8444:0707/125133.228:VERBOSE6:subdivision_targeting.cc(192)] URL Request:
URL: https://geo.ads.bravesoftware.com/v1/getstate
Method: kGet
Catalog
[732:8444:0707/125133.228:VERBOSE1:catalog.cc(70)] Catalog
[732:8444:0707/125133.228:VERBOSE2:catalog.cc(71)] GET /v9/catalog
[732:8444:0707/125133.228:VERBOSE6:catalog.cc(77)] URL Request:
URL: https://static.ads.bravesoftware.com/v9/catalog
Method: kGet
Grants
[ REQUEST ]
> URL: https://grant.rewards.bravesoftware.com/v1/promotions?migrate=true&paymentId=1aead9f8-b4fa-462e-b749-5d4576871519&platform=windows
> Method: GET
Create Confirmation
1920:14696:0707/130952.006:VERBOSE1:redeem_unblinded_token.cc(50)] Redeem unblinded token[1920:14696:0707/130952.008:VERBOSE1:redeem_unblinded_token.cc(71)] CreateConfirmation
[1920:14696:0707/130952.008:VERBOSE2:redeem_unblinded_token.cc(72)] POST /v2/confirmation/{confirmation_id}/{credential}
[1920:14696:0707/130952.008:VERBOSE6:redeem_unblinded_token.cc(76)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/794762e8-45c0-4cac-9f
Fetch Payment Token
920:14696:0707/130952.125:VERBOSE1:redeem_unblinded_token.cc(121)] FetchPaymentToken
[1920:14696:0707/130952.125:VERBOSE2:redeem_unblinded_token.cc(122)] GET /v2/confirmation/{confirmation_id}/paymentToken
[1920:14696:0707/130952.125:VERBOSE6:redeem_unblinded_token.cc(126)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/794762e8-45c0-4cac-9fc6-a20be179cac7/paymentToken
Method: kGet
Publisher Prefix LIst
[ RESPONSE - OnRequest ]
> Url: https://rewards-stg.bravesoftware.com/publishers/prefix-list
> Result: Success
> HTTP Code: 200
Get Signed Tokens
[9496:11280:0707/135059.240:VERBOSE1:refill_unblinded_tokens.cc(174)] GetSignedTokens
[9496:11280:0707/135059.240:VERBOSE2:refill_unblinded_tokens.cc(175)] GET /v2/confirmation/token/{payment_id}?nonce={nonce}
[9496:11280:0707/135059.242:VERBOSE6:refill_unblinded_tokens.cc(179)] URL Request:
URL: https://mywallet.ads.bravesoftware.com/v2/confirmation/token/d4a41c0d-2acc-4d20-98c0-e714dfd1050a?nonce=9d00e921-559e-437f-8942-79284c9d1e66
Method: kGet
--rewards=staging=false - PASSED
Commandline used:
--enable-logging=stderr --v=0 --vmodule="*/variations/*"=9,"*/bat-native-ledger/*"=9,"*/brave_rewards/*"=9,"*/bat-native-ads/*"=9,"*/bat-native-confirmations/*"=9,"*/brave_ads/*"=9,"*/brave_user_model/*"=9 --rewards=staging=false
Confirmed when using --rewards=staging=false
cmd line flag, the following calls were made to production domains:
Parameters
[ REQUEST ]
> URL: https://api.rewards.brave.com/v1/parameters
> Method: GET
Issuers
[7092:8640:0707/145001.895:VERBOSE1:issuers.cc(66)] FetchIssuers
[7092:8640:0707/145001.895:VERBOSE2:issuers.cc(67)] GET /v1/issuers/
[7092:8640:0707/145001.895:VERBOSE6:issuers.cc(71)] URL Request:
URL: https://static.ads.brave.com/v1/issuers/
Method: kGet
Subdivision
[7092:8640:0707/145001.904:VERBOSE1:subdivision_targeting.cc(187)] FetchSubdivisionTargeting
[7092:8640:0707/145001.904:VERBOSE2:subdivision_targeting.cc(188)] GET /v1/getstate
[7092:8640:0707/145001.905:VERBOSE6:subdivision_targeting.cc(192)] URL Request:
URL: https://geo.ads.brave.com/v1/getstate
Method: kGet
Catalog
[7092:8640:0707/145001.905:VERBOSE1:catalog.cc(70)] Catalog
[7092:8640:0707/145001.905:VERBOSE2:catalog.cc(71)] GET /v9/catalog
[7092:8640:0707/145001.905:VERBOSE6:catalog.cc(77)] URL Request:
URL: https://static.ads.brave.com/v9/catalog
Method: kGet
Grants
[ REQUEST ]
> URL: https://grant.rewards.brave.com/v1/promotions?migrate=true&platform=windows
> Method: GET
Publisher Prefix List
[ REQUEST ]
> URL: https://rewards.brave.com/publishers/prefix-list
> Method: GET
Get Signed Tokens
[7092:8640:0707/145002.476:VERBOSE1:refill_unblinded_tokens.cc(174)] GetSignedTokens
[7092:8640:0707/145002.476:VERBOSE2:refill_unblinded_tokens.cc(175)] GET /v2/confirmation/token/{payment_id}?nonce={nonce}
[7092:8640:0707/145002.476:VERBOSE6:refill_unblinded_tokens.cc(179)] URL Request:
URL: https://mywallet.ads.brave.com/v2/confirmation/token/6d113e46-ebed-4df2-a4ab-eaf842914cf8?nonce=94d1ea3a-2f86-4ecd-8c60-09b3e9c6a49c
Method: kGet
Fetch Payment Token
[7092:8640:0707/145011.582:VERBOSE1:redeem_unblinded_token.cc(121)] FetchPaymentToken
[7092:8640:0707/145011.582:VERBOSE2:redeem_unblinded_token.cc(122)] GET /v2/confirmation/{confirmation_id}/paymentToken
[7092:8640:0707/145011.582:VERBOSE6:redeem_unblinded_token.cc(126)] URL Request:
URL: https://anonymous.ads.brave.com/v2/confirmation/e3fc980c-fb21-4b10-84f7-badd8b3569d4/paymentToken
Method: kGet
--rewards=debug=true - PASSED
Verified items listed in #17526 (comment). Note all times listed are approximate due to +/- jitter.
Commandline used:
--enable-logging=stderr --v=0 --vmodule="*/variations/*"=9,"*/bat-native-ledger/*"=9,"*/brave_rewards/*"=9,"*/bat-native-ads/*"=9,"*/bat-native-confirmations/*"=9,"*/brave_ads/*"=9,"*/brave_user_model/*"=9 --rewards=debug=true
Confirmed payment-token redemption time reduced to ~25 minutes - PASSED
[7184:1524:0711/114640.266:VERBOSE1:redeem_unblinded_payment_tokens.cc(70)] Redeem unblinded payment tokens in 1 hour, 46 minutes, 40 seconds at 13:33:20.266
[7576:11688:0711/140944.313:VERBOSE1:redeem_unblinded_payment_tokens.cc(78)] RedeemUnblindedPaymentTokens
[7576:11688:0711/140944.313:VERBOSE2:redeem_unblinded_payment_tokens.cc(89)] PUT /v2/confirmation/payment/{payment_id}
[7576:11688:0711/140944.314:VERBOSE6:redeem_unblinded_payment_tokens.cc(104)] URL Request:
URL: https://mywallet.ads.brave.com/v2/confirmation/payment/931c7d84-0b1a-4c72-9afa-89617605269b
Content: {"odyssey":"host","payload":"{\"paymentId\":\"931c7d84-0b1a-4c72-9afa-89617605269b\"}","paymentCredentials":[{"confirmationType":"view","credential":{"signature":"Wb8xlW/8dcPdMO+8cwRjHUCplVarqeihrf1iWf2tJGEoKYIClHOEqiold/gcu5f6qMmp0kd+p4mLYGbOjRzpGw==","t":"mGZXcpbFbde1os07jGQxtb/PiIvGKHLHdwQzN6iJUcJBvIrb/PN/cWWwhstxPItYHecTYEpVEeuPt52YR7Wp6A=="},"publicKey":"Yr6rIDKVzv/Sg3x/z67J8J7S260Weft8jDZBlmkqGDE="},{"confirmationType":"dismiss","credential":{"signature":"irv8cjKDOUJkMcleURJ45FwvEXRHpCokRH3DPxo7vu/zFzW+G1SbsvujJDis/VKp+fwihUCR/23eGRKAU7Ba1Q==","t":"b8uqK03E5Zw9le4KGWML4tqkvkl+lUGIUB1uRggHKnIRPUGE8M0Uklw+saJT2Xl+G39CnfAECBLIDBCV8uPPTw=="},"publicKey":"3Cs+r50yDnc/z7Y588QIrelq+JkUlvzYN0ZhlU+PDWA="}],"platform":"windows","totals":[{"ad_format":"ad_notification","dismiss":"1","view":"1"}]}
Content Type: application/json
Method: kPut
[7576:11688:0711/140944.314:VERBOSE7:redeem_unblinded_payment_tokens.cc(105)] Headers:
accept: application/json
[7576:11688:0711/140944.442:VERBOSE1:redeem_unblinded_payment_tokens.cc(117)] OnRedeemUnblindedPaymentTokens
[7576:11688:0711/140944.442:VERBOSE6:redeem_unblinded_payment_tokens.cc(119)] URL Response:
URL: https://mywallet.ads.brave.com/v2/confirmation/payment/931c7d84-0b1a-4c72-9afa-89617605269b
Response Status Code: 200
Response: {"message":"Ok","status":200}
[7576:11688:0711/140944.443:VERBOSE7:redeem_unblinded_payment_tokens.cc(120)] Headers:
[7576:11688:0711/140944.445:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[7576:11688:0711/140944.446:VERBOSE1:account.cc(278)] Successfully redeemed unblinded payment tokens
[7576:11688:0711/140944.448:VERBOSE1:redeem_unblinded_payment_tokens.cc(70)] Redeem unblinded payment tokens in 0 hours, 16 minutes, 51 seconds at 14:26:35.444
Confirmed catalog fetches after ~15 minutes (or less) instead of ping defined in the v9/catalog endpoint - PASSED
[16272:18436:0707/163926.580:VERBOSE1:catalog.cc(150)] Fetch catalog in 0 hours, 5 minutes, 49 seconds at 16:45:15.558
[16272:18436:0707/163926.552:VERBOSE1:catalog.cc(107)] Successfully fetched catalog
Confirmed conversions are submitted to server after ~10 minutes instead of ~1 day - PASSED
[9660:6908:0710/170146.898:VERBOSE1:conversions.cc(341)] Conversion for ad_notification with campaign id d1e25388-b362-4f30-bd4b-36b8205e59e5, creative set id 5f8c4787-8431-49a5-9d09-bba40f8ad5f4, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and advertiser id a34de75d-5654-4331-8713-8f4d4e2b6bf7
[9660:6908:0710/170146.899:VERBOSE1:conversions.cc(328)] There was a conversion match
[9660:6908:0710/170146.903:VERBOSE6:conversions.cc(391)] Successfully logged conversion event
[9660:6908:0710/170146.906:VERBOSE3:conversions.cc(415)] Successfully appended conversion to queue
[9660:6908:0710/170146.909:VERBOSE1:conversions.cc(558)] Convert ad_notification with campaign id d1e25388-b362-4f30-bd4b-36b8205e59e5, creative set id 5f8c4787-8431-49a5-9d09-bba40f8ad5f4, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and advertiser id a34de75d-5654-4331-8713-8f4d4e2b6bf7 in 0 hours, 14 minutes, 19 seconds at 17:16:05.898
[9660:6908:0710/170128.370:VERBOSE3:ads_impl.cc(804)] Successfully processed deposit for ad_notification with creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and view valued at 0.01
[9660:6908:0710/170128.370:VERBOSE1:confirmations.cc(61)] Confirming view for ad_notification with transaction id 44f52093-abb6-4291-b1e1-648b7bbd97b7 and creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed
[9660:6908:0710/170128.370:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170128.370:VERBOSE1:redeem_unblinded_token.cc(50)] Redeem unblinded token
[9660:6908:0710/170128.370:VERBOSE1:redeem_unblinded_token.cc(71)] CreateConfirmation
[9660:6908:0710/170128.370:VERBOSE2:redeem_unblinded_token.cc(72)] POST /v2/confirmation/{confirmation_id}/{credential}
[9660:6908:0710/170128.370:VERBOSE6:redeem_unblinded_token.cc(76)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/62c30807-e57a-
Content: {"blindedPaymentTokens":["wMEUs/XQGUp3fqEmcSrxTTaDP39Bpc/8qM4mkKBpGEI="],"buildChannel":"release","catalog":[{"id":"07250136f2a3e6fc7313d3fd822c769a13912cab"}],"countryCode":"US","createdAtTimestamp":"2022-07-11T00:00:00.000Z","creativeInstanceId":"4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed","odyssey":"host","payload":{},"platform":"windows","publicKey":"mp/79e6Zamgx3w2NwPzfV9WJncGY42pxR0DjT/RagGI=","studies":[],"systemTimestamp":"2022-07-11T00:00:00.000Z","type":"view","versionNumber":"103.0.5060.114"}
Content Type: application/json
Method: kPost
[9660:6908:0710/170128.371:VERBOSE7:redeem_unblinded_token.cc(77)] Headers:
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦accept: application/json
[9660:6908:0710/170128.374:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170128.724:VERBOSE1:redeem_unblinded_token.cc(87)] OnCreateConfirmation
[9660:6908:0710/170128.728:VERBOSE6:redeem_unblinded_token.cc(89)] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/62c30807-e57a-
Response Status Code: 201
Response: {"id":"62c30807-e57a-4d41-8db1-0d20b24987a3","payload":{},"createdAt":"2022-07-11T00:01:23.341Z","type":"view","modifiedAt":"2022-07-11T00:01:23.341Z","creativeInstanceId":"4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed"}
[9660:6908:0710/170128.728:VERBOSE7:redeem_unblinded_token.cc(90)] Headers:
[9660:6908:0710/170128.729:VERBOSE1:redeem_unblinded_token.cc(121)] FetchPaymentToken
[9660:6908:0710/170128.729:VERBOSE2:redeem_unblinded_token.cc(122)] GET /v2/confirmation/{confirmation_id}/paymentToken
[9660:6908:0710/170128.729:VERBOSE6:redeem_unblinded_token.cc(126)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/62c30807-e57a-4d41-8db1-0d20b24987a3/paymentToken
Method: kGet
[9660:6908:0710/170128.729:VERBOSE7:redeem_unblinded_token.cc(127)] Headers:
[9660:6908:0710/170128.807:VERBOSE1:redeem_unblinded_token.cc(137)] OnFetchPaymentToken
[9660:6908:0710/170128.807:VERBOSE6:redeem_unblinded_token.cc(139)] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/62c30807-e57a-4d41-8db1-0d20b24987a3/paymentToken
Response Status Code: 202
Response: {"error":"Payment Tokens are not ready","statusCode":202}
[9660:6908:0710/170128.807:VERBOSE7:redeem_unblinded_token.cc(140)] Headers:
[9660:6908:0710/170128.807:VERBOSE1:redeem_unblinded_token.cc(157)] Payment token is not ready
...
[9660:6908:0710/170141.926:VERBOSE1:confirmations.cc(303)] Successfully redeemed unblinded token for ad_notification with confirmation id 62c30807-e57a-4d41-8db1-0d20b24987a3, transaction id 44f52093-abb6-4291-b1e1-648b7bbd97b7, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and view. You now have 1 unblinded payment tokens which will be redeemed in 0 hours, 28 minutes, 15 seconds at 17:29:57.012
[9660:6908:0710/170141.926:VERBOSE1:refill_unblinded_tokens.cc(92)] No need to refill unblinded tokens as we already have 48 unblinded tokens which is above the minimum threshold of 20
[9660:6908:0710/170141.928:VERBOSE1:confirmations.cc(100)] Retry sending failed confirmations in 0 hours, 0 minutes, 18 seconds at 17:01:59.927
[9660:6908:0710/170141.930:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170143.645:VERBOSE6:transfer.cc(108)] Successfully logged transferred ad event
[9660:6908:0710/170143.645:VERBOSE1:ads_impl.cc(982)] Transferred ad for https://www.apple.com/
[9660:6908:0710/170143.652:VERBOSE3:ads_impl.cc(804)] Successfully processed deposit for ad_notification with creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and landed valued at 0
[9660:6908:0710/170143.652:VERBOSE1:confirmations.cc(61)] Confirming landed for ad_notification with transaction id 8782374d-c650-42ab-9519-0b0343fec4af and creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed
[9660:6908:0710/170143.652:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170143.652:VERBOSE1:redeem_unblinded_token.cc(50)] Redeem unblinded token
[9660:6908:0710/170143.652:VERBOSE1:redeem_unblinded_token.cc(71)] CreateConfirmation
[9660:6908:0710/170143.652:VERBOSE2:redeem_unblinded_token.cc(72)] POST /v2/confirmation/{confirmation_id}/{credential}
[9660:6908:0710/170143.652:VERBOSE6:redeem_unblinded_token.cc(76)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/241aff57-e18e-
Content: {"blindedPaymentTokens":["ZFqW2IujjJ3oK2oQMGL7tOJT/mEnmAwFY3/scMOcLzw="],"buildChannel":"release","catalog":[{"id":"07250136f2a3e6fc7313d3fd822c769a13912cab"}],"countryCode":"US","createdAtTimestamp":"2022-07-11T00:00:00.000Z","creativeInstanceId":"4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed","odyssey":"host","payload":{},"platform":"windows","publicKey":"mp/79e6Zamgx3w2NwPzfV9WJncGY42pxR0DjT/RagGI=","studies":[],"systemTimestamp":"2022-07-11T00:00:00.000Z","type":"landed","versionNumber":"103.0.5060.114"}
Content Type: application/json
Method: kPost
[9660:6908:0710/170143.652:VERBOSE7:redeem_unblinded_token.cc(77)] Headers:
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦accept: application/json
[9660:6908:0710/170143.661:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170143.774:VERBOSE1:redeem_unblinded_token.cc(87)] OnCreateConfirmation
[9660:6908:0710/170143.775:VERBOSE6:redeem_unblinded_token.cc(89)] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/241aff57-e18e-
Response Status Code: 201
Response: {"id":"241aff57-e18e-4a9d-9383-c57af94d1485","payload":{},"createdAt":"2022-07-11T00:01:38.413Z","type":"landed","modifiedAt":"2022-07-11T00:01:38.413Z","creativeInstanceId":"4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed"}
[9660:6908:0710/170143.776:VERBOSE7:redeem_unblinded_token.cc(90)] Headers:
[9660:6908:0710/170143.777:VERBOSE1:redeem_unblinded_token.cc(121)] FetchPaymentToken
[9660:6908:0710/170143.777:VERBOSE2:redeem_unblinded_token.cc(122)] GET /v2/confirmation/{confirmation_id}/paymentToken
[9660:6908:0710/170143.777:VERBOSE6:redeem_unblinded_token.cc(126)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/241aff57-e18e-4a9d-9383-c57af94d1485/paymentToken
Method: kGet
[9660:6908:0710/170143.777:VERBOSE7:redeem_unblinded_token.cc(127)] Headers:
[9660:6908:0710/170143.838:VERBOSE1:redeem_unblinded_token.cc(137)] OnFetchPaymentToken
[9660:6908:0710/170143.838:VERBOSE6:redeem_unblinded_token.cc(139)] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/241aff57-e18e-4a9d-9383-c57af94d1485/paymentToken
Response Status Code: 202
Response: {"error":"Payment Tokens are not ready","statusCode":202}
[9660:6908:0710/170143.839:VERBOSE7:redeem_unblinded_token.cc(140)] Headers:
[9660:6908:0710/170143.841:VERBOSE1:redeem_unblinded_token.cc(157)] Payment token is not ready
[9660:6908:0710/170143.842:VERBOSE1:confirmations.cc(323)] Failed to redeem unblinded token for ad_notification with confirmation id 241aff57-e18e-4a9d-9383-c57af94d1485, transaction id 8782374d-c650-42ab-9519-0b0343fec4af, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and landed
[9660:6908:0710/170143.842:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170143.842:VERBOSE1:confirmations.cc(205)] Added landed confirmation for ad_notification with id 241aff57-e18e-4a9d-9383-c57af94d1485, transaction id8782374d-c650-42ab-9519-0b0343fec4af and creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed to the confirmations queue
[9660:6908:0710/170143.843:VERBOSE1:refill_unblinded_tokens.cc(92)] No need to refill unblinded tokens as we already have 47 unblinded tokens which is above the minimum threshold of 20
[9660:6908:0710/170143.844:VERBOSE1:confirmations.cc(100)] Retry sending failed confirmations in 0 hours, 0 minutes, 24 seconds at 17:02:07.843
[9660:6908:0710/170143.848:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170146.661:INFO:CONSOLE(0)] "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'.", source:
(0)
[9660:6908:0710/170146.882:VERBOSE1:conversions.cc(263)] Checking URL for conversions
[9660:6908:0710/170146.882:VERBOSE1:purchase_intent_processor.cc(102)] No purchase intent matches found for visited URL
[9660:6908:0710/170146.893:VERBOSE1:text_classification_processor.cc(64)] Classified text with the top segment as technology & computing-software
[9660:6908:0710/170146.893:VERBOSE9:client_state_manager.cc(553)] Saving client state
[9660:6908:0710/170146.897:VERBOSE9:client_state_manager.cc(571)] Successfully saved client state
[9660:6908:0710/170146.898:VERBOSE1:conversions.cc(341)] Conversion for ad_notification with campaign id d1e25388-b362-4f30-bd4b-36b8205e59e5, creative set id 5f8c4787-8431-49a5-9d09-bba40f8ad5f4, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and advertiser id a34de75d-5654-4331-8713-8f4d4e2b6bf7
[9660:6908:0710/170146.899:VERBOSE1:conversions.cc(328)] There was a conversion match
[9660:6908:0710/170146.903:VERBOSE6:conversions.cc(391)] Successfully logged conversion event
[9660:6908:0710/170146.906:VERBOSE3:conversions.cc(415)] Successfully appended conversion to queue
[9660:6908:0710/170146.909:VERBOSE1:conversions.cc(558)] Convert ad_notification with campaign id d1e25388-b362-4f30-bd4b-36b8205e59e5, creative set id 5f8c4787-8431-49a5-9d09-bba40f8ad5f4, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and advertiser id a34de75d-5654-4331-8713-8f4d4e2b6bf7 in 0 hours, 14 minutes, 19 seconds at 17:16:05.898
[9660:6908:0710/170149.935:VERBOSE1:browser_manager.cc(65)] Browser did resign active
[9660:6908:0710/170149.935:VERBOSE1:browser_manager.cc(89)] Browser did enter background
[9660:6908:0710/170149.935:VERBOSE6:user_activity_manager.cc(48)] Triggered event: 02 (8:2:3600 s)
[9660:6908:0710/170207.622:VERBOSE1:ads_impl.cc(299)] Browser state changed to idle
[9660:6908:0710/170207.859:VERBOSE1:confirmations.cc(229)] Removed click confirmation for ad_notification with id 76e57c0a-2ed5-42aa-8da3-a1eb96316d19, transaction id e48530a4-eb15-4bbb-ad10-039627102e78 and creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed from the confirmations queue
[9660:6908:0710/170207.859:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170207.860:VERBOSE1:redeem_unblinded_token.cc(50)] Redeem unblinded token
[9660:6908:0710/170207.860:VERBOSE1:redeem_unblinded_token.cc(121)] FetchPaymentToken
[9660:6908:0710/170207.860:VERBOSE2:redeem_unblinded_token.cc(122)] GET /v2/confirmation/{confirmation_id}/paymentToken
[9660:6908:0710/170207.860:VERBOSE6:redeem_unblinded_token.cc(126)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/76e57c0a-2ed5-42aa-8da3-a1eb96316d19/paymentToken
Method: kGet
[9660:6908:0710/170207.860:VERBOSE7:redeem_unblinded_token.cc(127)] Headers:
[9660:6908:0710/170207.861:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170207.924:VERBOSE1:redeem_unblinded_token.cc(137)] OnFetchPaymentToken
[9660:6908:0710/170207.924:VERBOSE6:redeem_unblinded_token.cc(139)] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/76e57c0a-2ed5-42aa-8da3-a1eb96316d19/paymentToken
Response Status Code: 200
Response: {"id":"76e57c0a-2ed5-42aa-8da3-a1eb96316d19","createdAt":"2022-07-11T00:01:27.420Z","type":"click","modifiedAt":"2022-07-11T00:01:31.724Z","creativeInstanceId":"4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed","paymentToken":{"publicKey":"hPG3j7g7Vb6y635dinW8AVX5Izkh22hXfLXzPpnRRw8=","batchProof":"ed/flJ1uYV7+/0ovizfzwJXqmTSg40n8VcZyqW6t6gA2qeFIWPbXGs+4Tg+JGoCX7l2h+lly8ht10l921WwyDA==","signedTokens":["fAhwKgNY8tNKY54fXtf6V7v4Qk6cwmywGVOU3HE9myw="]}}
[9660:6908:0710/170207.924:VERBOSE7:redeem_unblinded_token.cc(140)] Headers:
[9660:6908:0710/170207.924:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170207.924:VERBOSE1:confirmations.cc(303)] Successfully redeemed unblinded token for ad_notification with confirmation id 76e57c0a-2ed5-42aa-8da3-a1eb96316d19, transaction id e48530a4-eb15-4bbb-ad10-039627102e78, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and click. You now have 2 unblinded payment tokens which will be redeemed in 0 hours, 27 minutes, 49 seconds at 17:29:57.012
[9660:6908:0710/170207.924:VERBOSE1:refill_unblinded_tokens.cc(92)] No need to refill unblinded tokens as we already have 47 unblinded tokens which is above the minimum threshold of 20
[9660:6908:0710/170207.924:VERBOSE1:confirmations.cc(100)] Retry sending failed confirmations in 0 hours, 0 minutes, 11 seconds at 17:02:18.931
[9660:6908:0710/170207.934:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170218.933:VERBOSE1:confirmations.cc(229)] Removed landed confirmation for ad_notification with id 241aff57-e18e-4a9d-9383-c57af94d1485, transaction id 8782374d-c650-42ab-9519-0b0343fec4af and creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed from the confirmations queue
[9660:6908:0710/170218.933:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170218.933:VERBOSE1:redeem_unblinded_token.cc(50)] Redeem unblinded token
[9660:6908:0710/170218.933:VERBOSE1:redeem_unblinded_token.cc(121)] FetchPaymentToken
[9660:6908:0710/170218.933:VERBOSE2:redeem_unblinded_token.cc(122)] GET /v2/confirmation/{confirmation_id}/paymentToken
[9660:6908:0710/170218.933:VERBOSE6:redeem_unblinded_token.cc(126)] URL Request:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/241aff57-e18e-4a9d-9383-c57af94d1485/paymentToken
Method: kGet
[9660:6908:0710/170218.933:VERBOSE7:redeem_unblinded_token.cc(127)] Headers:
[9660:6908:0710/170218.939:VERBOSE9:confirmation_state_manager.cc(138)] Successfully saved confirmations state
[9660:6908:0710/170218.986:VERBOSE1:redeem_unblinded_token.cc(137)] OnFetchPaymentToken
[9660:6908:0710/170218.986:VERBOSE6:redeem_unblinded_token.cc(139)] URL Response:
URL: https://anonymous.ads.bravesoftware.com/v2/confirmation/241aff57-e18e-4a9d-9383-c57af94d1485/paymentToken
Response Status Code: 200
Response: {"id":"241aff57-e18e-4a9d-9383-c57af94d1485","createdAt":"2022-07-11T00:01:38.413Z","type":"landed","modifiedAt":"2022-07-11T00:01:41.648Z","creativeInstanceId":"4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed","paymentToken":{"publicKey":"hPG3j7g7Vb6y635dinW8AVX5Izkh22hXfLXzPpnRRw8=","batchProof":"C1XsVnmn0hhzwaJ9y89+HI19J4hkTS6PcscpZIYiDw5uZoK2uNhdi8HO5Tnk4T9NeofFtjPM93Icu/s6LORuAw==","signedTokens":["CtONTqjLXjTslZ+Szd8TKthCF8J+f3Z9pBDTcMQlMCw="]}}
[9660:6908:0710/170219.001:VERBOSE7:redeem_unblinded_token.cc(140)] Headers:
[9660:6908:0710/170219.001:VERBOSE9:confirmation_state_manager.cc(125)] Saving confirmations state
[9660:6908:0710/170219.006:VERBOSE1:confirmations.cc(303)] Successfully redeemed unblinded token for ad_notification with confirmation id 241aff57-e18e-4a9d-9383-c57af94d1485, transaction id 8782374d-c650-42ab-9519-0b0343fec4af, creative instance id 4cda3ae7-1f70-4bca-b361-ca01d6a8f1ed and landed. You now have 3 unblinded payment tokens which will be redeemed in 0 hours, 27 minutes, 38 seconds at 17:29:57.012
Confirmed V1/GetState
endpoint fetched every ~5 min - PASSED
[16272:18436:0707/164027.613:VERBOSE1:subdivision_targeting.cc(283)] Fetch ads subdivision target in 0 hours, 6 minutes, 31 seconds at 16:46:58.615
[16272:18436:0707/164658.718:VERBOSE1:subdivision_targeting.cc(283)] Fetch ads subdivision target in 0 hours, 3 minutes, 14 seconds at 16:50:12.709
[16272:18436:0707/163926.583:VERBOSE1:subdivision_targeting.cc(283)] Fetch ads subdivision target in 0 hours, 1 minute, 1 second at 16:40:27.582
16272:18436:0707/164658.715:VERBOSE1:subdivision_targeting.cc(216)] Successfully fetched subdivision target
Verification PASSED on
Verified flags listed in #17526 (comment). --rewards=staging=true_PASSEDConfirmed when using
--rewards=staging=false -PASSEDConfirmed when using
--rewards=debug=true - PASSEDVerified items listed in #17526 (comment). Note all times listed are approximate due to +/- jitter.
|
Verification passed on
Verified flags listed in #17526 (comment). --rewards=staging=true_PASSEDConfirmed when using
--rewards=staging=false -PASSEDConfirmed when using
--rewards=debug=true - PASSEDVerified items listed in #17526 (comment). Note all times listed are approximate due to +/- jitter.
|
Brave ads command line arguments:
i.e.
--rewards=staging=false (for production)
--rewards=staging=true (for staging)
--rewards=debug=true
The text was updated successfully, but these errors were encountered: