-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 Lifestreet adapter. #965
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Lifestreet
Getting Bid Response so that is good.
Have left comments. Please check.
src/adapters/lifestreet.js
Outdated
|
||
function _addSlotBidResponse(placementCode, cpm, ad, width, height) { | ||
let hasResponse = cpm && ad && ad.length > 0; | ||
let bidObject = bidfactory.createBid(hasResponse ? 1 : 2); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add bid request as second param to match request response pair.
src/adapters/lifestreet.js
Outdated
if (slotName && !SLOTS_LOAD_MAP[slotName]) { | ||
SLOTS_LOAD_MAP[slotName] = true; | ||
let ad = `<div id="LSM_AD"></div> | ||
<script>window.parent.$$PREBID_GLOBAL$$["` + slotName + `"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
window.parent will not work in safeframe.
2. Improvements for window.parent
Thanks for your comments @jaiminpanchal27 . Please check. |
Regarding SafeFrame: AFAIK these are not supported in Prebid.js currently. If it's an important issue, could you @jaiminpanchal27 please suggest what is the best way to access |
@protonate can you answer this one ? |
Thanks @protonate and @jaiminpanchal27 |
Looks good. Thanks for the changes @Lifestreet |
This is merged into master. Please submit a PR to the docs repo to add a file for your adapter to the bidders directory so your adapter's params will appear on the bidders page. Thank you for contributing |
Thank you. Will do! Could you please let us know if there is anything additional required to be approved for the list of header bidding partners on the download page (http://prebid.org/download.html)? |
Hi @Lifestreet ! Thanks! |
Hi @aneuway2 ! Thank you. |
…ebid-official-0.19.0 to release/1.14.0 * commit 'b13f7ba7ee8b3c168dc0af7c8bfc94747d017e70': (34 commits) Add changelog entry. Prebid 0.19.0 Release check truthiness of adUnitCode (prebid#990) fixed exception when refreshing individual Ad Units and bidder responds slowly (prebid#989) Stub pixel drop to prevent network request in test (prebid#988) Updating Komoona adapter to support future Prebid requirements (prebid#974) Use stable version of Chrome (prebid#984) Revert to running browser tests in Travis (prebid#983) Fix issue with appnexusAst sending `user` object in the wrong place. (prebid#980) Integrate Browserstack tests into Travis CI build (prebid#839) Add StickyAdsTV Bidder adapter (prebid#916) Stronger xdomain checks (prebid#971) added matomy as an alias for appnexus (prebid#850) Added 152Media Appnexus Alias (prebid#952) OpenX Adapter: Handles fallback ads correctly as a no fill (prebid#39) (prebid#963) Use package dependencies for ES6 Array shims (prebid#962) Make x-domain safe frame example work out of the box (prebid#955) added usersync for adkernel adapter (prebid#951) Rubicon adapter: add a floor variable (prebid#964) Added Lifestreet adapter. (prebid#965) ...
Type of change
Description of change
mobile.development@lifestreet.com
Other information