Skip to content

Commit 48d6abf

Browse files
alexLoktievFSakshat-vijaywargiyadgirardimkomorskipm-asit-sahoo
authored
Pfg 4208 prebid 9.44.1 upgrade (#227)
* Targeting.js: Fixed Slot Targeting Bug when RTD is Enabled (#12780) * fixed passing all adunit adserverTargetings when setTargetingForGPTAsync() is called. * test for #12780 * use property access rather than deepAccess --------- Co-authored-by: Demetrio Girardi <[email protected]> * Core & PBS Adapter: support `eventtrackers`, and normalize `burl` / `ext.prebid.events.win` into it (#12711) * Extract native event tracker parsing logic * ortbConverter: set response eventtrackers and translate PBS burl, events.win * fire impression trackers on billing, win trackers on render * clean up pbs wurl logic * more cleanup * rename analytics to events in markWinningBidAsUsed * lint fixes * try to appease jsdoc * add PBS test case --------- Co-authored-by: mkomorski <[email protected]> * PubMatic Analytics Adapter : sending 'ffs' floors param in tracker and optional chaining in logger and tracker (#12739) * Added 'ffs' to tracker call * Added optional chaining to logger and tracker * Added fix for ds * added safe check for floor root values * Mobkoi Bidder Adapter: Initial Release (#12647) * Mobkoi Bidder Adapter: Initialise implementation * feat: max-970: Prebid.js Bidder Adapter: Retrieve Adapter Parameters from Bid Configuration Object (#8) Configuration Object](https://mobkoi.atlassian.net/browse/MAX-970) At this stage, we are only focused on bid win events, so there is no need for analytics adapter integration yet. To streamline the publisher's configuration for our custom bid adapter integration, we retrieve adapter parameters directly from the bid configuration object instead of using "bidderConfiguration." updated bid adapter doc * feat: max-956: We need the placement ID from Tag and HB Connector to be past to the AdServer (#9) ### [We need the placement ID from Tag and HB Connector to be past to the AdServer](https://mobkoi.atlassian.net/browse/MAX-956) * set user.id if available * Mobkoi User ID module: Initial Release (#12733) * feat: max-848 Prebid: setup development harness. max-849: Prebid: Make prebid RTB ORTB request to /bid (#1) harness](https://mobkoi.atlassian.net/browse/MAX-848) Set up a local development environment for testing and iterating on Prebid customization changes. Sub-tasks: Install Prebid.js dependencies. Create a custom Prebid.js Adapter (mobkoiBidAdapter) and build a custom Prebid.js package to serve locally (the custom Prebid.js package is available to serve to a local webpage). Initialize Ad Service Bid endpoint, ensuring it can serve dummy bid objects to the client. Initialize Ad Server Ad endpoint to serve dummy ads/creatives that display on the sample website. Set up a sample website for end-to-end testing, including page load, Prebid.js, Ad Service Bid endpoint, returning bids to the front-end, Ad Server Ad endpoint, and loading ads on the page. /bid](https://mobkoi.atlassian.net/browse/MAX-849) Update Prebid.js to create ORTB-formatted bid requests for the /bid endpoint. Sub-tasks: Modify Prebid request formatting to ORTB. Validate bid responses from /bid with ORTB formatting. Integrate the new ORTB bid request structure in the /bid endpoint base on the data provided by Prebid.js. Create unit tests. feat: max-852: Prebid: Log bid win to adserver (#3) > Related PRs https://github.com/mobkoi/adserver/pull/6 adserver](https://mobkoi.atlassian.net/browse/MAX-852) Implement logging of bid wins directly to the ad server. Sub-tasks: Capture winning bid events in the Prebid.js custom adapter in various steps of biding process. feat: max-853: Prebid: Log bid loss to adserver (#4) adserver](https://mobkoi.atlassian.net/browse/MAX-853) Implement logging of failed bid events for monitoring purposes. Sub-tasks: Initialise a Prebid custom analytic adapter. Capture bid failure events within Prebid.js during various steps of the bidding process Initialise the endpoint for receiving bid loss signals. Logs will log into Grafana, but this will be done in a separate ticket feat: max-876: Prebid: Analytic Adapter Log debug info to adserver (#5) > Related PR: https://github.com/mobkoi/adserver/pull/10 adserver](https://mobkoi.atlassian.net/browse/MAX-876) Add logging for debugging information to assist with monitoring and troubleshooting. Sub-tasks Record events at different stages of bid processing on the client side via the custom analytic adapter Save event messages locally on the client. Tag each message with one of three levels: info, warn, or debug. feat: writing unit tests for mobkoi adapters (#6) Co-authored-by: nvkftw <[email protected]> updated doc description added the missing mobkoiBidAdapter md small fix for our unit test added intergration with mobkoi getuid and setuid endpoint double encoded the setuid callback added mobkoiIdSystem module got a working smartadserver sync url from provided example got a working equativ url before rollback to ajax call for equativ intergration WIP testing droping pixel in iframe feat: max-970: Prebid.js Bidder Adapter: Retrieve Adapter Parameters from Bid Configuration Object (#8) Configuration Object](https://mobkoi.atlassian.net/browse/MAX-970) At this stage, we are only focused on bid win events, so there is no need for analytics adapter integration yet. To streamline the publisher's configuration for our custom bid adapter integration, we retrieve adapter parameters directly from the bid configuration object instead of using "bidderConfiguration." updated bid adapter doc wip equativ pixel in an iframe approvated concept cookie sync work on client side code tidy up for the working cookie solution removed the need for cookieName param matches the backend endpoint name changes feat: max-956: We need the placement ID from Tag and HB Connector to be past to the AdServer (#9) the AdServer](https://mobkoi.atlassian.net/browse/MAX-956) removed unexpected code transfer the user id to ortb2 request body and set the field to null if not avaiable fixed a minor bug enabed consent string added unit tests for mobkoi ID system module fixed a minor bug removed the code that wrapping URL in URL objects. It just make things complicated fixed the publisher ID in macro issue clean up branch for offical PR pass the expiration value when setting storage using the storage manager updated id system module md pass expire setting to storage * code tidy up * switch to getStorageManager instead of getCoreStorageManager * add mobkoiIdSystem to modules/.submodules.json file * Fix when dataItem.name is undefined (#12734) * IntentIq ID & Analytics Modules: GAM reporting (#12785) * AGT-399: GAM reporting integration * AGT-399: Description for new parameters * AGT-399: Some fixes after review, gamParameterName test * AGT-399: Change version * AGT-399: Fix linter * Debugging Module: Bid responses for various media types (+ TestBidder) (#12720) * 12512 Mock bid responses for various media types * lint fix * resolvers execution fix * + basic examples * comments * adapt native to ortb & refactor video example * moving renderer to bid response * Lane4 Bid Adapter : initial release (#12749) * Audiencelogy Bid Adapter : Initial Release * removed duplicates * removed duplicates * added common code in library libraries/audiencelogyUtils * solved linter issues * imported getRequest from library and solved linting issue * solved trailing space issue * new adapter : lane4 * new adapter : lane4 * removed linter errors * removed trailing space * Ozone Bid Adapter : support for multi-size adUnits (#12680) * Update ozoneBidAdapter_spec.js spectests updated * Update ozoneBidAdapter.js - fixed a bug with getFloors - we need to take the first index [0] of sizes - changed instances of Array.isArray to isArray * Update ozoneBidAdapter.js * Update ozoneBidAdapter_spec.js * Update ozoneBidAdapter.js removed trailing space * Update ozoneBidAdapter.js * GumGum Bid Adapter: Send content url and additional vid params (#12741) * ADTS-530-send-content-url-from-prebid-adapter-to-hbid-endpoint * added tests for new params and converted array params to strings * changed comment for rebuild * added support for playbackmethod for video ads * added support for playbackend * modified curl to only be added if present --------- Co-authored-by: John Bauzon <[email protected]> * Added support for IAB segtax 7 in Rubicon bid adapter; Added unit test to verify segtax 7 functionality (#12794) * Prebid 9.31.0 release * Increment version to 9.32.0-pre * Bugfix for GAM cmd (#12795) * Core: suspend auctions during prerendering (#12763) * Core: suspend auctions during prerendering * Delay only auctions by default * add option to delay queue --------- Co-authored-by: Patrick McCann <[email protected]> * SemantIQ RTD Provider: initial release (#12668) Co-authored-by: Alexandr Kim <[email protected]> * revert integration type header due to CORS error (#12800) * Prebid 9.32.0 release * Increment version to 9.33.0-pre * Mobkoi Analystics Adapter: Initial Implementation (#12648) * BMS Bid Adapter : initial release (#12621) * wip * chore: update ENDPOINT_URL * chore: update permission for localstorage * feat(bmsBidAdapter): implement bid floor logic and update request structure * test(bmsBidAdapter): remove commented-out tests for interpretResponse * wip * wip * Refactor geolocation implementationn * chore: minor adjustments * feat: add bidWon * update test * chore: Change double quotes to single quotes * Update creativeId and creative_id values * refactor: remove unused cookie ID handling from bid request * wip * Remove deprecated BMS sample HTML and update BMS bid adapter to use JSON.stringify for requests and sendBeacon for bid won notifications * wip * Update creative.html * Update creative.html --------- Co-authored-by: Patrick McCann <[email protected]> * Adding Adnuntius as an analytics adapter (#12496) * Teads Bid Adapter: add extra information to request payload (#12802) * Add new features to HB request * Add test case for domComplexity feature * add default value domComplexity * Teads Bid Adapter: use getTimeToFirstByte from library * Fix gdprConsent undefined error (#12812) * fluct Bid Adapter : add gpp support (#12805) * add gpp support * add test cases * fix * fix null safe * fix test case * rerun ci * AdMatic Bid Adapter : sync bug fixed (#12801) * Admatic Bidder Adaptor * Update admaticBidAdapter.md * Update admaticBidAdapter.md * remove floor parameter * Update admaticBidAdapter.js * Admatic Bid Adapter: alias and bid floor features activated * Admatic adapter: host param control changed * Alias name changed. * Revert "Admatic adapter: host param control changed" This reverts commit de7ac85981b1ba3ad8c5d1dc95c5dadbdf5b9895. * added alias feature and host param * Revert "added alias feature and host param" This reverts commit 6ec8f4539ea6be403a0d7e08dad5c7a5228f28a1. * Revert "Alias name changed." This reverts commit 661c54f9b2397e8f25c257144d73161e13466281. * Revert "Admatic Bid Adapter: alias and bid floor features activated" This reverts commit 7a2e0e29c49e2f876b68aafe886b336fe2fe6fcb. * Revert "Update admaticBidAdapter.js" This reverts commit 7a845b7151bbb08addfb58ea9bd5b44167cc8a4e. * Revert "remove floor parameter" This reverts commit 7a23b055ccd4ea23d23e73248e82b21bc6f69d90. * Admatic adapter: host param control && Add new Bidder * Revert "Admatic adapter: host param control && Add new Bidder" This reverts commit 3c797b120c8e0fe2b851381300ac5c4b1f92c6e2. * commit new features * Update admaticBidAdapter.js * updated for coverage * sync updated * Update adloader.js * AdMatic Bidder: development of user sync url * Update admaticBidAdapter.js * Set currency for AdserverCurrency: bug fix * Update admaticBidAdapter.js * update * admatic adapter video params update * Update admaticBidAdapter.js * update * Update admaticBidAdapter.js * update * update * Update admaticBidAdapter_spec.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Revert "Update admaticBidAdapter.js" This reverts commit 1216892fe55e5ab24dda8e045ea007ee6bb40ff8. * Revert "Update admaticBidAdapter.js" This reverts commit b1929ece33bb4040a3bcd6b9332b50335356829c. * Revert "Update admaticBidAdapter_spec.js" This reverts commit 1ca659798b0c9b912634b1673e15e54e547b81e7. * Revert "update" This reverts commit 689ce9d21e08c27be49adb35c5fd5205aef5c35c. * Revert "update" This reverts commit f381a453f9389bebd58dcfa719e9ec17f939f338. * Revert "Update admaticBidAdapter.js" This reverts commit 38fd7abec701d8a4750f9e95eaeb40fb67e9f0e6. * Revert "update" This reverts commit a5316e74b612a5b2cd16cf42586334321fc87770. * Revert "Update admaticBidAdapter.js" This reverts commit 60a28cae302b711366dab0bff9f49b11862fb8ee. * Revert "admatic adapter video params update" This reverts commit 31e69e88fd9355e143f736754ac2e47fe49b65b6. * update * Update admaticBidAdapter.js * Update admaticBidAdapter_spec.js * mime_type add * add native adapter * AdMatic Adapter: Consent Management * added gvlid * Update admaticBidAdapter.js * admatic cur update * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * Update admaticBidAdapter.js * admatic sync update * Debugging module: make mock creatives respect requested sizes (#12804) * Debugging module: restore old mock creative, respect requested sizes * use repeating bg image * Fix mocking of s2s bids * Ssp_geniee Bid Adapter : add support for GPID and pbadslot (#12806) * modify adUnit infomation * fix imuid module * feat(GenieeBidAdapter): Add support for GPID and pbadslot - Add support for GPID (Global Placement ID) from ortb2Imp.ext.gpid - Add fallback support for ortb2Imp.ext.data.pbadslot - Include gpid parameter in request when GPID exists - Add test cases to verify GPID, pbadslot, and priority behavior --------- Co-authored-by: Murano Takamasa <[email protected]> Co-authored-by: daikichiteranishi <[email protected]> Co-authored-by: teranishi daikichi <[email protected]> Co-authored-by: gn-daikichi <[email protected]> Co-authored-by: takumi-furukawa <[email protected]> * Yieldmo Bid Adapter : add tagid, divid and allow video.api greater than 0 (#12808) * add tagid, divid and allow video.api greater than 0 * add tagid, divid and allow video.api greater than 0 * Pass replacements with request; Provide s2s winning ad source in Prebid bid meta (#12810) Co-authored-by: solodovnikov <[email protected]> * Overtone RTD Module : initial release (#12681) * overtoneRtdProvider and overtoneRtdProvider_spec * Added markdown * Updated overtoneRtdProvider.md with relevant changes * Update overtoneRtdProvider.md Updated markdown text for clarification * Update overtoneRtdProvider_spec.mjs Removed timeout and added additional tests * Modified for getBidRequestData test case --------- Co-authored-by: Subiksha <[email protected]> * Re-add x-integration-type to TTD adapter (#12818) * RediAds Bid Adapter : added params and bugfixes to backend (#12798) * added impression level handling * Fixes after testing * Add changes related to setting publisher id , imp ext stored request id, tagid * SSI param removed * Imp tag id set only if available * test check added * test case running fine --------- Co-authored-by: Symplor <[email protected]> Co-authored-by: symplorpro <[email protected]> Co-authored-by: symplorpro <[email protected]> Co-authored-by: symplor-alpha <[email protected]> Co-authored-by: Echo Symplor <[email protected]> Co-authored-by: Charlie Symplor <[email protected]> * Dailymotion bid adapter: add ortb converter and floor price support (#12784) Co-authored-by: Stéphane Eintrazi <[email protected]> * Codepath alerts (#12809) * codepath notification workflow * adjusted paths * wordsmithing * Update send-notification-on-change.js --------- Co-authored-by: Patrick McCann <[email protected]> * EXCO Bid Adapter: Support of new `publisherId`, `accountId` and `tagId` parameters. (#12781) * feat(excoBidAdapter): Update * banner size validations * remove banner size validation * exco bid adapter update * exco bid adapter tests * exco bid adapter doc * update jsdocs * feat(): exco bid adapter - test alignment * feat(): ExcoBidAdapter, added warning message for deprecated prameters. * feat(): ExcoBidAdapter trigger e2e tests * BMS bid adapter: use triggerPixel for bid won notifications and enable withCredentials for requests (#12819) * wip * chore: update ENDPOINT_URL * chore: update permission for localstorage * feat(bmsBidAdapter): implement bid floor logic and update request structure * test(bmsBidAdapter): remove commented-out tests for interpretResponse * wip * wip * Refactor geolocation implementationn * chore: minor adjustments * feat: add bidWon * update test * chore: Change double quotes to single quotes * Update creativeId and creative_id values * refactor: remove unused cookie ID handling from bid request * wip * Remove deprecated BMS sample HTML and update BMS bid adapter to use JSON.stringify for requests and sendBeacon for bid won notifications * wip * Update creative.html * Update creative.html * Update BMS bid adapter to use triggerPixel for bid won notifications and enable withCredentials for requests --------- Co-authored-by: Patrick McCann <[email protected]> * Core: start yielding control of the main thread (#12025) * Stop using greedypromise * async tests: adxc, aso, blasto, criteo * async tests: improvedigital * use async * asyn tests: openx, pbs, pulsepoint * async tests: rubicon, silvermob, tpmn, trafficgate * async tests: userId * async tests: geolocation * async tests: auctions * refactor gpp * refactor tcf * wip: pbjs_api_spec * async tests: pbjs_api_spec * async tests: stragglers * async tests: passing * Use GreedyPromise instead of async * rename timeout to delay * Reinstate GreedyPromise as a library * async tests: pbjs_api * rename GreedyPromise to PbPromise * reset GPP data on each test * dupe checker fooled by whitespace? * Remove sync version of test utils * Fix cmUtils timeout bug * Extract consentManagement config parsing * Extract consent module config logic * fix greedy setTimeout * fix 8podAnalytics tests * Fix tests: userId * fix tests: escalax * Fix tests * Fix lint * IntentIq ID & Analytics Modules: GDPR support and update documentation (#12738) * AGT-389: CMP data to module * AGT-389: Analytics refactoring and changes after PR review * AGT-389: Parameters description, some edits * AGT-389: CMP data tests * AGT-389: Tests fix, export fpd * AGT-389: Fix uh parameter encoding * AGT-389: Refactoring, test for new user * fix linter * AGT-389: Minor fixes * AGT-389: Fix getIntentIqConfig method * AGT-389: Gdpr detected tests, fix gdpr requests addresses * AGT-389: Removed functionality partner to provide cmp data * AGT-389: Clear extra comments, fix test * AGT-389: Removed allow optons for cmpData * AFT-399: Change getCmpData * AFT-399: Change comment * AFT-399: Delete comment * gdprApplies, refactoring, fix tests * AGT-389: Refactoring storageUtils * AGT-389: Change version --------- Co-authored-by: DimaIntentIQ <[email protected]> * fix(): ExcoAdapter Unit tests according to latest ortb converter changes (#12823) * migratin vdo.ai ad server (#12713) Co-authored-by: rishabhsehrawat1 <[email protected]> * Prebid 9.33.0 release * Increment version to 9.34.0-pre * PubMatic User ID Submodule: Initial Release (#12828) * Update README with supported feature tags (#12829) * Bump actions/checkout from 3 to 4 (#12826) Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump actions/setup-node from 3 to 4 (#12827) Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * TargetVideo and Brid Adapter: Fixing schain (#12821) * TargetVideo bid adapter * TargetVideo bid adapter * TargetVideo bid adapter * TargetVideo Bid Adapter: Add GDPR/USP support * TargetVideo Bid Adapter: Add GDPR/USP support tests * TargetVideo Bid Adapter: Updating margin rule * Add Brid bid adapter * Brid adapter requested changes * BridBidAdapter: switching to plcmt * Brid Bid Adapter: getUserSyncs method and interpretResponse updates * Adding missing semicolon * TargetVideo Bid Adapter : user sync and response changes * TargetVideo Bid Adapter : removing duplicate code * TargetVideo and Brid video adapters: fixing schain * AdagioRtdProvider: fix apntag event callback (#12837) * Revert TTD integration type header due to flaky bidding (#12841) * Re-add x-integration-type to TTD adapter * Revert x-integration-type (2nd time) due to flaky bidding behavior * Revert integration type header (2nd time) until we fix flaky bidding * Adgrid Bid Adapter: support userSync feature (#12714) * Support userSync feature * Added unit testing for userSync * Sonobi Bid Adapter - add new video params (#12834) * YieldOne Bid Adapter: add UID2.0 support (#12836) * support for UID2.0 * fix: yieldoneBidAdapter.js * Core: support for expandable / flex slots (#12379) * Ad unit validation * response validation * allow 100% height in creatives * ortbConverter support for format/wratio/hratio * do not set expdir: undefined * Require either w/h or wratio/hratio for banner.format * Fix tests for --disable GREEDY * Prebid 9.34.0 release * Increment version to 9.35.0-pre * Bridgeupp Bid Adapter: include auction start on all requests (#12817) * Bridgeupp Bidder Adapter: initial release * update referance to bidder from spec for helo world testing e2e * update server endpoint for performance * support auctionStart * revert hello_world changes * fix after conflicts merge * fix after conflicts merge * fix after conflicts merge * fix after conflicts merge * Added "dm" and "dmv" keys to logger and tracker (#12854) * UserID: improve handling of IDs coming from multiple alternate sources but having conflicting bidder restrictions (#12852) * Core: always signal rendererVersion to PUC (#12699) Co-authored-by: Patrick McCann <[email protected]> * OpenX Bid Adapter: mtype cleanup (#12855) * rename "bid"(s) to "bid request"(s) * rename "bid"(s) to "bid request"(s) * remove media type guessing * Update xeUtils/bidderUtils.js: pass full gdprConsent object to the bidder (#12793) * Update xeUtils/bidderUtils.js: pass full gdprConsent object to the bidder * linter fix * timeout filed passed * update related tests * PAAPI: automatically enable adAuctionHeaders when PAAPI is enabled (#12843) * Bump @babel/helpers from 7.25.6 to 7.26.10 (#12877) Bumps [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers) from 7.25.6 to 7.26.10. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers) --- updated-dependencies: - dependency-name: "@babel/helpers" dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump @babel/runtime from 7.24.7 to 7.26.10 (#12875) Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.24.7 to 7.26.10. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime) --- updated-dependencies: - dependency-name: "@babel/runtime" dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update paapiForGpt.js (#12857) * RichAudience Bid Adapter : remove deprecated params for video player (#12860) * Richaudience Bid Adapter: test/spec change in user eids * Richaudience Bid Adapter: change in user eids * RichAudience Bid Adapter : remove deprecated params for video player --------- Co-authored-by: IAN <[email protected]> * Agma Analytics Adapter : check before accessing getWindowTop (#12872) * Make sure we can access the top window, fallback to self * try catch to catch potential issues with getScreen and getOrtb2Data * Conversant Bid Adapter: Native Support (#12851) Co-authored-by: johwier <[email protected]> * Add IncrementX Adapter for Video(Instream) (#12838) * Smarthub Bid Adapter : add UserSyncs (#12842) * Attekmi: add UserSyncs * add unit tests --------- Co-authored-by: Victor <[email protected]> * Vidoomy Bid Adapter: include widths and heights on requests (#12811) * Include all widths and heights * fix tests * Nexx360 Bid Adapter: prismassp alias added (#12807) * prismassp fix * version update * version update for test --------- Co-authored-by: Gabriel Chicoye <[email protected]> * getBoundingClientRect and percent Inview library: replace layout calculations in various adapters (#12848) * getBoundingClientRect cleanup * import fix * lint fix * test adunits config * + dedicated library * lint error change * CEE Id System : added functionality to request endpoint for ID (#12788) * Update tests for sspBC adapter Update tests for sspBC adapter: - change userSync test (due to tcf param appended in v4.6) - add tests for onBidWon and onTimeout * [sspbc-adapter] 5.3 updates: content-type for notifications * [sspbc-adapter] pass CTA to native bid * [sspbc-5.3] keep pbsize for detected adunits * [maintenance] - remove old test for sspBc bid adaptor * [sspbc-5.3] increment adaptor ver * [sspbc-adapter] maintenance update to sspBCBidAdapter * remove yarn.lock * Delete package-lock.json * remove package-lock.jsonfrom pull request * [sspbc-adapter] send pageViewId in request * [sspbc-adapter] update pageViewId test * [sspbc-adapter] add viewabiility tracker to native ads * [sspbc-adapter] add support for bid.admNative property * [sspbc-adapter] ensure that placement id length is always 3 (improves matching response to request) * [sspbc-adapter] read publisher id and custom ad label, then send them to banner creative * [sspbc-adapter] adlabel and pubid are set as empty strings, if not present in bid response * [sspbc-adapter] jstracker data fix * [sspbc-adapter] jstracker data fix * [sspbc-adapter] send tagid in notifications * [sspbc-adapter] add gvlid to spec; prepare getUserSyncs for iframe + image sync * update remote repo * cleanup of grupawp/prebid master branch * update sspBC adapter to v 5.9 * update tests for sspBC bid adapter * [sspbc-adapter] add support for topicsFPD module * [sspbc-adapter] change topic segment ids to int * sspbc adapter -> update to v6 * ceeidSystem v2 --------- Co-authored-by: wojciech-bialy-wpm <[email protected]> Co-authored-by: Wojciech Biały <[email protected]> Co-authored-by: Wojciech Biały <[email protected]> * Gamoshi Bid Adapter : update alias - adding alias of cleanmedianet (#12861) * adding support for cleanmedia alias and specific endpoint * adding support for cleanmedia alias and specific endpoint * adding default endpoint * Prebid 9.35.0 release * Increment version to 9.36.0-pre * Build system: upgrade eslint (#12884) * upgrade eslint * exclude gitignored and tests * update gulp lint * autofixes * fix validate-imports for creatives * fix no-callback-literal * update rule names * test linting rules * autofixes * reintroduce jsdoc * autofixes * remove old linter config * update gulp lint * upgrade package-lock * Various modules: fix jsdoc linter warnings (#12885) * Bump axios from 1.7.4 to 1.8.3 (#12876) Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.8.3. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.8.3) --- updated-dependencies: - dependency-name: axios dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Previous Auction Info: Module release (#12831) * addresses gh issue 12822 * removed unneeded console log statements * make info available to all adapters (including pbs) * Update index.js * Update index.js * fix failing test * changed default val for highestBidCpm to null --------- Co-authored-by: Demetrio Girardi <[email protected]> Co-authored-by: Patrick McCann <[email protected]> * anonymisedRtdProvider: can load Anonymised Marketing Tag external script (#12882) * Can load Anonymised Marketing Tag external script * using clientId alias * introduced tagUrl param * added info about obtaining publisher's clientId * corrected URLs to anonymised support portal * review: ensure correct `clientId` type * test added "should not load external script when params.tagConfig is not defined" * better description --------- Co-authored-by: Pavlo <[email protected]> * Limelight bid adapter: update gvl ids (#12859) * Update limelightDigitalBidAdapter.js * Update limelightDigitalBidAdapter.js * Update limelightDigitalBidAdapter.js * Oubtrain Bid Adapter : netRevenue simplification (#12888) * netrevenue simplification * calculate NATIVE_ASSET_IDS instrad of hardcoding * char to int * fix test * Better handling of legacy native requests and ad server responses. (#12893) * Equativ Bid Adapter: implement Multi-Impressions Objects (MIO) logic (#12762) * split imp per floor * restore imp id * banner media type may be not set * adapt unit test * remove unnecessary if statement, adapt unit test * remove unnecessary if statement * restore cleanObject logic; fix and add unit tests for multi imp * readd comma * fix linter issues + add unit tests * remove getBidFloor tests --------- Co-authored-by: Krzysztof Sokół <[email protected]> * Onetag Bid Adapter: add native support (#12858) * Onetag Bid Adapter: add reading of ortb2Imp field * Merge branch 'MAINTAG-273' * PubMatic Bid Adapter : support media type/format specific floors. (#12898) * Added granular level floors * Added log message * Renamed function and fixed linting issue * update: Remove the outdated publisher ID field and the code responsible for macro replacement. (#12) (#12905) fixed test (#13) clean up * Teads Bid Adapter : send outbrain id (#12891) * Teads: Send outbrain id * retrigger checks * retrigger checks * retrigger checks * retrigger checks * Prebid 9.36.0 release * Increment version to 9.37.0-pre * Add 2 new sizes to Rubicon Adapter (#12910) * ResetDigital Bid Adapter: keywords params validation (#12909) * fix(resetdigitalBidAdapter): handle keywords parameter as array or string Fix a bug in resetdigitalBidAdapter where it would throw an error when the keywords parameter was provided as an array instead of a string. This change adds type checking to properly handle string formatting, preventing code flow from being disrupted. * updating condition to support arrays * Browsi RTD & Analytics Adapters : improvements (#12815) * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements * browsiRtdProvider-improvements --------- Co-authored-by: Stav Ben Shlomo <[email protected]> * Goldbach Bid Adapter : switching to ortb endpoint, added uid when consent is granted (#12847) * implemented openRTB base for goldbach adapter * implemented passing of custom parameters * added fallbacks and additional mapping for response values * added gdpr mapping * removed logs * updated passing of vastXML / vastURL * added tests and cookie sync * added uid generation and extended tests * updated outstream renderer options * updated logging and outstream player params * adjusted tests and bidder, removed pre-ortb content * Revert "Goldbach Bid Adapter : switching to ortb endpoint, added uid when con…" (#12915) This reverts commit 34704a079d779faf90a94c101689937f21b74af3. * PubMatic Bid Adapter : analyse bid adjustment patterns (#12906) * PubMatic Bid Adapter: Set BidAdjustment on BidWon event in root level ext object * Update fallback for mediaType and names of field * Update cpmAdjustment object for reporting * Add Unit test case for onBidWon function --------- Co-authored-by: Komal Kumari <[email protected]> * UNIQUEST Bid Adapter: initial release (#12846) * add uniquestBidAdapter,uniquestAnalyticsAdapter * fix test sid * Core: Local cache for video bids (#12598) * Local cache for video bids * clean up * clean up * fix * error message update * revoking blobs on auction expiry * Local cache + GAM poc * ima sdk adsResponse * local cache logic * dfp function & examples & unit tests * fix order * reorganization * refactor * lint fix * introducing setAdXml * renderBid change * removing getVast from pbjs * review fixes * limiting use of prefetching vast to local cache * revert not needed * adapting to 'send all bids', adding some tests * + regexp * regexp fix * regexp fix * uuid matching refactor * Update integrationExamples/videoModule/jwplayer/localVideoCache.html Co-authored-by: Karim Mourra <[email protected]> * remove unecessary parts * lint fix * remove not needed test --------- Co-authored-by: Karim Mourra <[email protected]> * PAAPI: parallel auction missing async signals (#12887) Co-authored-by: v.raybaud <[email protected]> * Endpoint updated (#12920) * PubxAI RTD Module : update docs (#12921) * send BidRejected Events to capture floored bids * fix tests * send pubx_id as query param * added extraData in analytics adapter to be sent in beacon data * added extraData in analytics adapter to be sent in beacon data * moved data read to session storage * bumped version * moving all data to localStorage again * updated test cases for pubxaiAA.js * fixing the missing logging of invalid bids * remove endpoint as optional --------- Co-authored-by: Phaneendra Hegde <[email protected]> Co-authored-by: NikhilX <[email protected]> Co-authored-by: Nathan Oliver <[email protected]> * Contxtful Rtd Provider : add ad unit positions (#12792) * feat: adunitpos * fix: unused variable * doc: update * doc: space * feat: ortb2 fragment * refactor: use getBoundingClientRect * doc: js --------- Co-authored-by: rufiange <[email protected]> * added medianet in codepath-notification (#12913) * Adds a flag to suppress losing bid custom targeting values (#12911) * PubMatic RTD Provider - Initial Release (#12732) * Initial release PubMatic RTD * PubMatic RTD: Update browser regex mapping and add description in md file * PubMatic RTD: Add country in floor schema, use client hint for browser, log ctr in logger * PubMatic Analytics : Update browser mapping * PubMatic RTD: Update md file, browser regex, browser test cases * PubMatic Analytics: Handle null checks * Pubmatic RTD : set ext in ortb2 only when country is present * Pubmatic RTD : Update md file * Pubmatic RTD : delete endpoint property from floors --------- Co-authored-by: Komal Kumari <[email protected]> * NodalsAi Rtd Module : integrate with major version 1 of Nodals' JS Library (#12912) * Additional method proxying * Update version to use latest major verson pattern matching * Fix tests * Cleaned up tests * Linting * Rename parameter passed to getBidRequestData to match documentation * Removing overly verbose log messages * linting --------- Co-authored-by: slimkrazy <[email protected]> * adds generic open pair support (#12599) Co-authored-by: Miguel Morales <[email protected]> * Adgrid Bid Adapter : add new param placement (#12901) * Added new optional param placement * Placement params is required now * Robusta Bid Adapter: New bid adapter (#12797) * robustaBidAdapter: New bid adapter * fix: robusta lint issues * consentManagementTcf: do not require CMP API to be available when Prebid loads (#12922) * LiveIntent User ID Module And Analytics Adapter: Built-in Treatment/Holdout Mechanism And Auction Events Collection Improvements (#12856) * Adjust the analytics adapter * Trigger Build * Trigger Build * Update adloader.js (#12929) * PBS Bid Adapter : add BEFORE_PBS_HTTP event (#12889) * Add pbs before http event * Fix tests --------- Co-authored-by: Patrick McCann <[email protected]> * Prebid 9.37.0 release * Increment version to 9.38.0-pre * Ozone Bid Adapter : support vastURL & vastXML (#12936) * Update ozoneBidAdapter.js support for vastXML/vastURL * Update ozoneBidAdapter_spec.js updated spec test * New RTD submodule: optableRtdProvider (#12850) * Optable RTD submodule: Initial commit * fix typo: user.ext.data -> user.data * Optable RTD submodule: Restrict insecure bundle URLs * optableRtdProvider doc: add a note to erase optable.ext. custom fields * Optable RTD submodule: Change the method of passing extra data --------- Co-authored-by: Bohdan V <[email protected]> Co-authored-by: Eugene Dorfman <[email protected]> * Smaato: Add iframe UserSyncs (#12924) * Build system: clear event log between test suites (#12946) * NewsPassID Bid Adapter: refactor (#12923) * newspassidBidAdapter refactor * update to use setBidderConfig * revert to legacy params publisherId, placementId * StackAdapt Bid Adapter: initial release (#12896) * inital stackadapt bidder adapter * review - text/plain, floors module, endpoint * review - redundant checks * NodalAiRtdModule: stricter consent checks (#12931) * fix: stricter consent checks * Updated consent checks --------- Co-authored-by: slimkrazy <[email protected]> * Optable RTD submodule: check for cached data before firing a request (#12954) Co-authored-by: Bohdan V <[email protected]> * Core tests: eliminate some sinon.reset (#12942) * Update cmpClient_spec.js: eliminate sinon.reset * Update cmpClient_spec.js * Update redactor_spec.js * Update cmpClient_spec.js * Update translator_spec.js * Update adapterManager_spec.js * Update adapterManager_spec.js * Update adapterManager_spec.js * Update cmpClient_spec.js * Update adapterManager_spec.js * Update adapterManager_spec.js * Update adapterManager_spec.js * Update adapterManager_spec.js * Update translator_spec.js * Update cmpClient_spec.js * Update redactor_spec.js * Vistars bid adapter: initial release (#12813) * Vistars bid adapter * fix: video bid testing * fix: consent parameters names * fix: remove unneeded code * Criteo Bid Adapter: Use optional chaining for callbacks (#12950) Avoids errors when callbacks are not iterable. Closes #12949 * Build system: setup dist directory for NPM release (#12959) * Build system: setup dist directory for NPM release * Fix .npmignore * Adtrgtme Bid Adapter: function renaming (#12958) * Adtrgtme Bid Adapter: function renaming * adtrgtme version changes * fix version * skip pb client version check * Prebid 9.38.0 release * Increment version to 9.39.0-pre * PubMatic RTD : fixed unit test cases (#12962) * Fixed test cases for pubmatic RTD (cherry picked from commit 163fc56bc3ab69d92660e82c36a6cf8626367e29) * Add space --------- Co-authored-by: Komal Kumari <[email protected]> * Yandex Bid Adapter : pass document language as site.content.language ortb parameter (#12918) * Yandex bid adapter: Pass document language as 'banner-lang' query parameter Add an additional query parameter 'banner-lang' to handle the language of the page being viewed by the user * add documentLang enrichment parameter * set document lang to ortb.site.content.language in yandex bid adapter * minor fix * pass content language as language fallback in yandex bid adapter * pass document language to request params instead of site.content.language * minor fixes * minor fix * use deepSetValue to store documentlang into site content lang * minor fixes * unit test fixes * minor fix * change ext.prebid.bidRequest.params.documentLang to site.ext.data.documentLang * placement support added (#12953) Co-authored-by: Gabriel Chicoye <[email protected]> * CondorX Bid Adapter: add subid (#12972) * Add subid * Spacing * AdagioBidAdapter: add support for instl, rwdd ortb2 signals (#12961) * added user agent and structured user agent to request (#12969) * MAINTAG-321 (#12976) Issue Switching Prebid Version – Citynews (76d8a3332520158) * Missena Bid Adapter : refactor payload to use ORTB2 (#12977) * Dochase Bid Adapter : Initial Release (#12803) * Audiencelogy Bid Adapter : Initial Release * removed duplicates * removed duplicates * added common code in library libraries/audiencelogyUtils * solved linter issues * imported getRequest from library and solved linting issue * solved trailing space issue * new adapter : lane4 * new adapter : lane4 * removed linter errors * removed trailing space * Dochase Bid Adapter : initial release * changed the comment * Bugfix: Update adRendering.js styling for iframe in case of insterstitial ads (#12975) * update styling for frame in case of instl ads * Revert "update styling for frame in case of instl ads" This reverts commit 0470efc2c45d4c4d5d0ce03ed4f95809ec4bfa2c. * AdRendering file update for interstitial iframe handling * Revert "AdRendering file update for interstitial iframe handling" This reverts commit 64739292537f292976f4f40271cd2d613ce23a87. * adding style without relying on frame id and display:block * Update style.width/height in direct rendering * Core: set instl flag on bid responses * Core: do not resize remote creative frames for interstitials * Core: include instl flag in cross-frame messages * Revert "adding style without relying on frame id and display:block" This reverts commit d957586c5e13d0a42827242f041af72d076c825f. * iframe handling for missing safeframes * core: resize interstitials' inner iframe --------- Co-authored-by: ubaid <[email protected]> Co-authored-by: Demetrio Girardi <[email protected]> * Brave Bid Adapter : add support for bidfloor and eids (#12971) * eids and bidfloor support update BraveAdapter * eids and bidfloor support update BraveAdapter * fix points test on spec test file --------- Co-authored-by: root <[email protected]> * Core: Getting window dimensions unification (#12925) * Core: Getting window dimensions unification * event handler * method signature change * test fix * test fix * removing listeners, adding time check --------- Co-authored-by: Patrick McCann <[email protected]> * MediaEyes Bid Adapter : initial release (#12899) * init mediaEyesBidAdapter * fix camel case * renamefile * fix and update bid adpater * fix getBidFloor * add more test * Medianet Analytics & Adapter : refactor to shared utils (#12968) * refactor: clean up Medianet analytics and adapter * fix: resolve merge conflicts after merging with master * Core: use 'async' hooks for asynchronous hooks (#12933) * PubmaticRTDProvider: read and apply configurations (#12984) * Update pubmaticAnalyticsAdapter.js * Update pubmaticAnalyticsAdapter_spec.js * Update pubmaticAnalyticsAdapter.js * Update pubmaticRtdProvider.js * Update pubmaticRtdProvider_spec.js * Update pubmaticRtdProvider_spec.js * Equativ Bid Adapter: add DSP cookie sync (#12787) * add user sync * use local storage instead of cookies * update equativ adapter u.t. * fix equativ adapter u.t. --------- Co-authored-by: Krzysztof Sokół <[email protected]> * Fix: vastTracker url to have updated cpm (#12833) * Prebid 9.39.0 release * Increment version to 9.40.0-pre * AdSpirit Bid Adapter : updated version with native support (#12776) * Video is added * Update adspiritBidAdapter.js Updates js file with native support * Update adspiritBidAdapter.md Updated md file with new information related to native * Update adspiritBidAdapter_spec.js Adspirit updated test case with native support * Update adspiritBidAdapter.md A new description related to native has been added to adspiritBidAdapter.md. * Update adspiritBidAdapter.js adspirit.js file updated with getWinDimensions * Update adspiritBidAdapter_spec.js Updated Test cases with Native support * Update adspiritBidAdapter.js adspirit.js file updated with screen width and height --------- Co-authored-by: sivamatta94 <[email protected]> * semantiqRtdProvider: avoid adding default company ID if companyId parameter is present (#12985) Co-authored-by: Alexandr Kim <[email protected]> * Previous auction module: added new highestBidCurrency field to payloads (#12988) * added new highestBidCurrency field to prev auct info payloads * changed bidderErrorCode to rejectionReason * Snigel Bid Adapter: delegate consent-related checks to user sync iframe (#12990) * semantiqRtdProvider: dispatch page impression event on initialization (#12989) Co-authored-by: Alexandr Kim <[email protected]> * PAAPI: support `createAuctionNonce` and `getInterestGroupAdAuctionData` (#12839) * PAAPI: support for auction nonces in buildPAAPIConfigs * core: allow async processing around buildRequests * PAAPI: respect greedyPromise in parallelPaapiProcessing * PAAPI: resolve nonces on adapter request & response * resolve auction nonces * Use async hook for processBidderRequest (https://github.com/snapwich/fun-hooks/issues/42) * lint * remove superfluous setTimeotu * revert changes * PAAPI: introduce paapiParameters API * remove unnecessary postBuildRequests * add support for getInterestGroupAdAuctionData * Fix unnecessary this aliasing * add serverResponse to async signals * BeOp Bid Adapter: support getUserSyncs (#12944) * Add getUserSyncs in BeOpBidAdapter * Migrate domain from beop.io to collectiveaudience.co * Multiple Frame tracking capacity * PubMatic Adapter : Using ORTB Converter library for request/response handling (#12814) * Pubmatic Adapter with ORTB Converter Library * Pubmatic Adapter with ORTB Converter Library * Support media type based floor * Support media type based floor * Linting fixes * Added cpm adjustment details to next auction * Added test cases for cpm adjustment * Fix for undefined adslot case * Adipolo Bid Adapter : initial release (#12883) * add adipolo Adapter * without aliases * retrigger checks * retrigger checks * retrigger checks * retrigger checks * fix test * retrigger checks --------- Co-authored-by: Chucky-choo <[email protected]> * SSP_Genie Bid Adapter : ID5 Compatible Adapter (#12974) * modify adUnit infomation * fix imuid module * feat(GenieeBidAdapter): Add support for GPID and pbadslot - Add support for GPID (Global Placement ID) from ortb2Imp.ext.gpid - Add fallback support for ortb2Imp.ext.data.pbadslot - Include gpid parameter in request when GPID exists - Add test cases to verify GPID, pbadslot, and priority behavior * Aladdin Bidder ID5 Compatible Adapter * add comment * modified test message * the import of buildExtuidQuery was missing * test: add test cases for id5id in extuid query * delete duplicate test --------- Co-authored-by: Murano Takamasa <[email protected]> Co-authored-by: daikichiteranishi <[email protected]> Co-authored-by: teranishi daikichi <[email protected]> Co-authored-by: gn-daikichi <[email protected]> Co-authored-by: takumi-furukawa <[email protected]> Co-authored-by: furukawaTakumi <[email protected]> Co-authored-by: furukawaTakumi <[email protected]> Co-authored-by: haruki-yamaguchi <[email protected]> * Kobler bid adapter: pass cid in bid response. (#12999) * Prebid 9.40.0 release * Increment version to 9.41.0-pre * Bump esbuild and tsx (#13000) Bumps [esbuild](https://github.com/evanw/esbuild) and [tsx](https://github.com/privatenumber/tsx). These dependencies needed to be updated together. Updates `esbuild` from 0.23.1 to 0.25.2 - [Release notes](https://github.com/evanw/esbuild/releases) - [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md) - [Commits](https://github.com/evanw/esbuild/compare/v0.23.1...v0.25.2) Updates `tsx` from 4.17.0 to 4.19.3 - [Release notes](https://github.com/privatenumber/tsx/releases) - [Changelog](https://github.com/privatenumber/tsx/blob/master/release.config.cjs) - [Commits](https://github.com/privatenumber/tsx/compare/v4.17.0...v4.19.3) --- updated-dependencies: - dependency-name: esbuild dependency-version: 0.25.2 dependency-type: indirect - dependency-name: tsx dependency-version: 4.19.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add support for the adapter version and display manager (#13003) * Bump tar-fs and @wdio/mocha-framework (#12938) Bumps [tar-fs](https://github.com/mafintosh/tar-fs) to 3.0.8 and updates ancestor dependency [@wdio/mocha-framework](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/wdio-mocha-framework). These dependencies need to be updated together. Updates `tar-fs` from 3.0.6 to 3.0.8 - [Commits](https://github.com/mafintosh/tar-fs/compare/v3.0.6...v3.0.8) Updates `@wdio/mocha-framework` from 8.38.2 to 9.12.2 - [Release notes](https://github.com/webdriverio/webdriverio/releases) - [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md) - [Commits](https://github.com/webdriverio/webdriverio/commits/v9.12.2/packages/wdio-mocha-framework) --- updated-dependencies: - dependency-name: tar-fs dependency-type: indirect - dependency-name: "@wdio/mocha-framework" dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * added ortb functionality and uid when consent is granted (#12965) * raveltechRtdProvider: Initial release (#12832) * raveltech bid adapter: imports the AppNexus adapter and encrypts the UIDs found in the bid requests * 1st version of the key information for the raveltech bid adapter * 1st version of the unit test for the raveltech bid adapter * remove all functions that doesn't change compared to the Appnexus adapter * add logs * Revert "remove all functions that doesn't change compared to the Appnexus adapter" This reverts commit 962e519279779d410d22c2d81758121581761bea. * remove unnecessary functions, preventing duplicate * clean logs * update of bidRequests to include UIDs + logs * update assertion in anonymization unit test * add import to fix warnings about BidRequest and Bid * 1st push of raveltechRtdProvider.md (doc for the raveltechRtdProvider module) * remove the raveltechBidAdapter as we're now going with the RTD approach as advised in the last pull request * 1st push of raveltechRtdProvider.js * 1st push of raveltechRtdProvider_spec.js * Revert "remove the raveltechBidAdapter as we're now going with the RTD approach as advised in the last pull request" This reverts commit a8b4cd971fc8a1ee908c9230276688dbe140d3b6. * remove the raveltechBidAdapter as we're now going with the RTD approach as advised in the last pull request * fix for "72:7 error Expected an assignment or function call and instead saw an expression no-unused-expressions" found during ci/cd pipeline tests * add missing blank line at the end of the file * prevents bid requests to be sent whenever zkad.js is not loaded * add log whenever there's an error in uid anonymization * update markdown with instructions on how to load zkad.js * fix lint error with trailing space * fix unit tests * usage example for the raveltechRtdProvider module * EPOM Bid Adapter : initial release (#12687) * Add EPOM Bid Adapter * remove warning * fix epom bid adapter * fix epom bid adapter * fix lint error * fix lint error --------- Co-authored-by: Vladyslav <[email protected]”> * RPRD-2088: send auctionCount instead of bidderRequestsCount (#13011) * Equativ Bid Adapter: fetch TTL from bid response (#13009) * add support of dsa * restore topics * DSA fix for UT * drafy of adapter * fixes after dev test * make world simpler * fix prev commit * return empty userSyncs array by default * adjustments * apply prettier * unit tests for Equativ adapter * add dsp user sync * add readme * body can be undef * support additional br params * remove user sync * do not send dt param * handle floors and network id * handle empty media types * get min floor * fix desc for u.t. * better name for u.t. * add u.t. for not supported media type * improve currency u.t. * updates after pr review * SADR-6484: initial video setup for new PBJS adapter * SADR-6484: Adding logging requirement missed earlier * SADR-6484: handle ext.rewarded prop for video with new oRTBConverter * SADR-6484: test revision + not sending bid requests where video obj is empty * refactoring and u.t. * rename variable * Equativ: SADR-6615: adding unit tests for and additional logging to bid adapter to support native requests * revert changes rel. to test endpoint * revert changes rel. to test endpoint * split imp[0] into seperate requests and fix u.t. * Equativ bid adapter: adding support for native media type * Equativ bid adapter: update unit test for native-support work * Equativ bid adapter: removing console.log from unit test file * Equativ bid adapter: clarifying refinements regarding native-request processing * Equativ Bid Adapter: updating unit tests for native requests * PR feedback * Equativ Bid Adapter: add audio-specific warnings for missing fields in bid requests * split imp per floor * restore imp id * banner media type may be not set * adapt unit test * remove unnecessary if statement, adapt unit test * remove unnecessary if statement * restore cleanObject logic; fix and add unit tests for multi imp * readd comma * fix linter issues + add unit tests * remove getBidFloor tests * read exp * set default ttl in converter config --------- Co-authored-by: Elżbieta SZPONDER <[email protected]> Co-authored-by: eszponder <[email protected]> Co-authored-by: janzych-smart <[email protected]> Co-authored-by: Jeff Mahoney <[email protected]> Co-authored-by: Jeff Mahoney <[email protected]> Co-authored-by: janzych-smart <[email protected]> * site ref fix BraveAdapter (#13008) Co-authored-by: root <[email protected]> * Build system: do not rely on sed being available (#13018) * add meta.mediaType (#13022) * support for GPID (#13026) * Prebid 9.41.0 release * Increment version to 9.42.0-pre * Parse timeout as tmax and send a minimum of 400 to TheTradeDesk (#13027) * UID2 Shared Module: Moved over shared uid2 code from module to library to remove lint error (#13025) * moved shared code into library * adjusted imports to be from libraries * fixed importws for ajax and utils * renamed folder name * TimeoutRtdProvider: Auction timeout have more precendence than bidderTimeout (#13030) Co-authored-by: Komal Kumari <[email protected]> * dvgroup bid adapter: initial release (#13029) * dvgroup bid adapter * dvgroup bid adapter add units * dvgroup bid adapter fix * dvgroup bid adapter: fix: unit import * dvgroup bid adapter: fix: verification sequence in sync * dvgroup bid adapter: fix: unused import * dvgroup bid adapter: fix: by lint * dvgroup bid adapter: minifix * LoopMe Bid Adapter: initial release (#12997) * LoopMe Bid Adapter: initial release * LoopMe Bid Adapter: removed device.ip from requirements * Allow more sizes (#13035) * New module: Enrichment Lift Measurement (#12980) * initial commit * update * update * remove leftovers * publisher precedence * changing storage names, overwriting old configs, fixes * active modules filtering fix * remove ADPOD (#13041) * endpoint param handling updated as per policy (#13036) * OMS Adapter: by default add banner property to imp buildRequests func (#13046) * MobileFuse Bid Adapter : initial release (#13034) * New adapter: mobilefuse * unit test fixes * test fixes * documentation update * add image pixel sync * add adomain test --------- Co-authored-by: dtbarne <danb@Dansurface> * IntentIq ID & Analytics Modules: Updates for adType, placementId and sync request (#12903) * AGT-403: Add adType parameter to payload in report * AGT-403: Test for partner report, adType parameter * AGT-403: Test refactoring * AGT-403: Documentation updated * IntentIq Analytics Module: adUnitCode or placemetId to report (#9) * AGT-446: adUnitCode or placemetId to report * AGT-446: Description of changes, example * AGT-446: Fix documentation * AGT-446: Changes after review * Agt 409 full url in prebid modules (#8) * add sync * update full url * set url param * fix comment * fix issue fix sync mode * update url * update full url * add test * move browser_blacklist (#10) * add is optedOut (#11) * update date in FPD after sync (#12) * update sync logic for new user (#13) * fix unit tests --------- Co-authored-by: DimaIntentIQ <[email protected]> Co-authored-by: dLepetynskyiIntentiq <[email protected]> Co-authored-by: DimaIntentIQ <[email protected]> Co-authored-by: Eyvaz <[email protected]> * fix for window.inner... (#13057) * Prebid 9.42.0 release * Increment version to 9.43.0-pre * Add OpaMarketplace Bidder Adapter (#13010) * blue Bid Adapter : implement onBidWon pixel triggers (#12790) * feat(blue-adapter): implement onBidWon pixel triggers * wip * chore: update test * Trigger pipeline * wip * Add Omnidex Bid Adapter implementation (#13050) * sspBC Bid Adapter : fix floor price currency (#13064) * Update tests for sspBC adapter Update tests for sspBC adapter: - change userSync test (due to tcf param appended in v4.6) - add tests for onBidWon and onTimeout * [sspbc-adapter] 5.3 updates: content-type for notifications * [sspbc-adapter] pass CTA to native bid * [sspbc-5.3] keep pbsize for detected adunits * [maintenance] - remove old test for sspBc bid adaptor * [sspbc-5.3] increment adaptor ver * [sspbc-adapter] maintenance update to sspBCBidAdapter * remove yarn.lock * Delete package-lock.json * remove package-lock.jsonfrom pull request * [sspbc-adapter] send pageViewId in request * [sspbc-adapter] update pageViewId test * [sspbc-adapter] add viewabiility tracker to native ads * [sspbc-adapter] add support for bid.admNative property * [sspbc-adapter] ensure that placement id length is always 3 (improves matching response to request) * [sspbc-adapter] read publisher id and custom ad label, then send them to banner creative * [sspbc-adapter] adlabel and pubid are set as empty strings, if not present in bid response * [sspbc-adapter] jstracker data fix * [sspbc-adapter] jstracker data fix * [sspbc-adapter] send tagid in notifications * [sspbc-adapter] add gvlid to spec; prepare getUserSyncs for iframe + image sync * update remote repo * cleanup of grupawp/prebid master branch * update sspBC adapter to v 5.9 * update tests for sspBC bid adapter * [sspbc-adapter] add support for topicsFPD module * [sspbc-adapter] change topic segment ids to int * sspbc adapter -> update to v6 * [WPPAR-6432] fix in floor price currency * [WPPAR-6432] remove tcid test * adapter version up * lint fix --------- Co-authored-by: wojciech-bialy-wpm <[email protected]> Co-authored-by: Wojciech Biały <[email protected]> Co-authored-by: Wojciech Biały <[email protected]> * Core: allow for splitting bid requests on pbsHost (#13061) * pbsHost feature fix * Update adapterManager_spec.js --------- Co-authored-by: Michael Moschovas <[email protected]> Co-authored-by: Patrick McCann <[email protected]> * Nexx360 Bid Adapter: spm alias added (#13065) * IAS RTD Module: allow iasRtdProvider to store fetched data (#13059) * merge response with previous targeting data * renaming and lint fix * add unit test * Core: eliminate Array.from polyfill use (#13052) * Update config.js * Update adpod.js * Update mediakeysBidAdapter.js * Update polyfill.js * Update config.js * Update opaMarketplaceBidAdapter_spec.js: fix flaky syncing tests (#13070) * Update opaMarketplaceBidAdapter_spec.js * Update opaMarketplaceBidAdapter_spec.js * Update opaMarketplaceBidAdapter_spec.js * Update omnidexBidAdapter_spec.js * simplify setup/teardown * Update omnidexBidAdapter_spec.js * Update opaMarketplaceBidAdapter_spec.js * Reset config on the rest of the clone army --------- Co-authored-by: Demetrio Girardi <[email protected]> * Update Proxistore endpoint URLs in adapter and tests (#13083) Updated the Proxistore `COOKIE_BASE_URL` and `COOKIE_LESS_URL` to the new `abs` domain in both the adapter and its corresponding test file. This ensures consistency with the updated API endpoints. Co-authored-by: Anthony Richir <[email protected]> * Ogury Adapter - reintroduce previous BID_WON logic to avoid some discrepancies (#13080) * Logicad Bid Adapter: Add schain support (#13077) * Goldbach Bid Adapter : added gdpr signals to cookiesync (#13078) * Goldbach bidder: added gdpr signals to cookiesync * Goldbach Bidder: adjusted params for purpose 1 consent in test * Nexx360 Bid Adapter: bidstailamedia alias added (#13067) * TTD: remove imp.video overwrite (#13085) * Build system: wait for DOM to load before starting tests (#13089) * Core: fix bug with cached VAST URLs (#13088) * Taboola User Id Sub-Module: release (#13093) * new taboola user-id module * fix comments * revert bid adapter change * minor taboolaIdSystem.md text change * added should skip sync configuration * fix md file comment * remove eslint comments * Bidglass Bid Adapter : remove params.adUnitId numeric requirement (#13091) * Added bidglass adapter + test * PR Review Updates: - Added formal params to getUserSyncs function definition - getUserSyncs now always returns an array - Improved unit test coverage * PR Review Updates: - Removed unused methods: getUserSyncs, onTimeout, onBidWon, onSetTargeting - Removed getUserSyncs unit test - Removed "dead code" - Removed some unnecessary comments - Fixed usage of parseInt * Bid Glass Bid Adapter: pass options in bid request * Merge externally set targeting params * Updates to address gulp errors * Get `bidglass` reference from window * Add support for meta.advertiserDomains * Remove numeric requirement for params.adUnitId * init (#13098) * Core: allow routing to specific s2s instances (#13074) * Revert "Core: allow for splitting bid requests on pbsHost (#13061)" This reverts commit f004f1126221fd69e0802c8361bd68d8f08aaf37. * fix s2sConfig name/configName mixup * refactor s2sTesting to let core match bidders to s2s configs * Allow routing to specific s2s configs with s2sConfigName * Yandex Bid Adapter : Bid handler changed (#13096) * ortbConverter: prepend nurl to creative markup (#13081) * Nexx360 Bid Adapter: scoremedia alias added (#13102) * 8538: add video media type support to mediaforce bid adapter (#13101) Co-authored-by: Dmitry Moskalyov <[email protected]>…
1 parent 7abc7b1 commit 48d6abf

File tree

161 files changed

+13770
-10305
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+13770
-10305
lines changed

PR_REVIEW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ General gulp commands include separate commands for serving the codebase on a bu
1414
- A page will open which provides a hub for common reviewer tools.
1515
- If you need to manually access the tools:
1616
- Navigate to build/coverage/lcov-report/index.html to view coverage
17-
- Navigate to integrationExamples/gpt/hellow_world.html for basic integration testing
17+
- Navigate to integrationExamples/gpt/hello_world.html for basic integration testing
1818
- The hello_world.html and other examples can be edited and used as needed to verify functionality
1919

2020
### General PR review Process

gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,8 @@ gulp.task('coveralls', gulp.series('test-coverage', coveralls));
547547

548548
// npm will by default use .gitignore, so create an .npmignore that is a copy of it except it includes "dist"
549549
gulp.task('setup-npmignore', run("sed 's/^\\/\\?dist\\/\\?$//g;w .npmignore' .gitignore", {quiet: true}));
550-
gulp.task('build', gulp.series(clean, 'build-bundle-prod', updateCreativeExample, setupDist, 'setup-npmignore'));
550+
gulp.task('build', gulp.series(clean, 'build-bundle-prod', updateCreativeExample, setupDist));
551+
gulp.task('build-release', gulp.series('build', 'setup-npmignore'));
551552
gulp.task('build-postbid', gulp.series(escapePostbidConfig, buildPostbid));
552553

553554
gulp.task('serve', gulp.series(clean, lint, gulp.parallel('build-bundle-dev', watch, test)));
Lines changed: 379 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,379 @@
1+
<!-- each id module, for it to work, needs to be embedded in prebid.js bundle -->
2+
<!-- see https://docs.prebid.org/dev-docs/modules/userId.html -->
3+
4+
<!-- for publisher to provide their own IDs, they can use the pubProvidedIdSystem module -->
5+
<!-- see https://docs.prebid.org/dev-docs/modules/userid-submodules/pubprovided.html -->
6+
7+
<!-- this file can be tested with -->
8+
<!-- gulp serve --notest --modules=rtdModule,raveltechRtdProvider,appnexusBidAdapter,userId -->
9+
10+
<!DOCTYPE html>
11+
<html lang="en">
12+
13+
<head>
14+
<title>User ID Modules Example</title>
15+
16+
<script>
17+
var FAILSAFE_TIMEOUT = 2000;
18+
19+
var adUnits = [
20+
{
21+
code: 'test-div',
22+
mediaTypes: {
23+
banner: {
24+
sizes: [[300, 250], [300, 600], [728, 90]]
25+
}
26+
},
27+
bids: [
28+
{
29+
bidder: 'appnexus',
30+
params: {
31+
placementId: 234234,
32+
}
33+
}
34+
]
35+
}
36+
];
37+
38+
var pbjs = pbjs || {};
39+
pbjs.que = pbjs.que || [];
40+
</script>
41+
<script async src="https://cdn.rvlproxy.net/latest/zkad.js"></script>
42+
<script async src="../../build/dev/prebid.js"></script>
43+
44+
<script>
45+
function getHashedEmail() { }
46+
var googletag = googletag || {};
47+
googletag.cmd = googletag.cmd || [];
48+
googletag.cmd.push(function () {
49+
googletag.pubads().disableInitialLoad();
50+
});
51+
52+
pbjs.que.push(function () {
53+
pbjs.setConfig({
54+
"debug": true,
55+
56+
"realTimeData": {
57+
dataProviders: [{
58+
name: 'raveltech',
59+
params: {
60+
bidders: ['appnexus'],
61+
// Set to true if you want to keep the original bid request along with the RTD‐modified one.
62+
preserveOriginalBid: false
63+
}
64+
}]
65+
},
66+
67+
// *************************************************************************
68+
// ** COMMENT consentManagement BLOCK IF YOU DO NOT WANT TO SIMULATE GDPR **
69+
// *************************************************************************
70+
"consentManagement": {
71+
"cmpApi": "static",
72+
"consentData": {
73+
"getTCData": {
74+
"tcString": "CO-HDlqO-HDlqAKAXCENBDCsAP_AAH_AACiQHKNd_X_fb39j-_59_9t0eY1f9_7_v20zjgeds-8Nyd_X_L8X42M7vF36pq4KuR4Eu3LBIQFlHOHcTUmw6IkVqTPsak2Mr7NKJ7PEinMbe2dYGHtfn9VTuZKYr97s___z__-__v__75f_r-3_3_vp9V---_fA5QAkw1L4CLMSxwJJo0qhRAhCuJDoAQAUUIwtE1hASuCnZXAR-ggYAIDUBGBECDEFGLIIAAAAAkoiAkAPBAIgCIBAACAFSAhAARoAgsAJAwCAAUA0LACKAIQJCDI4KjlMCAiRaKCeSMASi72MMIQyigBoFH4AAAAA.cAAAAAAAAAAA",
75+
"cmpId": 10,
76+
"cmpVersion": 23,
77+
"tcfPolicyVersion": 2,
78+
"gdprApplies": true,
79+
"cmpStatus": "loaded",
80+
"eventStatus": "tcloaded",
81+
"purpose": {
82+
"consents": {
83+
"1": true,
84+
"2": true
85+
}
86+
},
87+
"vendor": {
88+
"consents": {
89+
// add your GVL ID here and set to true to give consent within pbjs
90+
"52": true, // rubicon for adserving
91+
"21": true, // unifiedId
92+
"131": true, // id5Id
93+
"929": true, // parrableId
94+
"97": true, // identityLink
95+
"887": true, // uid2
96+
"95": true, // lotamePanoramaId
97+
"301": true, // zeotapIdPlus
98+
"91": true, // criteo
99+
"737": true, // amxId
100+
"58": true, // 33acrossId
101+
"32": true, // Appnexus (as well as for raveltech)
102+
}
103+
}
104+
}
105+
}
106+
},
107+
"userSync": {
108+
"userIds": [
109+
{
110+
"name": "pubProvidedId",
111+
"params": {
112+
"eids": [
113+
{
114+
"source": "adnxs.com",
115+
"uids": [
116+
{
117+
"id": "123456",
118+
"atype": 1,
119+
"ext": {
120+
"stype": "ppuid" // allowable options are sha256email, DMP, ppuid for now
121+
}
122+
}
123+
]
124+
},
125+
{
126+
"source": "weborama_fr",
127+
"uids": [
128+
{
129+
"id": "654321",
130+
"atype": 1,
131+
"ext": {
132+
"stype": "ppuid" // allowable options are sha256email, DMP, ppuid for now
133+
}
134+
}
135+
]
136+
},
137+
138+
],
139+
"eidsFunction": getHashedEmail // any user defined function that exists in the page
140+
}
141+
},
142+
{
143+
"name": "unifiedId",
144+
"params": {
145+
"partner": "prebid",
146+
"url": "http://match.adsrvr.org/track/rid?ttd_pid=prebid&fmt=json"
147+
},
148+
"storage": {
149+
"type": "html5",
150+
"name": "unifiedid",
151+
"expires": 30
152+
}
153+
},
154+
{
155+
"name": "33acrossId",
156+
"params": {
157+
"pid": '0'
158+
},
159+
"storage": {
160+
"type": 'html5',
161+
"name": '33acrossId',
162+
"expires": 90
163+
}
164+
},
165+
{
166+
"name": "intentIqId",
167+
"params": {
168+
"partner": 0 // Set your real IntentIQ partner ID here for production.
169+
},
170+
"storage": {
171+
"type": "cookie",
172+
"name": "intentIqId",
173+
"expires": 30
174+
}
175+
},
176+
{
177+
"name": "id5Id",
178+
"params": {
179+
"partner": 173 // Set your real ID5 partner ID here for production, please ask for one at http://id5.io/prebid
180+
},
181+
"storage": {
182+
"type": "html5",
183+
"name": "id5id",
184+
"expires": 90,
185+
"refreshInSeconds": 10// 8*3600 // Refresh frequency of cookies
186+
}
187+
},
188+
{
189+
"name": "merkleId",
190+
"params": {
191+
"endpoint": "https://test_endpoint/",
192+
"vendor": "sdfg",
193+
"sv_cid": "dfg",
194+
"sv_pubid": "xcv",
195+
"sv_domain": "zxv"
196+
},
197+
"storage": {
198+
"type": "html5",
199+
"name": "merkleId",
200+
"expires": 30
201+
}
202+
},
203+
{
204+
"name": "parrableId",
205+
"params": {
206+
// change to Parrable Partner Client ID(s) you received from the Parrable Partners you are using
207+
"partner": "30182847-e426-4ff9-b2b5-9ca1324ea09b"
208+
}
209+
},
210+
{
211+
"name": "pubCommonId",
212+
"storage": {
213+
"type": "cookie",
214+
"name": "pubcid",
215+
"expires": 365
216+
}
217+
// value: {
218+
// foo: '9879878907987',
219+
// bar:'93939'
220+
// }
221+
},
222+
{
223+
"name": "identityLink",
224+
"params": {
225+
"pid": "14" // Set your real identityLink placement ID here
226+
// use3P: false // true/false - If you want to use 3P endpoint to retrieve envelope. If you do not set this property to true, 3p endpoint will not be fired. By default this property is undefined and 3p request will not be fired.
227+
},
228+
"storage": {
229+
"type": "cookie",
230+
"name": "idl_env",
231+
"expires": 30
232+
}
233+
},
234+
{
235+
"name": "lotamePanoramaId"
236+
},
237+
{
238+
"name": "liveIntentId",
239+
"params": {
240+
"publisherId": "9896876"
241+
},
242+
"storage": {
243+
"type": "cookie",
244+
"name": "_li_pbid",
245+
"expires": 28
246+
}
247+
},
248+
{
249+
"name": "zeotapIdPlus"
250+
},
251+
{
252+
"name": "hadronId",
253+
"storage": {
254+
"type": "cookie",
255+
"name": "hadronId",
256+
"expires": 28
257+
}
258+
},
259+
{
260+
"name": "quantcastId"
261+
},
262+
{
263+
"name": "criteo"
264+
},
265+
{
266+
"name": "amxId",
267+
"storage": {
268+
"type": "html5",
269+
"name": "amxId",
270+
"expires": 14
271+
}
272+
},
273+
{
274+
"name": "uid2",
275+
"params": {
276+
"uid2Token": {
277+
"advertising_token": "example token",
278+
"refresh_token": "aslkdjaslkjdaslkhj",
279+
"identity_expires": Date.now() + 60*1000,
280+
"refresh_from": Date.now() - 10*1000,
281+
"refresh_expires": Date.now() + 12*60*60*1000,
282+
"refresh_response_key": null
283+
}
284+
}
285+
},
286+
{
287+
"name": "euid",
288+
"params": {
289+
"euidApiBase": "https://integ.euid.eu", // Omit this setting for production
290+
"euidToken": {
291+
"advertising_token": "advertising token goes here",
292+
"refresh_token": "refresh token goes here",
293+
"identity_expires": Date.now() + 60*1000, // These timestamps should be from the token generate response
294+
"refresh_from": Date.now() - 10*1000,
295+
"refresh_expires": Date.now() + 12*60*60*1000,
296+
"refresh_response_key": "refresh key goes here"
297+
}
298+
}
299+
},
300+
{
301+
"name": "imuid",
302+
"params": {
303+
"cid": 5126 // Set your Intimate Merger Customer ID here for production
304+
}
305+
},
306+
{
307+
"name": "dacId"
308+
},
309+
{
310+
"name": "gravitompId"
311+
}
312+
],
313+
"syncDelay": 5000,
314+
"auctionDelay": 1000
315+
}
316+
});
317+
pbjs.addAdUnits(adUnits);
318+
pbjs.requestBids({
319+
bidsBackHandler: sendAdserverRequest
320+
});
321+
});
322+
323+
function sendAdserverRequest() {
324+
if (pbjs.adserverRequestSent) return;
325+
pbjs.adserverRequestSent = true;
326+
googletag.cmd.push(function () {
327+
pbjs.que.push(function () {
328+
pbjs.setTargetingForGPTAsync();
329+
googletag.pubads().refresh();
330+
});
331+
});
332+
}
333+
334+
setTimeout(function () {
335+
sendAdserverRequest();
336+
}, FAILSAFE_TIMEOUT);
337+
</script>
338+
339+
<script>
340+
(function () {
341+
var gads = document.createElement('script');
342+
gads.async = true;
343+
gads.type = 'text/javascript';
344+
gads.src = 'https://securepubads.g.doubleclick.net/tag/js/gpt.js';
345+
var node = document.getElementsByTagName('script')[0];
346+
node.parentNode.insertBefore(gads, node);
347+
})();
348+
</script>
349+
350+
<script>
351+
googletag.cmd.push(function () {
352+
googletag.defineSlot('/112115922/FL_PB_MedRect', [[300, 250], [300, 600], [728, 90]], 'test-div').addService(googletag.pubads());
353+
googletag.pubads().enableSingleRequest();
354+
googletag.enableServices();
355+
});
356+
</script>
357+
</head>
358+
359+
<body>
360+
<h2>User ID Modules Example</h2>
361+
362+
<h4>Generated EIDs</h4>
363+
<script>
364+
pbjs.que.push(function () {
365+
var idsDiv = document.getElementById('ids-div');
366+
idsDiv.innerHTML = JSON.stringify(pbjs.getUserIdsAsEids(), null, ' ');
367+
});
368+
</script>
369+
<pre id="ids-div" style="border:1px solid #333; padding:5px; overflow: scroll"></pre>
370+
371+
<h4>Ad Slot</h4>
372+
<div id="test-div" style="border:1px solid #333; padding:5px;">
373+
<script>
374+
googletag.cmd.push(function () { googletag.display('test-div'); });
375+
</script>
376+
</div>
377+
</body>
378+
379+
</html>

0 commit comments

Comments
 (0)