-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMX Bid Adapter : remove hardcoded, depricated fields, cast sync settings, add configuration data #12234
base: master
Are you sure you want to change the base?
Conversation
…ct type, add configuration metadata
@@ -17,7 +17,7 @@ This module connects web publishers to AMX RTB video and display demand. | |||
| Key | Required | Example | Description | | |||
| --- | -------- | ------- | ----------- | | |||
| `testMode` | no | `true` | this will activate test mode / 100% fill with sample ads | | |||
| `tagId` | no | `"cHJlYmlkLm9yZw"` | can be used for more specific targeting of inventory. Your account manager will provide this ID if needed | | |||
| `tagId` | yes | `"cHJlYmlkLm9yZw"` | can be used for more specific targeting of inventory. Your account manager will provide this ID if needed | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
making this required appears to be breaking?
@@ -111,6 +93,24 @@ function createBidMap(bids) { | |||
return out; | |||
} | |||
|
|||
function ensureNumber(value, defaultValue) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this be generaly useful? perhaps import it from somewhere others can access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple of tweaks
Type of change
Bugfix
Feature
New bidder adapter
Updated bidder adapter
Code style update (formatting, local variables)
Refactoring (no functional changes, no api changes)
Build related changes
CI related changes
Does this change affect user-facing APIs or examples documented on http://prebid.org?
Other
Description of change
This update removes some deprecated and hardcoded fields, casts sync settings to correct (numeric) types to correct for unexpected input, and attaches some configuration settings to the request to provide additional context about the page.
Updated documentation:
tagId
parameter is required. The documentation file here now matches the docs (which already hadtagId
as required)