-
Notifications
You must be signed in to change notification settings - Fork 805
Emxd 3336 add app video ctv #1529
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
Merged
hhhjort
merged 9 commits into
prebid:master
from
EMXDigital:EMXD_3336_add_app_video_ctv
Oct 21, 2020
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
b7b69c1
Adapter changes for app and video support
rakeshbalakrishnan28 c554711
adding ctv devicetype test case
rakeshbalakrishnan28 3dc860f
Merge branch 'master' into EMXD_3336_add_app_video_ctv
DBogdanEMX 86a498f
Adding whitespace
DBogdanEMX 32c6ad6
Updates based on feedback from Prebid team
DBogdanEMX 530c0b1
Merge remote-tracking branch 'upstream/master' into EMXD_3336_add_app…
rakeshbalakrishnan28 7368cce
protocol bug fix and testing
rakeshbalakrishnan28 55c8338
Modifying test cases to accomodate new imp.ext field
rakeshbalakrishnan28 52a12be
bidtype bug fix and additonal testcase for storeUrl
rakeshbalakrishnan28 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156 changes: 156 additions & 0 deletions
156
adapters/emx_digital/emx_digitaltest/exemplary/banner-and-video-app.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
{ | ||
"mockBidRequest": { | ||
"id": "some_test_auction", | ||
"imp": [{ | ||
"id": "some_test_ad_id", | ||
"banner": { | ||
"format": [{ | ||
"w": 300, | ||
"h": 250 | ||
}], | ||
"w": 300, | ||
"h": 250 | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"tagid": "25251" | ||
} | ||
} | ||
}, | ||
{ | ||
"id": "some_test_ad_id", | ||
"video":{ | ||
"mimes": [ | ||
"video/mp4", | ||
"application/javascript" | ||
], | ||
"protocols":[ | ||
2, | ||
3, | ||
5, | ||
6 | ||
], | ||
"w":640, | ||
"h":480 | ||
}, | ||
"ext": { | ||
"bidder": { | ||
"tagid": "25251" | ||
} | ||
} | ||
}], | ||
"device": { | ||
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36", | ||
"ip": "123.123.123.123", | ||
"dnt": 1 | ||
}, | ||
"app": { | ||
"domain": "www.publisher.com", | ||
"storeurl": "http://www.publisher.com/awesome/site?with=some¶meters=here" | ||
} | ||
}, | ||
|
||
"httpCalls": [{ | ||
"expectedRequest": { | ||
"uri": "https://hb.emxdgt.com?t=1000&ts=2060541160", | ||
"headers": { | ||
"Accept": [ | ||
"application/json" | ||
], | ||
"Content-Type": [ | ||
"application/json;charset=utf-8" | ||
], | ||
"X-Forwarded-For": [ | ||
"123.123.123.123" | ||
], | ||
"Dnt": [ | ||
"1" | ||
], | ||
"User-Agent": [ | ||
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36" | ||
] | ||
}, | ||
"body": { | ||
"id": "some_test_auction", | ||
"imp": [{ | ||
"id": "some_test_ad_id", | ||
"banner": { | ||
"format": [{ | ||
"w": 300, | ||
"h": 250 | ||
}], | ||
"w": 300, | ||
"h": 250 | ||
}, | ||
"tagid": "25251", | ||
"secure": 0 | ||
}, | ||
{ | ||
"id": "some_test_ad_id", | ||
"video":{ | ||
"mimes": [ | ||
"video/mp4", | ||
"application/javascript" | ||
], | ||
"protocols":[ | ||
2, | ||
3, | ||
5, | ||
6 | ||
], | ||
"w":640, | ||
"h":480 | ||
}, | ||
"tagid": "25251", | ||
"secure": 0 | ||
}], | ||
"app": { | ||
"domain": "www.publisher.com", | ||
"storeurl": "http://www.publisher.com/awesome/site?with=some¶meters=here" | ||
}, | ||
"device": { | ||
"ua": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36", | ||
"ip": "123.123.123.123", | ||
"dnt": 1 | ||
} | ||
} | ||
}, | ||
"mockResponse": { | ||
"status": 200, | ||
"body": { | ||
"id": "some_test_auction", | ||
"seatbid": [{ | ||
"seat": "12356", | ||
"bid": [{ | ||
"adm": "some-test-ad", | ||
"id": "uuid", | ||
"impid": "some_test_ad_id", | ||
"ttl": 300, | ||
"crid": "94395500", | ||
"w": 300, | ||
"price": 2.942808, | ||
"adid": "94395500", | ||
"h": 250 | ||
}] | ||
}], | ||
"cur": "USD" | ||
} | ||
} | ||
}], | ||
|
||
"expectedBids": [{ | ||
"bid": { | ||
"adm": "some-test-ad", | ||
"id": "uuid", | ||
"impid": "some_test_ad_id", | ||
"ttl": 300, | ||
"crid": "94395500", | ||
"w": 300, | ||
"price": 2.942808, | ||
"adid": "94395500", | ||
"h": 250 | ||
}, | ||
"type": "banner" | ||
}] | ||
} | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.