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

Add Prebid.js version to the request #3280

Merged
merged 32 commits into from
Nov 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
60b6821
check gdpr in buildRequest
curlyblueeagle Aug 3, 2018
888a1bd
User sync based on whether gdpr applies or not
curlyblueeagle Aug 3, 2018
59f8304
check if consent data exists during user sync
curlyblueeagle Aug 3, 2018
1096846
split user sync into further branches: 1) when gdpr does not apply 2)…
curlyblueeagle Aug 7, 2018
6dfb54d
Merge pull request #8 from 33Across/XCH-801_gdpr_compliance
curlyblueeagle Aug 16, 2018
c089d82
Merge remote-tracking branch 'upstream/master'
Sep 12, 2018
fc9e8c6
contribute viewability to ttxRequest
Sep 7, 2018
5a95872
update tests
Sep 10, 2018
8aa0218
remove window mock from tests
Sep 10, 2018
7f75405
use local variables
Sep 10, 2018
6aedf17
introduce ServerRequestBuilder
Sep 10, 2018
9765718
add withOptions() method to ServerRequestBuilder
Sep 10, 2018
88a6527
add semicolons
Sep 10, 2018
093062d
Merge pull request #12 from 33Across/viewability
glebglushtsov Sep 12, 2018
ac0b586
sync up package-lock.json with upstream/master
Sep 12, 2018
a9abbfb
stub window.top in tests
Sep 13, 2018
f701fb9
introduce getTopWindowSize() for test purpose
Sep 13, 2018
059437b
reformat code
Sep 13, 2018
90e5bed
add withSite() method to TtxRequestBuilder
Sep 13, 2018
9660102
Merge pull request #14 from 33Across/viewability
glebglushtsov Sep 13, 2018
832e1d1
Merge remote-tracking branch 'upstream/master'
Sep 14, 2018
f26b47a
add isIframe() and _isViewabilityMeasurable()
Sep 14, 2018
8f34683
handle NON_MEASURABLE viewability in nested iframes
Sep 14, 2018
07f4933
consider page visibility, stub utils functions getWindowTop() and get…
Sep 14, 2018
525684b
Merge pull request #15 from 33Across/viewability
glebglushtsov Sep 14, 2018
8507272
contribute viewability as 0 for inactive tab
Sep 17, 2018
d502156
Merge pull request #16 from 33Across/viewability
glebglushtsov Sep 17, 2018
a83374e
Merge remote-tracking branch 'upstream/master'
Sep 27, 2018
7219753
Merge remote-tracking branch 'upstream/master'
Nov 7, 2018
527abc6
add prebidjs version to ttx request
Nov 7, 2018
959637f
send caller as an array
Nov 8, 2018
2b347c1
Merge pull request #17 from 33Across/oculus-66-add-prebidjs-version-t…
glebglushtsov Nov 8, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions modules/33acrossBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@ function _createServerRequest(bidRequest, gdprConsent) {
gdpr: (gdprConsent.gdprApplies === true) ? 1 : 0
}
};
ttxRequest.ext = {
ttx: {
caller: [{
'name': 'prebidjs',
'version': '$prebid.version$'
}]
}
}

// Finally, set the openRTB 'test' param if this is to be a test bid
if (params.test === 1) {
Expand Down
8 changes: 8 additions & 0 deletions test/spec/modules/33acrossBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ describe('33acrossBidAdapter:', function () {
ext: {
gdpr: 0
}
},
ext: {
ttx: {
caller: [{
'name': 'prebidjs',
'version': '$prebid.version$'
}]
}
}
};

Expand Down