-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Impactify Bid Adapter : add different mediatypes and manage local sto…
…rage (#10601) * Remove use of local storage As requested, we remove the use of local storage. #8689 * Update impactifyBidAdapter.js * Add differents mediatypes to Impactify bidder * Add differents mediatypes to Impactify bidder * Add differents mediatypes to Impactify bidder * Add format parameter for banner * add getFloor * add getFloor * add getFloor * add parsing of local storage * delete unused var * fix spacing with import * Add local storage key management * Adjustments * Fix eids object * Fix eids object * Fix eids object * Fix tests --------- Co-authored-by: Thomas De Stefano <[email protected]> Co-authored-by: Pang Ronnie <[email protected]>
- Loading branch information
1 parent
0e61728
commit 5bea607
Showing
3 changed files
with
342 additions
and
81 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
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 |
---|---|---|
|
@@ -10,14 +10,22 @@ Maintainer: [email protected] | |
|
||
Module that connects to the Impactify solution. | ||
The impactify bidder need 3 parameters: | ||
- appId : This is your unique publisher identifier | ||
- format : This is the ad format needed, can be : screen or display | ||
- style : This is the ad style needed, can be : inline, impact or static | ||
- appId : This is your unique publisher identifier | ||
- format : This is the ad format needed, can be : screen or display (Only for video media type) | ||
- style : This is the ad style needed, can be : inline, impact or static (Only for video media type) | ||
|
||
Note : Impactify adapter need storage access to work properly (Do not forget to set storageAllowed to true). | ||
|
||
# Test Parameters | ||
``` | ||
var adUnits = [{ | ||
code: 'your-slot-div-id', // This is your slot div id | ||
pbjs.bidderSettings = { | ||
impactify: { | ||
storageAllowed: true // Mandatory | ||
} | ||
}; | ||
var adUnitsVideo = [{ | ||
code: 'your-slot-div-id-video', // This is your slot div id | ||
mediaTypes: { | ||
video: { | ||
context: 'outstream' | ||
|
@@ -32,4 +40,24 @@ The impactify bidder need 3 parameters: | |
} | ||
}] | ||
}]; | ||
var adUnitsBanner = [{ | ||
code: 'your-slot-div-id-banner', // This is your slot div id | ||
mediaTypes: { | ||
banner: { | ||
sizes: [ | ||
[728, 90] | ||
] | ||
} | ||
}, | ||
bids: [{ | ||
bidder: 'impactify', | ||
params: { | ||
appId: 'example.com', | ||
format: 'display', | ||
size: '728x90', | ||
style: 'static' | ||
} | ||
}] | ||
}]; | ||
``` |
Oops, something went wrong.