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

Topics FPD module: initial release #8630

Merged
merged 4 commits into from
Jul 5, 2022
Merged

Conversation

dgirardi
Copy link
Collaborator

Type of change

  • Feature

Description of change

This adds a new topicsFpdModule that queries the topics api to populate user.data.

Since document.browsingTopics() always returns an empty list for me, I need volunteers to test this in the real world.

Other information

Closes #7968
Depends on #8626
Documentation TBD

if (name != null) {
datum.name = name;
}
return datum;
Copy link
Collaborator

@vkimcm vkimcm Jul 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing on Chrome beta, when you get topics like this from API,
[{"configVersion":"chrome.1","modelVersion":"2206021246","taxonomyVersion":"1","topic":301,"version":"chrome.1:1:2206021246"},{"configVersion":"chrome.1","modelVersion":"2206021246","taxonomyVersion":"1","topic":3,"version":"chrome.1:1:2206021246"}]
datum looks like this
[{"name":"domain","ext":{"segtax":600,"segclass":"1"},"segment":[{"id":"301"},{"id":"3"}]}]

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! just to confirm, "domain" is a placeholder you chose, not the actual value of name - right?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it was placeholder

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

segclass should be "2206021246" here @dgirardi , not 1

@patmmccann patmmccann changed the title Topics FPD module Topics FPD module: initial release Jul 5, 2022
@patmmccann patmmccann merged commit f567365 into prebid:master Jul 5, 2022
dgirardi added a commit that referenced this pull request Jul 5, 2022
@dgirardi
Copy link
Collaborator Author

dgirardi commented Jul 5, 2022

I reverted the merge of this and reopened #8646 - to get a second review on making FPD modules asynchronous, and preferably wait on the merge of #8626

bwhisp pushed a commit to bwhisp/Prebid.js that referenced this pull request Jul 13, 2022
* Topics FPD module

* Small improvements
bwhisp pushed a commit to bwhisp/Prebid.js that referenced this pull request Jul 13, 2022
ahmadlob referenced this pull request in taboola/Prebid.js Jul 27, 2022
* Topics FPD module

* Small improvements
ahmadlob referenced this pull request in taboola/Prebid.js Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: Topics api results on user.data
3 participants