From d80daf54b2cf2792a1ed01e065cb76786249c3cf Mon Sep 17 00:00:00 2001 From: djaxbidder Date: Sat, 14 Sep 2019 13:16:31 +0530 Subject: [PATCH 1/3] djax bidder adapter --- integrationExamples/gpt/hello_world.html | 11 +- modules/djaxBidAdapter.js | 129 ++++++++++++++++++ modules/djaxBidAdapter.md | 50 +++++++ test/spec/modules/djaxBidAdapter_spec.js | 159 +++++++++++++++++++++++ 4 files changed, 343 insertions(+), 6 deletions(-) create mode 100644 modules/djaxBidAdapter.js create mode 100644 modules/djaxBidAdapter.md create mode 100644 test/spec/modules/djaxBidAdapter_spec.js diff --git a/integrationExamples/gpt/hello_world.html b/integrationExamples/gpt/hello_world.html index 337c762adc5..4fab07d9672 100644 --- a/integrationExamples/gpt/hello_world.html +++ b/integrationExamples/gpt/hello_world.html @@ -19,14 +19,14 @@ code: 'div-gpt-ad-1460505748561-0', mediaTypes: { banner: { - sizes: [[300, 250], [300,600]], + sizes: [[300, 250]], } }, // Replace this object to test a new Adapter! bids: [{ - bidder: 'appnexus', + bidder: 'djax', params: { - placementId: 13144370 + publisherId: 1 } }] @@ -71,8 +71,7 @@ - - - - + + - - + + - - - + }); + } + + setTimeout(function () { + sendAdserverRequest(); + }, FAILSAFE_TIMEOUT); + + + + + + +

Prebid.js Test

-
Image Banner
+
Div-1
- +
- - + + + \ No newline at end of file From 5ee3c4d5985ad5a0e7fdf5e8c22599bac8d334c5 Mon Sep 17 00:00:00 2001 From: djaxbidder <55269794+djaxbidder@users.noreply.github.com> Date: Sat, 14 Sep 2019 13:56:38 +0530 Subject: [PATCH 3/3] Update hello_world.html --- integrationExamples/gpt/hello_world.html | 152 +++++++++++------------ 1 file changed, 75 insertions(+), 77 deletions(-) diff --git a/integrationExamples/gpt/hello_world.html b/integrationExamples/gpt/hello_world.html index 0c80d1e73c9..337c762adc5 100644 --- a/integrationExamples/gpt/hello_world.html +++ b/integrationExamples/gpt/hello_world.html @@ -8,86 +8,84 @@ --> - - - - - + + + + - - + + - - - - - + + + +

Prebid.js Test

Div-1
- +
- - - \ No newline at end of file + +