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

AndBeyond.Media adapter: rename bidder #2408

Merged
merged 12 commits into from
Oct 18, 2022
Merged

Conversation

AndBeyondMediaHB
Copy link
Contributor

No description provided.

Copy link
Contributor

@SyntaxNode SyntaxNode left a comment

Choose a reason for hiding this comment

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

Please also update GetDisabledBiddersErrorMessages in adapter_util.go to include your original. bidder name, otherwise publishers currently using your older adapter name will receive errors.

You may also wish to ad "andbeyondmedia" as an alias of your new name to allow for a transition period.

@@ -1,4 +1,3 @@
endpoint: "http://backend.andbeyond.media/pserver"
Copy link
Contributor

Choose a reason for hiding this comment

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

The endpoint is required, unless if you want to change the adapter to be disabled by default.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@SyntaxNode Thanks, updated

@AndBeyondMediaHB
Copy link
Contributor Author

Please also update GetDisabledBiddersErrorMessages in adapter_util.go to include your original. bidder name, otherwise publishers currently using your older adapter name will receive errors.

You may also wish to ad "andbeyondmedia" as an alias of your new name to allow for a transition period.

no one is integrated with the old adapter name at the moment. We are not interested in the old name.

@bsardo bsardo requested a review from guscarreon October 10, 2022 17:31
@bsardo bsardo self-requested a review October 12, 2022 17:35
@bsardo bsardo assigned bsardo and unassigned SyntaxNode Oct 12, 2022
Copy link
Collaborator

@bsardo bsardo left a comment

Choose a reason for hiding this comment

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

I see references to the andbeyond subdomain in static/bidder-info/beyondmedia.yaml and various test files in your adapter directory. Is that subdomain accurate? I'm less concerned about the test files, though I think you should probably update them to fake uris. especially if the subdomain is no longer valid as it can be misleading.

Also you have a couple of references to AndBeyond in static/bidder-params/beyondmedia.json.

And to confirm, no one has ever integrated with your adapter yet? I just want to make sure we don't need to add AndBeyond to the disabled bidders error list.

Thanks

@SyntaxNode
Copy link
Contributor

no one is integrated with the old adapter name at the moment. We are not interested in the old name.

That's fine. There's no need to use an alias to keep it active. I do ask that you make the change in adapter_util.go to avoid breaking any edge case publishers. This change is not an alias. It just gracefully provides an error indicating the name change. We ask the same for all adapters and you'll see a few entries already.

@AndBeyondMediaHB
Copy link
Contributor Author

no one is integrated with the old adapter name at the moment. We are not interested in the old name.

That's fine. There's no need to use an alias to keep it active. I do ask that you make the change in adapter_util.go to avoid breaking any edge case publishers. This change is not an alias. It just gracefully provides an error indicating the name change. We ask the same for all adapters and you'll see a few entries already.

@SyntaxNode done

@AndBeyondMediaHB
Copy link
Contributor Author

I see references to the andbeyond subdomain in static/bidder-info/beyondmedia.yaml and various test files in your adapter directory. Is that subdomain accurate? I'm less concerned about the test files, though I think you should probably update them to fake uris. especially if the subdomain is no longer valid as it can be misleading.

Also you have a couple of references to AndBeyond in static/bidder-params/beyondmedia.json.

And to confirm, no one has ever integrated with your adapter yet? I just want to make sure we don't need to add AndBeyond to the disabled bidders error list.

Thanks

@bsardo endpoint http://backend.andbeyond.media/pserver with domain backend.andbeyond.media is valid and AndBeyond.Media is the actual name. We also updated disabledBidders

@AndBeyondMediaHB AndBeyondMediaHB requested review from SyntaxNode and bsardo and removed request for guscarreon and SyntaxNode October 13, 2022 08:55
@AndBeyondMediaHB AndBeyondMediaHB requested review from SyntaxNode and removed request for bsardo October 13, 2022 08:55
Copy link
Collaborator

@bsardo bsardo left a comment

Choose a reason for hiding this comment

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

LGTM

@SyntaxNode
Copy link
Contributor

@AndBeyondMediaHB Looks good to us. There is a merge conflict. Please resolve the conflict and we'll merge it in.

@bsardo
Copy link
Collaborator

bsardo commented Oct 17, 2022

@AndBeyondMediaHB this looks good. Could you please open a docs PR and then we can merge. Thanks!

@AndBeyondMediaHB
Copy link
Contributor Author

@bsardo I don't quite understand you. Do you mean this pull request?

@bsardo
Copy link
Collaborator

bsardo commented Oct 18, 2022

@AndBeyondMediaHB my mistake. I see that the docs are accurate, particularly the biddercode field is correct.

@bsardo bsardo merged commit 32f88e3 into prebid:master Oct 18, 2022
shunj-nb pushed a commit to ParticleMedia/prebid-server that referenced this pull request Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants