Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nickjacob
Copy link
Collaborator

@nickjacob nickjacob commented Sep 12, 2024

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 had tagId as required)

@ChrisHuie ChrisHuie changed the title AMX: remove hardcoded, depricated fields, cast sync settings, add configuration data AMX Bid Adapter : remove hardcoded, depricated fields, cast sync settings, add configuration data Sep 19, 2024
@@ -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 |
Copy link
Collaborator

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) {
Copy link
Collaborator

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

Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of tweaks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants