Skip to content

Commit 6cfe4cc

Browse files
justinkuo-appierPCMan-Appieryuanhung-huang-appierkd-appiergocreating-appier
authored
Appier: add support for aliases (prebid#5392)
* Add initial partial implementation for Appier bidder adapter. * Use relative protocol for bidder API url. * Handle server response for Appier adapter and add related unit tests. * Support farm-specific prebid server and allow overriding the server with setConfig(). * Add doc for Appier bid adapter. * Fix const correctness. * Append requestId to the beacon image URL of Appier adapter to reduce the risks of being cached by proxy servers or browsers. * Send bidderRequest.refererInfo to Appier bidder server. * Remove the show beacon since now we generate it in the backend server. * Only generate a show beacon url if it's not provided by the backend. * Add version information for Appier adapter using semver (starts from 1.0.0). * Add a new adapter for Appier bidder. * Add a new adapter for Appier bidder. * add appier analyticsAdapter skeleton. * update initial working version. * refactor and remove debug messages. * fix config checking logic. * implement bidAdjustment and add timeout before send event. * unify cache operation into cacheManager to avoid direct key/value operation. * Update server name. * correct currency impl and message payload. remove unused debug messages. * update var naming. * rename creative vars. cleanup comments. * add test cases for AnalyticsAdapter. * update test specs file. * remove spec from main branch. * add unit tests for AnalyticsAdapter, #1 - Happy cases. * refactor tests. * update unit tests for AnalyticsAdapter. * add tests for bid-adjusted, bid-timeout events * fix bid adjustment test case. * add nobid case in analytics unit test. * add test case for delayed bids and prebidWon messages. * Use logInfo and logError utilility functions instead of console.log() to print debug messages. * handle timeout status message correctly. * correct isTimeout setting logic and test cases. * replace for...of by array.forEach for IE11 * apply auto formatter. * refactor: extract timeout logic to a helper function * tag analytic version with 0.1.0-beta for iCook release * Re-implement the appier analytics adapter with a simpler design and correctly handle timeouts. * Remove unused variables. * Rename methods to improve consistency. * Code cleanup: rename methods and avoid duplicated code. * Fix wrong bid response data caused by non-deterministic event ordering of prebid.js. * Send bid message immediately on auction end without delay. * add withCredentials in ajax call to get client cookie. * Fix broken unit test for appier analytic adapter. * add prediction id support. * update predictionId/configId format in tests. * Init refined appier analytics testing * hotfix: appier analytics support browserstack bug * feat: add aliases Co-authored-by: Hong Jen-Yee (PCMan) <[email protected]> Co-authored-by: Yuan-Hung Huang <[email protected]> Co-authored-by: kdchang <[email protected]> Co-authored-by: chih-ping-weng <[email protected]>
1 parent 9c47806 commit 6cfe4cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/appierBidAdapter.js

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const BIDDER_API_ENDPOINT = '/v1/prebid/bid';
1616

1717
export const spec = {
1818
code: 'appier',
19+
aliases: ['appierBR', 'appierExt', 'appierGM'],
1920
supportedMediaTypes: SUPPORTED_AD_TYPES,
2021

2122
/**

0 commit comments

Comments
 (0)