-
-
Save kennylong/ccb4b09925f31ab21a025c278bdcb5d7 to your computer and use it in GitHub Desktop.
Change to domain_affinities location in /v3/firefox/global-recs response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": 1, | |
"settings": { | |
"domainAffinityParameterSets": { | |
"default": { | |
"recencyFactor": 0.5, | |
"frequencyFactor": 0.5, | |
"combinedDomainFactor": 0.5, | |
"perfectFrequencyVisits": 10, | |
"perfectCombinedDomainScore": 2, | |
"multiDomainBoost": 0, | |
"itemScoreFactor": 1 | |
}, | |
"fully-personalized": { | |
"recencyFactor": 0.5, | |
"frequencyFactor": 0.5, | |
"combinedDomainFactor": 0.5, | |
"perfectFrequencyVisits": 10, | |
"perfectCombinedDomainScore": 2, | |
"itemScoreFactor": 0.01, | |
"multiDomainBoost": 0 | |
} | |
}, | |
"domainAffinities": { | |
"business-234": { | |
"wsj.com": 1.0, | |
"bloomberg.com": 0.5, | |
"businessinsider.com": 0.5, | |
"fortune.com": 0.5 | |
}, | |
"sports-235": { | |
"espn.com": 1.0, | |
"nfl.com": 0.5, | |
"nba.com": 0.5, | |
"mlb.com": 0.5, | |
"nhl.com": 0.5 | |
} | |
}, | |
"timeSegments": [ | |
{ | |
"id": "week", | |
"startTime": 604800, | |
"endTime": 0, | |
"weightPosition": 1 | |
}, | |
{ | |
"id": "month", | |
"startTime": 2592000, | |
"endTime": 604800, | |
"weightPosition": 0.5 | |
} | |
], | |
"recsExpireTime": 5400, | |
"spocsPerNewTabs": 1, | |
"version": "5a44ea6b7ee73933c653982e86518cc50f578458" | |
}, | |
"spocs": [ | |
{ | |
"domain_affinities": "business-234", | |
"min_score": 0.1, | |
"item_score": 0.04, | |
"caps": { | |
"lifetime": 3, | |
"campaign": { | |
"count": 3, | |
"period": 86400 | |
} | |
}, | |
"campaign_id": 100, | |
"title": "6 Ways to Welcome Employees on Their First Day", | |
"url": "https://blog.asana.com/2017/12/things-welcome-new-employees-managers-do/?utm_source=pocket&utm_medium=pd_firefox", | |
"image_src": "https://img-getpocket.cdn.mozilla.net/direct?url=https%3A%2F%2Fasanablog-wpengine.netdna-ssl.com%2Fwp-content%2Fpost-images%2Fnew-hire-onboarding-Article-1024x655%402x.png&resize=w618-h310", | |
"domain": "asana.com", | |
"parameter_set": "fully-personalized", | |
"excerpt": "When the onboarding process is clear, new employees become productive faster, feel secure in their new role, and are more engaged—everybody wins.", | |
"id": 16524, | |
"context": "Sponsored by Asana", | |
"published_timestamp": 1531775122 | |
}, | |
{ | |
"domain_affinities": "sports-235", | |
"min_score": 0.1, | |
"item_score": 0.11, | |
"caps": { | |
"lifetime": 3, | |
"campaign": { | |
"count": 3, | |
"period": 86400 | |
} | |
}, | |
"campaign_id": 100, | |
"title": "Stop the Drop-Bys: How to Master the Work Request", | |
"url": "https://blog.asana.com/2017/12/how-more-productive-work-requests/?utm_source=pocket&utm_medium=pd_firefox", | |
"image_src": "https://img-getpocket.cdn.mozilla.net/direct?url=https%3A%2F%2Fasanablog-wpengine.netdna-ssl.com%2Fwp-content%2Fpost-images%2Fwork-requests-ArticleImage-1024x655%402x.png&resize=w618-h310", | |
"domain": "asana.com", | |
"parameter_set": "fully-personalized", | |
"excerpt": "Instead of being subject to anyone who walks by with a “quick question,” follow along to learn how to create a more productive way to file and track work.", | |
"id": 16703, | |
"context": "Sponsored by Asana", | |
"published_timestamp": 1531775122 | |
} | |
], | |
"recommendations": [ | |
{ | |
"id": 20826, | |
"url": "http://time.com/5335937/do-you-need-less-sleep-as-you-age/", | |
"domain": "time.com", | |
"title": "Do You Really Need Less Sleep As You Age?", | |
"excerpt": "There’s no doubt that kids need more sleep than adults. Their growing bodies and brains burn through a lot of energy, and adequate rest and recovery are essential for proper development.", | |
"image_src": "https://img-getpocket.cdn.mozilla.net/direct?url=https%3A%2F%2Ftimedotcom.files.wordpress.com%2F2017%2F04%2Ftime-health-stock-sleep-nap-2.jpg%3Fquality%3D85&resize=w450", | |
"published_timestamp": "0", | |
"parameter_set": "default", | |
"domain_affinities": "sports-235", | |
"item_score": 1 | |
}, | |
{ | |
"id": 20824, | |
"url": "https://medium.com/personal-growth/the-philosophical-argument-for-working-less-and-wasting-time-71bbbcb7310b", | |
"domain": "medium.com", | |
"title": "The Philosophical Argument for Working Less (and Wasting Time)", | |
"excerpt": "Bertrand Russell is a strange name to bring up when we consider the merits of working less. He was a philosopher and mathematician by trade, but given his prodigious output, the case could easily be made that he was just as much a historian, a social critic, and a political activist.", | |
"image_src": "https://img-getpocket.cdn.mozilla.net/direct?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1200%2F1%2A9y4G_g90fWF5Yz9lFYOeUg.jpeg&resize=w450", | |
"published_timestamp": "1531315709", | |
"parameter_set": "default", | |
"domain_affinities": "business-234", | |
"item_score": 0.975 | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment