Commit 1716bbb
Screencore Bid Adapter: fix region routing and endpoint path (prebid#14544)
* Screencore prebid adapter
* rearrange code
* use lowercase screncore bidder code
* fix tests
* update tests
* trigger CI
* Screencore Bid Adapter: add endpointId parameter
* Updated adapter to use teqblazeUtils library
* Added endpointId parameter support in test parameters
* Updated test specs to include endpointId validation
* Screencore Bid Adapter: update sync URL to base domain
Update SYNC_URL constant to use base domain.
The getUserSyncs function from teqblazeUtils will append the appropriate path.
* Screencore Bid Adapter: migrate to teqblazeUtils library
- Update imports to use buildRequestsBase, interpretResponse, getUserSyncs,
isBidRequestValid, and buildPlacementProcessingFunction from teqblazeUtils
- Remove storage manager dependency (no longer needed)
- Update isBidRequestValid to use placementId/endpointId params validation
- Refactor buildRequests to use buildRequestsBase pattern
- Rewrite test suite to match teqblazeUtils API:
- Simplify test data structures
- Update server response format (body as array)
- Add tests for placementId/endpointId validation
- Update getUserSyncs URL format expectations
* fix(screencore): correct region routing and endpoint path
- add US/ and Canada/ timezone prefixes to getRegionSubdomainSuffix()
- fix endpoint path from /prebid to /pbjs
- move AD_URL inside buildRequests to compute per request
---------
Co-authored-by: Kostiantyn Karchevsky <kostiantyn.karchevsky@teqblaze.com>
Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
Co-authored-by: Pavlo Samonin <pavlo.samonin@teqblaze.com>1 parent f502bd3 commit 1716bbb
2 files changed
Lines changed: 39 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
59 | | - | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| 64 | + | |
63 | 65 | | |
64 | 66 | | |
65 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
397 | 430 | | |
398 | 431 | | |
0 commit comments