Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Remove unused lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted Brave Ads state #9022

Closed
tmancey opened this issue Apr 4, 2020 · 1 comment · Fixed by brave/brave-core#5159

Comments

@tmancey
Copy link
Contributor

tmancey commented Apr 4, 2020

Remove unused lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted (Default/ads_service/client.json) Brave Ads state

@tmancey tmancey self-assigned this Apr 4, 2020
@tmancey tmancey changed the title Encrypt URLs for locally persisted purchase intent Remove searchActivity, searchUrl, shopActivity and shopUrl from locally persisted client state Apr 4, 2020
@tmancey tmancey added enhancement feature/ads priority/P3 The next thing for us to work on. It'll ride the trains. QA/Yes labels Apr 4, 2020
@tmancey tmancey changed the title Remove searchActivity, searchUrl, shopActivity and shopUrl from locally persisted client state Remove lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted client state Apr 4, 2020
@tmancey tmancey changed the title Remove lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted client state Remove unused lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted client state Apr 4, 2020
@tmancey tmancey changed the title Remove unused lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted client state Remove unused lastSearchTime, searchActivity, searchUrl, lastShopTime, shopActivity and shopUrl from locally persisted Brave Ads state Apr 4, 2020
@tmancey tmancey added this to the 1.9.x - Nightly milestone Apr 7, 2020
@GeetaSarvadnya
Copy link

GeetaSarvadnya commented May 11, 2020

Verification passed on


Brave | 1.9.62 Chromium: 81.0.4044.138 (Official Build) dev (64-bit)
-- | --
Revision | 8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}
OS | Windows 10 OS Version 1803 (Build 17134.1006)

{
  "adPreferences": {
    "filtered_ads": [],
    "filtered_categories": [],
    "saved_ads": [],
    "flagged_ads": []
  },
  "adsShownHistory": [],
  "purchaseIntentSignalHistory": {},
  "adUUID": "30915544-c707-4a94-aa05-77e03cae3c73",
  "adsUUIDSeen": {},
  "advertisersUUIDSeen": {},
  "nextCheckServeAd": 0,
  "available": true,
  "userModelLanguage": "en",
  "userModelLanguages": [
    "de",
    "en",
    "fr"
  ],
  "pageScoreHistory": [],
  "creativeSetHistory": {},
  "adConversionHistory": {},
  "campaignHistory": {},
  "score": 0,
  "version_code": ""
}

Verified passed with

Brave | 1.9.62 Chromium: 81.0.4044.138 (Official Build) dev (64-bit)
-- | --
Revision | 8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}
OS | macOS Version 10.14.6 (Build 18G3020)

on the left is client.json from 1.8.95 and on the right is same client.json from 1.9.62:
Screen Shot 2020-05-11 at 1 45 13 PM


Verification passed on

Brave 1.9.62 Chromium: 81.0.4044.138 (Official Build) dev (64-bit)
Revision 8c6c7ba89cc9453625af54f11fd83179e23450fa-refs/branch-heads/4044@{#999}
OS Ubuntu 18.04 LTS
{
	"adPreferences": {
		"filtered_ads": [],
		"filtered_categories": [],
		"saved_ads": [],
		"flagged_ads": []
	},
	"adsShownHistory": [],
	"purchaseIntentSignalHistory": {},
	"adUUID": "77dc8a4e-4b83-45fc-879c-8743d7f2982e",
	"adsUUIDSeen": {},
	"advertisersUUIDSeen": {},
	"nextCheckServeAd": 0,
	"available": true,
	"userModelLanguage": "en",
	"userModelLanguages": ["de", "en", "fr"],
	"pageScoreHistory": [],
	"creativeSetHistory": {},
	"adConversionHistory": {},
	"campaignHistory": {},
	"score": 0.0,
	"version_code": ""
}

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