Skip to content

Fix for userId_example.html - #5606

Merged
smenzer merged 2 commits into
prebid:masterfrom
shikhar-dev-proj:master
Sep 9, 2020
Merged

Fix for userId_example.html#5606
smenzer merged 2 commits into
prebid:masterfrom
shikhar-dev-proj:master

Conversation

@shikhar-dev-proj

@shikhar-dev-proj shikhar-dev-proj commented Aug 14, 2020

Copy link
Copy Markdown
Contributor

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

On running gulp serve and navigating to integrationExamples/gpt/userId_example.html?pbjs_debug=true, one can see prebid initialised but the bids are not generated.

Issue arises due to:-

  1. no mediaTypes configuration in adUnit (test-div).
  2. usersync instead of userSync present in setConfig method.
    Fixes of these both are available in this pr and results in correct behaviour in terms of userIds in pbjs.getUserIds() and bids in pbjs.adUnits.

Find the attached console output which shows the error
Screenshot 2020-08-14 at 2 54 17 PM
.

@shikhar-dev-proj

Copy link
Copy Markdown
Contributor Author

Hi @jlukas79, can we merge this pr?
Please let me know if anything required at my end.

@smenzer smenzer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@smenzer

smenzer commented Sep 9, 2020

Copy link
Copy Markdown
Collaborator

this example page is now broken because it relies on tcf 1 which is no longer supported by the IAB, so the vendorlist.json is failing to load. this is a problem with the other examples, too, though, so that should be corrected separately. i'll go ahead and merge this for now.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants