Skip to content

Commit

Permalink
Nativo Bid Adapter : refresh increment logic change (#7569)
Browse files Browse the repository at this point in the history
* Initial nativoBidAdapter document creation (js, md and spec)

* Fulling working prebid using nativoBidAdapter. Support for GDPR and CCPA in user syncs.

* Added defult size settings based on the largest ad unit. Added response body validation. Added consent to request url qs params.

* Changed bidder endpoint url

* Changed double quotes to single quotes.

* Reverted package-json.lock to remove modifications from PR

* Added optional bidder param 'url' so the ad server can force- match an existing placement

* Lint fix. Added space after if.

* Added new QS param to send various adUnit data to adapter endpopint

* Updated unit test for new QS param

* Added qs param to keep track of ad unit refreshes

* Updated bidMap key default value

* Updated refresh increment logic

Co-authored-by: Joshua Fledderjohn <jfledderjohn@nativo.com>
  • Loading branch information
jsfledd and jsfledd authored Oct 13, 2021
1 parent cf2395e commit c514d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/nativoBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const spec = {
// Track if we've already requested for this ad unit code
adUnitsRequested[adUnit.adUnitCode] =
adUnitsRequested[adUnit.adUnitCode] !== undefined
? adUnitsRequested[adUnit.adUnitCode]++
? adUnitsRequested[adUnit.adUnitCode] + 1
: 0
return {
adUnitCode: adUnit.adUnitCode,
Expand Down

0 comments on commit c514d20

Please sign in to comment.