You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* InsurAds Rtd Provider
* Update Example with Rtd config
* Enrich the slot with targeting
* Wait for context before executing the callback
* Remove import not in use
* Remove changes that are not needed anymore on interpretResponse and import it directly
* Update test/spec/modules/insuradsRtdProvider_spec.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Clear keyvalues on non-ok responses
* Initialize api call promise as resolved as per suggestion
Promise.race([apiCallPromise, timeoutPromise]) will resolve immediately if apiCallPromise is still null/undefined (race treats non-Promise values as already-resolved). To ensure the intended behavior, default it to a resolved Promise (or initialize apiCallPromise in module scope) before racing.
* Update test/spec/modules/insuradsRtdProvider_spec.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Clear keyValues on error or empty responses
* Remove tests on functions that doesn't exist anymore
* Fix module name
* Improve rtdData handling
* Remove tests not needed
* Fix tests to match updated rtcData location
* Fix failing tests
* InsurAds RTD Provider: Register in parentModules map and standardize naming
- Add insuradsRtdProvider to parentModules.rtdModule in modules/.submodules.json
- Rename module from insurAdsRtdProvider to insuradsRtdProvider for consistency
- Rename file from insurAdsRtdProvider.ts to insuradsRtdProvider.ts
- Update export and references in module and test files
* InsurAds Bid Adapter: Replace any type with AdapterRequest in getRtdTargetingFromRequest
* InsurAds RTD Provider: Remove keepalive option from fetch request
* InsurAds RTD Provider: Remove hardcoded credentials to honor privacy consent
* InsurAds RTD Provider: Fix unit test expectations for fetch options
* InsurAds RTD Provider: type config and validate publicId
* align docs with bidder-only enrichment
* Update test/spec/modules/insuradsBidAdapter_spec.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* make async test deterministic
* Update modules/insuradsBidAdapter.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update test/spec/modules/insuradsRtdProvider_spec.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* document params.timeout
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
| name | String | Real time data module name | Always 'insuradsRtd' |
39
+
| waitForIt | Boolean | When true, delays the auction until this provider calls back (bounded by `auctionDelay` / `params.timeout`) | Optional. Defaults to false |
40
+
| params | Object |||
41
+
| params.publicId | String | This is the Public ID value obtained from InsurAds | Required |
42
+
| params.timeout | Number | Max time (ms) to wait for the InsurAds API response before continuing the auction without enrichment | Optional. Defaults to 1000 |
0 commit comments