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

Added referrer parameter #966

Merged
merged 34 commits into from
Feb 23, 2017
Merged

Added referrer parameter #966

merged 34 commits into from
Feb 23, 2017

Conversation

bjorn-wo
Copy link
Contributor

@bjorn-wo bjorn-wo commented Feb 2, 2017

Type of change

  • [x ] Feature

Description of change

Added a new parameter "referrer" where publisher can (optionally) insert the referrer domain if the ad is running within an iframe where the url can't be detected.

Other information

bjorn-wo and others added 30 commits February 4, 2016 11:23
Also making sure we encode/decode site and page parameters.
# Conflicts:
#	package.json
#	src/adaptermanager.js
Fix unit tests after refactoring
Merge remote-tracking branch 'upstream/master'

# Conflicts:
#	package.json
# Conflicts:
#	.gitignore
#	package.json
#	src/adapters/wideorbit.js
#	test/spec/adapters/wideorbit_spec.js
Copy link
Collaborator

@matthewlane matthewlane left a comment

Choose a reason for hiding this comment

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

@bjorn-wo Two comments for your review below then this can merge, thank you

params: {
pbId: 123, // REQUIRED Publisher Id,
pId: 123456 // REQUIRED Placement Id
}
Copy link
Collaborator

@matthewlane matthewlane Feb 17, 2017

Choose a reason for hiding this comment

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

pbjs_example_gpt.html already includes the same wideorbit params further up the page, are these new ones needed or can they be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for spotting this. It looks like there was a problem when mergin in the latest code.

@@ -1,213 +1,215 @@
var bidfactory = require('../bidfactory.js'),
Copy link
Collaborator

@matthewlane matthewlane Feb 17, 2017

Choose a reason for hiding this comment

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

The line endings in this commit are CRLF (Windows-style), but the current wideorbit adapter uses LF (Unix-style) line endings. Can you keep LF line endings so the diff is easier to read?

@matthewlane matthewlane merged commit 57d66ed into prebid:master Feb 23, 2017
@aneuway2
Copy link
Contributor

aneuway2 commented Mar 3, 2017

@bjorn-wo can you add information on the new referrer parameter to the docs repo ?

http://prebid.org/dev-docs/bidders.html#wideorbit

vzhukovsky added a commit to aol/Prebid.js that referenced this pull request May 19, 2017
…18.0 to aolgithub-master

* commit '2881f03dd76bfcf484fbfeaf0f9e1000b383d20d':
  Added adapters in aolPartnersIds.json.
  Added changelog entry.
  Prebid 0.20.0 Release
  Remove test that intermittently fails unit tests (prebid#1020)
  Create bids for requests without mutating ad units (prebid#1019)
  Use optimize js to improve parse time (https://github.com/nolanlawson/optimize-js) (prebid#1018)
  Fixes for Centro adapter (prebid#992)
  adbund adapter (prebid#932)
  Fix bug with supporting non-cpm dealId bids. (prebid#1006)
  Added referrer parameter (prebid#966)
  Support Video for GetIntent adapter (prebid#987)
  Currency support for SmartAdServer adapter (prebid#979)
  Deal support for SmartAdServer adapter (prebid#978)
  Skip test causing build failures (prebid#997)
  E2etest concurrency (prebid#982)
  Add ThoughtLeadr adapter (prebid#894)
  Increment Pre Version
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