Closed
Bug 1939529
Opened 1 year ago
Closed 1 year ago
Update ShoppingProduct to use v3 Affiliates API
Categories
(Firefox Graveyard :: Shopping, task, P2)
Firefox Graveyard
Shopping
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: fchasen, Assigned: kpatenio)
References
Details
(Whiteboard: [fidefe-RCSidebar])
Attachments
(1 obsolete file)
To separate recommendations from sponsored content in ShoppingProduct, the RECOMMENDATIONS_API need to be update to allow passing an array of types in mtc_content_type to get everything or just recommendations or ads.
Content types are:
organicsponsored
Passing [organic, sponsored] will return the same results as the current API.
This is going require a new pref to toggle:
- Add a new pref to compliment
browser.shopping.experience2023.ads.userEnabled, maybebrowser.shopping.experience2023.recommendations.userEnabled? (adsis the sponsored content pref) - Allow setting that pref in RemotePageAccessManager.sys.mjs
- Add the new pref to AsyncPrefs.sys.mjs
- Add a new listener in the actors and update
adsEnabledByUserChangedto handle the new pref. - Pass array of content types in
requestRecommendationsin the child actor.
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Assignee: fchasen → nobody
Status: ASSIGNED → NEW
Updated•1 year ago
|
Attachment #9459801 -
Attachment description: WIP: Bug 1939529 - Update ShoppingProduct to use v3 Affiliates API. r=#shopping-reviewers! → Bug 1939529 - Update ShoppingProduct to use v3 Affiliates API. r=#shopping-reviewers!
Updated•1 year ago
|
Attachment #9459801 -
Attachment is obsolete: true
Updated•1 year ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•