forked from prebid/prebid.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create module page for anPspParamsConverter module (prebid#5423)
* create module page for anPspParamsConverter module * fix linting error --------- Co-authored-by: Muki Seiler <[email protected]>
- Loading branch information
1 parent
7b8874d
commit 29adbd3
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,26 @@ | ||
--- | ||
layout: page_v2 | ||
page_type: module | ||
title: Module - anPspParamsConverter | ||
description: Formats bid params for AppNexus PSP requests made through Prebid.js. | ||
module_code : apPspParamsConverter | ||
display_name : apPspParamsConverter | ||
enable_download : true | ||
sidebarType : 1 | ||
--- | ||
|
||
# anPspParamsConverter Module | ||
|
||
{:.no_toc} | ||
|
||
This module is a temporary measure for publishers running Prebid.js 9.0+ and using the AppNexus PSP endpoint through their Prebid.js setup. Please ensure to include this module in your builds of Prebid.js 9.0+, otherwise requests to PSP may not complete successfully. | ||
|
||
## Module's Purpose | ||
|
||
This module replicates certain functionality that was previously stored in the appnexusBidAdapter.js file within a function named transformBidParams. | ||
|
||
This transformBidParams was a standard function in all adapters, which helped to change/modify the params and their values to a format that matched the bidder's request structure on the server-side endpoint. In Prebid.js 9.0, this standard function was removed in all adapter files, so that the whole client-side file (eg appnexusBidAdapter.js) wouldn't have to be included in a prebid.js build file that was meant for server-side bidders. | ||
|
||
## How to use the module as a publisher | ||
|
||
There is no setConfig setup needed for this module. Simply include this module in your Prebid.js build file if you plan to make requests to the AppNexus PSP endpoint through Prebid.js. |